httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plüm, Rüdiger, VF-Group" <ruediger.pl...@vodafone.com>
Subject RE: mod_ssl and Transfer-Encoding: chunked wastes ~58 bytes perchunk.
Date Thu, 20 Aug 2009 15:09:21 GMT
 

> -----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


Mime
View raw message