sets the http client request timeout to 2 minutes

This commit is contained in:
Joe Bryan 2018-07-18 13:52:49 -04:00
parent a08dcf8a19
commit 36ae7a5f07

View File

@ -932,8 +932,7 @@ _cttp_init_h2o()
{
h2o_timeout_t* tim_u = c3_malloc(sizeof(*tim_u));
// XX how long? 1 minute?
h2o_timeout_init(u3L, tim_u, 10000);
h2o_timeout_init(u3L, tim_u, 120 * 1000);
h2o_http1client_ctx_t* ctx_u = c3_calloc(sizeof(*ctx_u));
ctx_u->loop = u3L;