similar fix to 53d17a1312
This commit is contained in:
parent
c181598996
commit
2645113465
|
@ -1 +1 @@
|
|||
Thu Sep 12 00:10:51 CDT 2013
|
||||
Thu Sep 12 16:56:57 CDT 2013
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue