| /lighttpd1.4/src/ |
| H A D | mod_echo.c | 54 if (cq->bytes_out == (off_t)r->reqbody_length) { in mod_echo_request_body() 61 if (cq->bytes_in != (off_t)r->reqbody_length && cqlen < 65536 - 16384) { in mod_echo_request_body() 78 if (cq->bytes_in != (off_t)r->reqbody_length) { in SUBREQUEST_FUNC() 90 if (-1 == r->reqbody_length in SUBREQUEST_FUNC() 111 if (cq->bytes_out == (off_t)r->reqbody_length) { in SUBREQUEST_FUNC() 127 if (0 == r->reqbody_length) { in URIHANDLER_FUNC()
|
| H A D | mod_cgi.c | 487 if (r->reqbody_length) { in cgi_process_wr_revents() 768 if (0 == r->reqbody_length) { in cgi_create_env() 802 if (r->reqbody_length <= 1048576 && r->reqbody_length > 0) in cgi_create_env() 810 if (0 == r->reqbody_length) { in cgi_create_env() 842 if (r->reqbody_length < 0) in cgi_create_env() 843 r->reqbody_length = 0; in cgi_create_env() 849 r->reqbody_length = -1; in cgi_create_env() 928 if (0 == r->reqbody_length) { in cgi_create_env() 943 if (0 == r->reqbody_length) { in cgi_create_env() 1014 if (r->reqbody_length in URIHANDLER_FUNC() [all …]
|
| H A D | http_cgi.c | 70 if (r->reqbody_length) { in http_cgi_local_redir() 71 if (r->reqbody_length != r->reqbody_queue.bytes_in) in http_cgi_local_redir() 73 r->reqbody_length = 0; in http_cgi_local_redir() 136 buf, li_itostrn(buf,sizeof(buf),r->reqbody_length)); in http_cgi_headers()
|
| H A D | response.c | 99 } else if (0 != r->reqbody_length in http_response_write_header() 100 && r->reqbody_length != r->reqbody_queue.bytes_in in http_response_write_header() 374 if (__builtin_expect( (r->reqbody_length > 0), 0) in http_response_config() 376 && (off_t)r->reqbody_length > ((off_t)r->conf.max_request_size << 10)) { in http_response_config() 378 "request-size too long: %lld -> 413", (long long) r->reqbody_length); in http_response_config() 900 if (r->reqbody_length) { in http_response_call_error_handler() 901 if (r->reqbody_length != r->reqbody_queue.bytes_in) in http_response_call_error_handler() 903 r->reqbody_length = 0; in http_response_call_error_handler()
|
| H A D | connections.c | 192 if (r->reqbody_length != r->reqbody_queue.bytes_in in connection_handle_response_end_state() 613 h2r->reqbody_length = -1; /*(unnecessary for h2r?)*/ in connection_transition_h2() 999 (0 == r->reqbody_length) in connection_state_machine_loop() 1074 r->reqbody_length = r->reqbody_queue.bytes_in; in connection_revents_err() 1380 if (rr->reqbody_length != rr->reqbody_queue.bytes_in) { in connection_check_timeout() 1732 r->reqbody_length = dst_cq->bytes_in; in connection_handle_read_post_chunked() 1899 else if (r->reqbody_length < 0) { in connection_handle_read_post_state() 1901 handler_t rc = (-1 == r->reqbody_length) in connection_handle_read_post_state() 1908 off_t len = (off_t)r->reqbody_length - dst_cq->bytes_in; in connection_handle_read_post_state() 1909 if (r->reqbody_length <= 64*1024) { in connection_handle_read_post_state() [all …]
|
| H A D | mod_scgi.c | 238 if (r->reqbody_length) { in scgi_create_env() 240 if (r->reqbody_length > 0) in scgi_create_env() 241 hctx->wb_reqlen += r->reqbody_length; /* total req size */ in scgi_create_env()
|
| H A D | mod_proxy.c | 881 if (r->reqbody_length > 0 in proxy_create_env() 882 || (0 == r->reqbody_length in proxy_create_env() 891 r->reqbody_length); in proxy_create_env() 896 else if (-1 == r->reqbody_length in proxy_create_env() 1025 if (r->reqbody_length) { in proxy_create_env() 1026 if (r->reqbody_length > 0) in proxy_create_env() 1027 hctx->gw.wb_reqlen += r->reqbody_length; /* total req size */ in proxy_create_env()
|
| H A D | request.c | 467 if (0 == r->reqbody_length) r->reqbody_length = clen; in http_request_parse_single_header() 490 r->reqbody_length = -1; in http_request_parse_single_header() 1242 if (0 == r->reqbody_length) { in http_request_parse() 1252 if (-1 == r->reqbody_length in http_request_parse() 1328 r->reqbody_length = 0; in http_request_headers_fin()
|
| H A D | h2.c | 432 if (r->reqbody_length == r->reqbody_queue.bytes_in) { in h2_send_refused_stream() 968 if (r->reqbody_length == -1) in h2_recv_end_data() 969 r->reqbody_length = reqbody_queue->bytes_in + (off_t)alen; in h2_recv_end_data() 970 else if (r->reqbody_length != reqbody_queue->bytes_in + (off_t)alen) { in h2_recv_end_data() 1087 if (r->reqbody_length >= 0 && r->reqbody_length < dst->bytes_in + alen) { in h2_recv_data() 1090 alen = r->reqbody_length - dst->bytes_in; in h2_recv_data() 1630 r->reqbody_length = (s[4] & H2_FLAG_END_STREAM) ? 0 : -1; in h2_recv_headers() 1632 else if (r->reqbody_length > 0 && (s[4] & H2_FLAG_END_STREAM)) { in h2_recv_headers() 1640 if (r->reqbody_length /*(see h2_init_con() for session window)*/ in h2_recv_headers() 2971 r->reqbody_length = h2r->reqbody_length; /* currently always 0 */ in h2_con_upgrade_h2c() [all …]
|
| H A D | mod_fastcgi.c | 288 if (r->reqbody_length) { in fcgi_create_env() 290 if (r->reqbody_length > 0) in fcgi_create_env() 291 …hctx->wb_reqlen += r->reqbody_length;/* (eventual) (minimal) total request size, not necessarily i… in fcgi_create_env()
|
| H A D | mod_ajp13.c | 376 li_itostrn(buf, sizeof(buf), r->reqbody_length)); in ajp13_enc_request_headers() 632 if (r->reqbody_length) { in ajp13_create_env() 634 if (r->reqbody_length > 0) in ajp13_create_env() 635 hctx->wb_reqlen += r->reqbody_length; in ajp13_create_env()
|
| H A D | mod_magnet.c | 2348 r->reqbody_length += data.len; in magnet_reqbody_add() 2349 if (r->reqbody_length <= 65536 && !tempfile) in magnet_reqbody_add() 2364 r->reqbody_length += data.len; in magnet_reqbody_add() 2365 if (r->reqbody_length <= 65536 && !tempfile) in magnet_reqbody_add() 2395 if (cq->bytes_in == (off_t)r->reqbody_length) { in magnet_reqbody() 2417 if (cq->bytes_in == (off_t)r->reqbody_length) in magnet_reqbody() 2443 if (cq->bytes_in == (off_t)r->reqbody_length) in magnet_reqbody() 2455 lua_pushinteger(L, r->reqbody_length); in magnet_reqbody() 2462 if (cq->bytes_in == (off_t)r->reqbody_length) { in magnet_reqbody() 2463 r->reqbody_length = 0; in magnet_reqbody()
|
| H A D | request.h | 156 off_t reqbody_length; /* request Content-Length */ member
|
| H A D | reqpool.c | 98 r->reqbody_length = 0; in request_reset()
|
| H A D | mod_status.c | 178 if (r->reqbody_length) { in mod_status_html_rtable_r() 183 buffer_append_int(b, r->reqbody_length); in mod_status_html_rtable_r()
|
| H A D | mod_webdav.c | 4179 if (r->reqbody_length) { in mod_webdav_propfind() 4260 if (r->reqbody_length) { in mod_webdav_propfind() 4629 if (0 == r->reqbody_length) in mod_webdav_put_prep() 5425 if (0 == r->reqbody_length) { in mod_webdav_proppatch() 5639 if (r->reqbody_length) { in mod_webdav_lock() 5705 if (r->reqbody_length) { in mod_webdav_lock() 6062 if (reject_reqbody && r->reqbody_length) { in PHYSICALPATH_FUNC()
|
| H A D | server.c | 525 if (r->reqbody_length < -1) /*(transparent proxy mode; no more data)*/ in server_oneshot_handle_fdevent() 526 r->reqbody_length = r->reqbody_queue.bytes_in; in server_oneshot_handle_fdevent()
|
| H A D | gw_backend.c | 1994 if (r->reqbody_length < 0) { in gw_write_request() 2209 else if (-1 == r->reqbody_length) { in gw_handle_subrequest() 2220 if (hctx->wb_reqlen < -1 && r->reqbody_length >= 0) { in gw_handle_subrequest()
|
| H A D | http-header-glue.c | 698 r->reqbody_length = -2; in http_response_upgrade_read_body_unknown()
|
| H A D | mod_wstunnel.c | 351 if (0 == r->reqbody_length || r->http_version > HTTP_VERSION_1_1) { in wstunnel_create_env()
|
| /lighttpd1.4/src/t/ |
| H A D | test_request.c | 18 r->reqbody_length = 0; in test_request_reset()
|
| /lighttpd1.4/ |
| H A D | NEWS | 1342 * [core] rename content_length to reqbody_length
|