You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Plüm, Rüdiger, VF-Group" <ru...@vodafone.com> on 2009/08/20 17:09:21 UTC
RE: mod_ssl and Transfer-Encoding: chunked wastes ~58 bytes perchunk.
> -----Original Message-----
> From: Joe Orton
>
> Interesting observation.
>
> It would not be correct to fix this by adding buffering in the chunk
> filter. For a plain HTTP connection, any buffering/coalescing of
> packets is already done as necessary by the core output filter.
> Typically, a (chunk-size, data, crlf) brigade can get sent using
> writev() without requiring any copying.
>
> Translating many small buckets into many less-small SSL
> app-data records
> is certainly inefficient - and that's a property of SSL, so,
> I think it
> would be correct to fix this by adding some buffering in
> mod_ssl on the
> "plaintext" side of the output filter, i.e. in
> ssl_io_filter_output and
> ssl_filter_write.
>
> Any thoughts from dev@?
Sounds reasonable.
Regards
Rüdiger