diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-07-24 00:53:13 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-09-08 15:06:06 -0400 |
commit | 2ef31a1b3fa6b5392cbdcc7c3147432612003382 (patch) | |
tree | efff7e41deb5803ebc3a19e25237bebf6905e6e7 /src/http-header-glue.c | |
parent | 3f17f9433601a05dacb33d48fd2e1d8447a22275 (diff) | |
download | lighttpd-git-2ef31a1b3fa6b5392cbdcc7c3147432612003382.tar.gz |
[core] chunkqueue_append_buffer always clears buf
chunkqueue_append_buffer() always clears buffer
(instead of relying on caller to do so after the call)
Diffstat (limited to 'src/http-header-glue.c')
-rw-r--r-- | src/http-header-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http-header-glue.c b/src/http-header-glue.c index 2b6fd3a2..07845613 100644 --- a/src/http-header-glue.c +++ b/src/http-header-glue.c @@ -1173,7 +1173,7 @@ handler_t http_response_read(request_st * const r, http_response_opts * const op * truncate response or send 500 if nothing sent yet */ return HANDLER_ERROR; } - buffer_clear(b); + /*buffer_clear(b);*//*http_response_append_buffer() clears*/ } if (r->conf.stream_response_body & FDEVENT_STREAM_RESPONSE_BUFMIN) { |