Mercurial > dropbear
diff sysoptions.h @ 1084:2265d7ebfdeb
separate client/server fastopen options
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 29 May 2015 23:19:11 +0800 |
parents | 01eea88963f3 |
children | cc3916a7afd9 |
line wrap: on
line diff
--- a/sysoptions.h Sun May 03 00:00:35 2015 +0800 +++ b/sysoptions.h Fri May 29 23:19:11 2015 +0800 @@ -262,9 +262,12 @@ /* Use this string since some implementations might special-case it */ #define DROPBEAR_KEEPALIVE_STRING "[email protected]" -/* Linux will attempt TCP fast open, falling back if not supported by the kernel */ +/* Linux will attempt TCP fast open, falling back if not supported by the kernel. + * Currently server is enabled but client is disabled by default until there + * is further compatibility testing */ #ifdef __linux__ -#define DROPBEAR_TCP_FAST_OPEN 1 +#define DROPBEAR_SERVER_TCP_FAST_OPEN +/* #define DROPBEAR_CLIENT_TCP_FAST_OPEN */ #endif /* no include guard for this file */