mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +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;
|
||||
status = apr_socket_send(sock, buf + wrote, &need);
|
||||
if (status == SWITCH_STATUS_BREAK || status == 730035 || status == 35) {
|
||||
if (++to_count > 10000000) {
|
||||
if (++to_count > 60000) {
|
||||
status = SWITCH_STATUS_FALSE;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user