[PATCH] httpd: When sending gzipped content use content-length header

Denys Vlasenko vda.linux at googlemail.com
Wed Apr 17 09:46:25 UTC 2019


Applied, thanks

On Wed, Apr 17, 2019 at 9:56 AM Alexander Vickberg
<wickbergster at gmail.com> wrote:
>
> Hi,
>
> 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.
>
> Signed-off-by: Alexander Vickberg <wickbergster at gmail.com>
>
> 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
>    text    data     bss     dec     hex filename
> 1020392   17219    1888 1039499   fdc8b busybox_old
> 1020347   17219    1888 1039454   fdc5e busybox_unstripped
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list