SIGPIPE in kio_http

Waldo Bastian bastian at kde.org
Tue Jul 30 19:57:55 BST 2002


On Tuesday 30 July 2002 01:26 am, Stephan Kulow wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> Since quite some time I get more "Connection to host is broken"
> than I used to when I fill forms. It seems to me that the slave requests
> the server to leave the connection alive, but can't handle the fact that
> the server closes it after some time. When I need some time to fill out
> the form, I get the error message and can nothing but go back and resubmit
> til it works.
>
> To me it seems, the http slave should handle the fact that sendBody
> gets a EPIPE in write in reopening the connection and not simply giving
> an error to the user. But I have no idea how to fix that best in http.cc
> or slavebase

Remarkable. We aren't suppoed to use persistent connections at all for 
anything but GET requests. 

*check*

Oh.. I see.. the check is done _after_ the request, instead of before the 
request. *duh*

Does this patch help?

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: http.patch
Type: text/x-diff
Size: 1131 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020730/525ab3a6/attachment.patch>


More information about the kfm-devel mailing list