SIGPIPE in kio_http

Dawit A. adawit at kde.org
Wed Jul 31 01:27:50 BST 2002


On Tuesday 30 July 2002 14:57, Waldo Bastian wrote:
> 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?

Even if it does not, that is the "correct" thing to do anyways. You should go 
ahead and commit it just the same.

Regards,
Dawit A.





More information about the kfm-devel mailing list