mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
similar fix to 53d17a13121cb85d5bf3c260a4d365fefc7ae179
This commit is contained in:
parent
5197c726be
commit
378648f2b1
@ -1 +1 @@
|
|||||||
Thu Sep 12 00:10:12 CDT 2013
|
Thu Sep 12 16:55:32 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_has_connection = 1;
|
||||||
|
|
||||||
|
self->tp_params->tpp_idle = UINT_MAX;
|
||||||
|
|
||||||
if (setsockopt(socket, SOL_TCP, TCP_NODELAY, (void *)&val, sizeof val) == -1)
|
if (setsockopt(socket, SOL_TCP, TCP_NODELAY, (void *)&val, sizeof val) == -1)
|
||||||
return *return_reason = "TCP_NODELAY", -1;
|
return *return_reason = "TCP_NODELAY", -1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user