Home
last modified time | relevance | path

Searched refs:hdrs (Results 1 – 10 of 10) sorted by relevance

/lighttpd1.4/src/
H A Dmod_fastcgi.c389 buffer *hdrs = hctx->response; in fcgi_recv_parse_loop() local
390 if (NULL == hdrs) { in fcgi_recv_parse_loop()
391 hdrs = r->tmp_buf; in fcgi_recv_parse_loop()
392 buffer_clear(hdrs); in fcgi_recv_parse_loop()
394 fastcgi_get_packet_body(hdrs, hctx, &packet); in fcgi_recv_parse_loop()
395 if (HANDLER_GO_ON != http_response_parse_headers(r, &hctx->opts, hdrs)) { in fcgi_recv_parse_loop()
403 buffer_copy_buffer(hctx->response, hdrs); in fcgi_recv_parse_loop()
H A Dmod_ajp13.c820 buffer *hdrs = hctx->response; in ajp13_recv_parse_loop() local
821 if (NULL == hdrs) { in ajp13_recv_parse_loop()
822 hdrs = r->tmp_buf; in ajp13_recv_parse_loop()
823 buffer_clear(hdrs); in ajp13_recv_parse_loop()
826 ajp13_expand_headers(hdrs, hctx, 4 + plen); in ajp13_recv_parse_loop()
829 http_response_parse_headers(r, &hctx->opts, hdrs)) { in ajp13_recv_parse_loop()
836 buffer_copy_buffer(hctx->response, hdrs); in ajp13_recv_parse_loop()
H A Drequest.c1286 http_request_parse_hoff (request_st * const restrict r, char * const restrict hdrs, const unsigned … in http_request_parse_hoff() argument
1297 status = http_request_parse_reqline(r, hdrs, hoff, http_parseopts); in http_request_parse_hoff()
1300 status = http_request_parse_headers(r, hdrs, hoff, http_parseopts); in http_request_parse_hoff()
1334 http_request_headers_process (request_st * const restrict r, char * const restrict hdrs, const unsi… in http_request_headers_process() argument
1336 r->http_status = http_request_parse_hoff(r, hdrs, hoff, scheme_port); in http_request_headers_process()
1345 hdrs, r->rqst_header_len, "rqst: "); in http_request_headers_process()
H A Dresponse.h43 handler_t http_response_parse_headers(request_st *r, http_response_opts *opts, buffer *hdrs);
H A Dconnections.c745 char * const hdrs = c->mem->ptr + hoff[1]; in connection_handle_read_state() local
763 && hdrs[0]=='P' && hdrs[1]=='R' && hdrs[2]=='I' && hdrs[3]==' ') { in connection_handle_read_state()
771 hdrs, header_len, "fd:%d rqst: ", con->fd); in connection_handle_read_state()
772 http_request_headers_process(r, hdrs, hoff, con->proto_default_port); in connection_handle_read_state()
H A Dh2.c2343 h2_send_headers_block (request_st * const r, connection * const con, const char * const hdrs, const… in h2_send_headers_block() argument
2349 uint32_t rc = http_header_parse_hoff(hdrs, hlen, hoff); in h2_send_headers_block()
2373 if (hdrs[0] == ':') { in h2_send_headers_block()
2379 *(const char **)&lsx.buf = hdrs; in h2_send_headers_block()
2396 const char *k = hdrs + ((i > 1) ? hoff[i] : 0); in h2_send_headers_block()
2397 const char *end = hdrs + hoff[i+1]; in h2_send_headers_block()
2416 *(const char **)&lsx.buf = hdrs; in h2_send_headers_block()
2417 lsx.name_offset = k - hdrs; in h2_send_headers_block()
2419 lsx.val_offset = v - hdrs; in h2_send_headers_block()
2434 h2_send_1xx_block (request_st * const r, connection * const con, const char * const hdrs, const uin… in h2_send_1xx_block() argument
[all …]
H A Drequest.h224 void http_request_headers_process (request_st * restrict r, char * restrict hdrs, const unsigned sh…
/lighttpd1.4/src/t/
H A Dtest_request.c27 char hdrs[1024]; in run_http_request_parse() local
29 assert(reqlen < sizeof(hdrs)); in run_http_request_parse()
30 memcpy(hdrs, req, reqlen); in run_http_request_parse()
41 http_request_parse_hoff(r, hdrs, hloffsets, proto_default_port); in run_http_request_parse()
/lighttpd1.4/
H A DSConstruct106 def haveCHeaders(self, hdrs):
107 for hdr in hdrs:
H A DNEWS545 * [core] short-circuit if response body recv w/ hdrs (fixes #3111)
1545 * [core] h2_send_headers() specialized for resp hdrs
1841 * [core] pass req hdrs buffer to http_request_parse
2105 * [core] abstraction to insert/modify response hdrs
2318 * [core] do not emit req/response hdrs w/ blank val
2319 * [mod_setenv] directives to overwrite/remove hdrs (fixes #650, fixes #2295)
2334 * [core] config match w/ arbitrary HTTP request hdrs (fixes #1556)
2367 * [mod_cgi] status 200 OK if no hdrs (deprecated) (#2786)