mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 13:28:31 +00:00
similar fix to 53d17a1312
This commit is contained in:
1 parent
5197c726be
commit
378648f2b1
2 files changed
+3
-1
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user