Searched refs:content_length (Results 1 – 11 of 11) sorted by relevance
| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | request.c | 886 con->request.content_length = r; in http_request_parse() 1131 if (con_length_set && con->request.content_length != 0) { in http_request_parse() 1163 if (con->request.content_length > SSIZE_MAX) { in http_request_parse() 1168 "request-size too long:", (off_t) con->request.content_length, "-> 413"); in http_request_parse() 1174 (con->request.content_length >> 10) > srv->srvconf.max_request_size) { in http_request_parse() 1183 "request-size too long:", (off_t) con->request.content_length, "-> 413"); in http_request_parse() 1189 if (con->request.content_length != 0) { in http_request_parse()
|
| H A D | mod_staticfile.c | 171 con->response.content_length = 0; in http_response_parse_range() 309 con->response.content_length += b->used - 1; in http_response_parse_range() 314 con->response.content_length += end - start + 1; in http_response_parse_range() 331 con->response.content_length += b->used - 1; in http_response_parse_range()
|
| H A D | connections.c | 824 con->response.content_length = -1; 873 con->request.content_length = 0; 1068 for (c = cq->first; c && (dst_cq->bytes_in != (off_t)con->request.content_length); c = c->next) { 1071 weWant = con->request.content_length - dst_cq->bytes_in; 1080 if (con->request.content_length > 64 * 1024) { 1162 if (dst_cq->bytes_in + toRead == (off_t)con->request.content_length) { 1176 buffer_prepare_copy(b, con->request.content_length - dst_cq->bytes_in + 1); 1186 if (dst_cq->bytes_in == (off_t)con->request.content_length) {
|
| H A D | base.h | 175 size_t content_length; /* returned by strtoul() */ member 185 off_t content_length; member
|
| H A D | mod_cgi.c | 318 con->response.content_length = strtol(value, NULL, 10); in cgi_response_parse() 933 LI_ltostr(buf, con->request.content_length); in cgi_create_env() 1076 if (con->request.content_length) { in cgi_create_env() 1080 assert(chunkqueue_length(cq) == (off_t)con->request.content_length); in cgi_create_env()
|
| H A D | mod_fastcgi.c | 1922 if (con->request.content_length > 0 && host->mode != FCGI_AUTHORIZER) { in fcgi_create_env() 1926 LI_ltostr(buf, con->request.content_length); in fcgi_create_env() 2050 if (con->request.content_length) { in fcgi_create_env() 2343 con->response.content_length = strtol(value, NULL, 10); in fcgi_response_parse() 2346 if (con->response.content_length < 0) con->response.content_length = 0; in fcgi_response_parse() 2371 con->response.content_length = sendfile2_content_length; in fcgi_response_parse() 2639 con->response.content_length = sce->st.st_size; in fcgi_demux_response()
|
| H A D | mod_status.c | 490 if (c->request.content_length) { in mod_status_handle_server_status_html() 493 buffer_append_long(b, c->request.content_length); in mod_status_handle_server_status_html()
|
| H A D | mod_webdav.c | 1255 if (con->request.content_length) { in URIHANDLER_FUNC() 1501 if (con->request.content_length != 0) { in URIHANDLER_FUNC() 1628 assert(chunkqueue_length(cq) == (off_t)con->request.content_length); in URIHANDLER_FUNC() 2064 if (con->request.content_length) { in URIHANDLER_FUNC() 2220 if (con->request.content_length) { in URIHANDLER_FUNC()
|
| H A D | mod_ssi.c | 284 if (con->request.content_length > 0) { in build_ssi_cgi_vars() 288 LI_ltostr(buf, con->request.content_length); in build_ssi_cgi_vars()
|
| H A D | mod_proxy.c | 490 if (con->request.content_length) { in proxy_create_env() 623 con->response.content_length = strtol(value, NULL, 10); in proxy_response_parse()
|
| H A D | mod_scgi.c | 1474 LI_ltostr(buf, con->request.content_length); in scgi_create_env() 1633 if (con->request.content_length) { in scgi_create_env() 1771 con->response.content_length = strtol(value, NULL, 10); in scgi_response_parse()
|