Home
last modified time | relevance | path

Searched refs:wb_reqlen (Results 1 – 6 of 6) sorted by relevance

/lighttpd1.4/src/
H A Dmod_fastcgi.c201 if (-1 != hctx->wb_reqlen) { in fcgi_stdin_append()
202 if (hctx->wb_reqlen >= 0) { in fcgi_stdin_append()
203 hctx->wb_reqlen += sizeof(header); in fcgi_stdin_append()
205 hctx->wb_reqlen -= sizeof(header); in fcgi_stdin_append()
217 if (hctx->wb.bytes_in == hctx->wb_reqlen) { in fcgi_stdin_append()
224 hctx->wb_reqlen += (int)sizeof(header); in fcgi_stdin_append()
284 hctx->wb_reqlen = buffer_clen(b); in fcgi_create_env()
291 …hctx->wb_reqlen += r->reqbody_length;/* (eventual) (minimal) total request size, not necessarily i… in fcgi_create_env()
293 hctx->wb_reqlen = -hctx->wb_reqlen; in fcgi_create_env()
H A Dmod_ajp13.c225 if (-1 != hctx->wb_reqlen) { in ajp13_stdin_append()
226 if (hctx->wb_reqlen >= 0) in ajp13_stdin_append()
227 hctx->wb_reqlen += sizeof(hdr); in ajp13_stdin_append()
229 hctx->wb_reqlen -= sizeof(hdr); in ajp13_stdin_append()
249 if (hctx->wb.bytes_in == hctx->wb_reqlen) { in ajp13_stdin_append_n()
252 hctx->wb_reqlen += sizeof(hdr); in ajp13_stdin_append_n()
630 hctx->wb_reqlen = (off_t)n; in ajp13_create_env()
635 hctx->wb_reqlen += r->reqbody_length; in ajp13_create_env()
639 hctx->wb_reqlen = -hctx->wb_reqlen; in ajp13_create_env()
H A Dmod_scgi.c232 hctx->wb_reqlen = buffer_clen(b) - offset; in scgi_create_env()
241 hctx->wb_reqlen += r->reqbody_length; /* total req size */ in scgi_create_env()
243 hctx->wb_reqlen = -hctx->wb_reqlen; in scgi_create_env()
H A Dmod_proxy.c812 if (-1 != hctx->wb_reqlen) in proxy_stdin_append()
813 hctx->wb_reqlen += (hctx->wb_reqlen >= 0) ? len : -len; in proxy_stdin_append()
824 if (hctx->wb.bytes_in == hctx->wb_reqlen) {/*hctx->r->reqbody_length >= 0*/ in proxy_stdin_append()
827 hctx->wb_reqlen += (int)sizeof("0\r\n\r\n"); in proxy_stdin_append()
1022 hctx->gw.wb_reqlen = buffer_clen(b); in proxy_create_env()
1027 hctx->gw.wb_reqlen += r->reqbody_length; /* total req size */ in proxy_create_env()
1029 hctx->gw.wb_reqlen = -hctx->gw.wb_reqlen; in proxy_create_env()
H A Dgw_backend.c1100 hctx->wb_reqlen = 0; in handler_ctx_init()
1130 hctx->wb_reqlen = 0; in handler_ctx_clear()
1767 hctx->wb_reqlen = -1; in gw_set_transparent()
2045 if (hctx->wb.bytes_out == hctx->wb_reqlen) { in gw_write_request()
2050 if ((hctx->wb.bytes_in < hctx->wb_reqlen || hctx->wb_reqlen < 0) in gw_write_request()
2185 ? (r->state == CON_STATE_READ_POST || -1 == hctx->wb_reqlen) in gw_handle_subrequest()
2186 : (hctx->wb.bytes_in < hctx->wb_reqlen || hctx->wb_reqlen < 0))) { in gw_handle_subrequest()
2220 if (hctx->wb_reqlen < -1 && r->reqbody_length >= 0) { in gw_handle_subrequest()
2222 hctx->wb_reqlen = -hctx->wb_reqlen; in gw_handle_subrequest()
2231 if (0 != hctx->wb.bytes_in || -1 == hctx->wb_reqlen) { in gw_handle_subrequest()
H A Dgw_backend.h310 off_t wb_reqlen; member