提交 7b1097e3 authored 作者: Anthony Minessale's avatar Anthony Minessale

lower this socket write timeout to 60 seconds

上级 7403db70
......@@ -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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论