SIGPIPE in kio_http
Stephan Kulow
coolo at kde.org
Wed Jul 31 09:35:15 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 31 July 2002 02:27, Dawit A. wrote:
> 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.
>
But it did, so I commit :)
Greetings, Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9R6FDwFSBhlBjoJYRAnSaAJwIGFu26sA2juX9c6xrVljZZBg0SwCdEL5c
UihDJ5q2V27pB8Ym2kKbo5M=
=Lk9c
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list