lower this socket write timeout to 60 seconds

This commit is contained in:
Anthony Minessale 2011-07-28 11:20:34 -05:00
parent 7403db7005
commit 7b1097e356

View 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;
}