]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
lower this socket write timeout to 60 seconds
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 28 Jul 2011 16:20:34 +0000 (11:20 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 28 Jul 2011 16:20:34 +0000 (11:20 -0500)
src/switch_apr.c

index be084fa61d0543e119b96d70d851727aca7a3878..e169e472a81f3c743ebddee43c945b1da893c9a3 100644 (file)
@@ -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;
                        }