Cygwin: tcp: Support TCP_USER_TIMEOUT
Use TCP_MAXRTMS on newer systems, TCP_MAXRT on older systems. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -42,6 +42,7 @@ struct wincaps
|
||||
unsigned has_extended_mem_api : 1;
|
||||
unsigned has_tcp_fastopen : 1;
|
||||
unsigned has_linux_tcp_keepalive_sockopts : 1;
|
||||
unsigned has_tcp_maxrtms : 1;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -107,6 +108,7 @@ public:
|
||||
bool IMPLEMENT (has_extended_mem_api)
|
||||
bool IMPLEMENT (has_tcp_fastopen)
|
||||
bool IMPLEMENT (has_linux_tcp_keepalive_sockopts)
|
||||
bool IMPLEMENT (has_tcp_maxrtms)
|
||||
|
||||
void disable_case_sensitive_dirs ()
|
||||
{
|
||||
|
Reference in New Issue
Block a user