connection keep-alive

Ivor Hewitt ivor at ivor.org
Thu Mar 2 08:10:02 GMT 2006


Lo,
Looking into a slowdown report for "http://www.linx.net"..
(takes 1.30s to load in konq, 9s to load in firefox)

The site contains a large number of small images and the site has everything 
as https. The reason for the slowdown was that konqueror was tearing down the 
https connection for every single image.
 
The reason for this was that the server was returning an HTTP/1.0 header which 
contained "Connection: keep-alive"
The current logic in the http kioslave ignores this header unless the server 
returns an http1.1 response.

The attached patch moves the connection keep alive check out of this 
clause.... however, can anyone comment on this logic? What is the reason for 
having this set of header checks disabled for non http1.1 responses?

Cheers,

-- 
Ivor Hewitt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keep-alive.diff
Type: text/x-diff
Size: 1530 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060302/d60d0f3e/attachment.diff>


More information about the kfm-devel mailing list