Home
last modified time | relevance | path

Searched refs:response_header (Results 1 – 7 of 7) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dmod_setenv.c20 array *response_header; member
71 array_free(s->response_header); in FREE_FUNC()
106 s->response_header = array_init(); in SETDEFAULTS_FUNC()
110 cv[1].destination = s->response_header; in SETDEFAULTS_FUNC()
130 PATCH(response_header); in mod_setenv_patch_connection()
148 PATCH(response_header); in mod_setenv_patch_connection()
208 for (k = 0; k < p->conf.response_header->used; k++) { in URIHANDLER_FUNC()
209 data_string *ds = (data_string *)p->conf.response_header->data[k]; in URIHANDLER_FUNC()
H A Dmod_cgi.c82 buffer *response_header; member
91 hctx->response_header = buffer_init(); in cgi_handler_ctx_init()
98 buffer_free(hctx->response_header); in cgi_handler_ctx_free()
417 char c = hctx->response_header->ptr[i]; in cgi_demux_response()
461 http_chunk_append_mem(srv, con, hctx->response_header->ptr, hctx->response_header->used); in cgi_demux_response()
475 bstart = hctx->response_header->ptr + (i + 1); in cgi_demux_response()
476 blen = (hctx->response_header->used - 1) - (i + 1); in cgi_demux_response()
483 hctx->response_header->ptr[i] = '\0'; in cgi_demux_response()
487 cgi_response_parse(srv, con, p, hctx->response_header); in cgi_demux_response()
672 hctx->response_header->used) { in cgi_handle_fdevent()
[all …]
H A Dmod_proxy.c100 buffer *response_header; member
127 hctx->response_header = buffer_init(); in handler_ctx_init()
139 buffer_free(hctx->response_header); in handler_ctx_free()
699 buffer_prepare_copy(hctx->response_header, 128); in proxy_demux_response()
711 … buffer_append_string_len(hctx->response_header, hctx->response->ptr, c - hctx->response->ptr + 4); in proxy_demux_response()
713 log_error_write(srv, __FILE__, __LINE__, "sb", "Header:", hctx->response_header); in proxy_demux_response()
716 proxy_response_parse(srv, con, p, hctx->response_header); in proxy_demux_response()
H A Dmod_scgi.c312 buffer *response_header; member
359 hctx->response_header = buffer_init(); in handler_ctx_init()
379 buffer_free(hctx->response_header); in handler_ctx_free()
1834 buffer_append_string_buffer(hctx->response_header, hctx->response); in scgi_demux_response()
1837 if (0 == strncmp(hctx->response_header->ptr, "HTTP/1.", 7)) in_header = 1; in scgi_demux_response()
1840 …for (c = hctx->response_header->ptr, cp = 0, used = hctx->response_header->used - 1; used; c++, cp… in scgi_demux_response()
1893 http_chunk_append_mem(srv, con, hctx->response_header->ptr, hctx->response_header->used); in scgi_demux_response()
1896 size_t blen = hctx->response_header->used - hlen - 1; in scgi_demux_response()
1899 hctx->response_header->used = hlen; in scgi_demux_response()
1900 hctx->response_header->ptr[hlen - 1] = '\0'; in scgi_demux_response()
[all …]
H A Dmod_fastcgi.c353 buffer *response_header; member
494 hctx->response_header = buffer_init(); in handler_ctx_init()
516 buffer_free(hctx->response_header); in handler_ctx_free()
2582 if (hctx->response_header->used == 0) { in fcgi_demux_response()
2583 buffer_copy_string_buffer(hctx->response_header, packet.b); in fcgi_demux_response()
2585 buffer_append_string_buffer(hctx->response_header, packet.b); in fcgi_demux_response()
2589 blen = hctx->response_header->used - (c - hctx->response_header->ptr) - 4; in fcgi_demux_response()
2590 hctx->response_header->used = (c - hctx->response_header->ptr) + 3; in fcgi_demux_response()
2593 blen = hctx->response_header->used - (c - hctx->response_header->ptr) - 2; in fcgi_demux_response()
2594 hctx->response_header->used = c - hctx->response_header->ptr + 2; in fcgi_demux_response()
[all …]
H A Dbase.h598 buffer *response_header; member
H A Dserver.c214 CLEAN(response_header); in server_init()
302 CLEAN(response_header); in server_free()