diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-26 23:27:51 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-27 04:16:38 -0400 |
commit | a067d99fa0e94e348b9173bce6dd6ba2c2c7c925 (patch) | |
tree | 89d517bba6189ac58eb7e9b38804ab5c6de1602d /src/response.c | |
parent | 9a442b55557a62a28d3b2e8f13d33e3a9629a234 (diff) | |
download | lighttpd-git-a067d99fa0e94e348b9173bce6dd6ba2c2c7c925.tar.gz |
[core] chunkqueue_small_resp_optim if resp < 16k
(adjusted down from 32k after some basic benchmarking using weighttp)
Diffstat (limited to 'src/response.c')
-rw-r--r-- | src/response.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.c b/src/response.c index beded193..d5260ca1 100644 --- a/src/response.c +++ b/src/response.c @@ -172,7 +172,7 @@ http_response_write_header (request_st * const r) if (r->resp_body_finished && light_btst(r->resp_htags, HTTP_HEADER_CONTENT_LENGTH) && (cqlen = chunkqueue_length(cq) - r->resp_header_len) > 0 - && cqlen <= 32768) + && cqlen < 16384) chunkqueue_small_resp_optim(cq); } |