From 7b1097e35692ac4766c222cface258273116b0cb Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 28 Jul 2011 11:20:34 -0500 Subject: [PATCH] lower this socket write timeout to 60 seconds --- src/switch_apr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }