This commit is contained in:
Brian West 2013-09-12 16:56:07 -05:00
parent 5197c726be
commit 378648f2b1
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
Thu Sep 12 00:10:12 CDT 2013
Thu Sep 12 16:55:32 CDT 2013

View File

@ -188,6 +188,8 @@ int tport_tcp_init_secondary(tport_t *self, int socket, int accepted,
self->tp_has_connection = 1;
self->tp_params->tpp_idle = UINT_MAX;
if (setsockopt(socket, SOL_TCP, TCP_NODELAY, (void *)&val, sizeof val) == -1)
return *return_reason = "TCP_NODELAY", -1;