diff options
author | Alexander Vickberg | 2019-04-17 11:34:21 +0200 |
---|---|---|
committer | Denys Vlasenko | 2019-04-17 11:34:49 +0200 |
commit | 210b52476c86fb8411f6b0fd12d4e76875c474e5 (patch) | |
tree | e7201bce1460eec7d1c0723ae919f7fea5f18912 /networking/telnetd.c | |
parent | 1d37186fe2361f80c821e334cc61f41e2f4eeb72 (diff) | |
download | busybox-210b52476c86fb8411f6b0fd12d4e76875c474e5.zip busybox-210b52476c86fb8411f6b0fd12d4e76875c474e5.tar.gz |
httpd: When sending gzipped content use content-length header
Today for gzipped content httpd is using a header with name
Transfer-Length. However I can't find a header with that name in the
standards. Instead use Content-Length.
function old new delta
.rodata 157940 157936 -4
send_headers 980 939 -41
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-45) Total: -45 bytes
Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/telnetd.c')
0 files changed, 0 insertions, 0 deletions