diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-08-25 06:34:47 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-10-11 11:43:06 -0400 |
commit | ada09a23b029731e24df65a39b11c4d3f90f59a0 (patch) | |
tree | c6e0979d701a4b4a516f5582dd529c3122d7d908 /src/response.h | |
parent | 014e5240ef8aaa6fd351b8862a808896a530ed7b (diff) | |
download | lighttpd-git-ada09a23b029731e24df65a39b11c4d3f90f59a0.tar.gz |
[core] h2_send_headers() specialized for resp hdrs
specialized version of http_response_write_header(); send headers
directly to HPACK encoder, rather than double-buffering in chunkqueue
Diffstat (limited to 'src/response.h')
-rw-r--r-- | src/response.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/response.h b/src/response.h index 72832975..154f8602 100644 --- a/src/response.h +++ b/src/response.h @@ -54,6 +54,10 @@ void http_response_send_file (request_st *r, buffer *path); void http_response_backend_done (request_st *r); void http_response_backend_error (request_st *r); void http_response_upgrade_read_body_unknown(request_st *r); + +__attribute_cold__ +int http_response_omit_header(request_st *r, const data_string *ds); + void http_response_write_header(request_st *r); handler_t http_response_handler(request_st *r); |