mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 00:41:41 +00:00
lower this socket write timeout to 60 seconds
This commit is contained in:
parent
7403db7005
commit
7b1097e356
@ -706,7 +706,7 @@ SWITCH_DECLARE(switch_status_t) switch_socket_send(switch_socket_t *sock, const
|
|||||||
need = req - wrote;
|
need = req - wrote;
|
||||||
status = apr_socket_send(sock, buf + wrote, &need);
|
status = apr_socket_send(sock, buf + wrote, &need);
|
||||||
if (status == SWITCH_STATUS_BREAK || status == 730035 || status == 35) {
|
if (status == SWITCH_STATUS_BREAK || status == 730035 || status == 35) {
|
||||||
if (++to_count > 10000000) {
|
if (++to_count > 60000) {
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user