Cygwin: tcp: Support TCP_FASTOPEN

TCP_FASTOPEN is supported since W10 1607.  Fake otherwise.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2020-06-30 14:34:19 +02:00
parent e037192b50
commit 0feb77c260
5 changed files with 93 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ struct wincaps
unsigned has_con_broken_il_dl : 1;
unsigned has_con_esc_rep : 1;
unsigned has_extended_mem_api : 1;
unsigned has_tcp_fastopen : 1;
};
};
@@ -103,6 +104,7 @@ public:
bool IMPLEMENT (has_con_broken_il_dl)
bool IMPLEMENT (has_con_esc_rep)
bool IMPLEMENT (has_extended_mem_api)
bool IMPLEMENT (has_tcp_fastopen)
void disable_case_sensitive_dirs ()
{