From: Anthony Minessale Date: Thu, 28 Jul 2011 16:20:34 +0000 (-0500) Subject: lower this socket write timeout to 60 seconds X-Git-Tag: v1.2-rc1~103^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b1097e35692ac4766c222cface258273116b0cb;p=thirdparty%2Ffreeswitch.git lower this socket write timeout to 60 seconds --- diff --git a/src/switch_apr.c b/src/switch_apr.c index be084fa61d..e169e472a8 100644 --- a/src/switch_apr.c +++ b/src/switch_apr.c @@ -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; }