Lines Matching refs:max_body_size
651 evcon->max_body_size = EV_UINT64_MAX; in evhttp_connection_set_max_body_size()
653 evcon->max_body_size = new_max_body_size; in evhttp_connection_set_max_body_size()
953 if (req->body_size + (size_t)ntoread > req->evcon->max_body_size) { in evhttp_handle_chunked_read()
1094 if (req->body_size > req->evcon->max_body_size || in evhttp_read_body()
1096 (size_t)req->ntoread > req->evcon->max_body_size)) { in evhttp_read_body()
2254 if ((req->evcon->max_body_size <= EV_INT64_MAX) && in evhttp_get_body()
2255 (ev_uint64_t)req->ntoread > req->evcon->max_body_size) { in evhttp_get_body()
2395 evcon->max_body_size = EV_SIZE_MAX; in evhttp_connection_base_bufferevent_new()
3893 evhttp_set_max_body_size(struct evhttp* http, ev_ssize_t max_body_size) in evhttp_set_max_body_size() argument
3895 if (max_body_size < 0) in evhttp_set_max_body_size()
3898 http->default_max_body_size = max_body_size; in evhttp_set_max_body_size()
4261 evcon->max_body_size = http->default_max_body_size; in evhttp_get_request_connection()