SIGPIPE in kio_http

Stephan Kulow coolo at kde.org
Tue Jul 30 13:07:01 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 30 July 2002 10:44, Rob Kaper wrote:
> On Tue, Jul 30, 2002 at 10:26:13AM +0200, Stephan Kulow wrote:
> > 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
>
> Oh, I'm not the only one. This seems to happen at some sites more than
> others.. it seems to happen a lot more frequently at MSDN and also at
> kdenews.unixcode.org. At first I thought it was a problem with the site but
> then it also happened at more sites (some camera reviews on dpreview.com
> for example).
>
> Sorry, a testcase would be nicer, but at least I can reproduce with these
> sites (although it might take a couple of posts).
>
For me it's very easily reproducable using forms that POST. Open the form,
wait say 5 seconds and press submit - bang

Greetings, Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9RoFlwFSBhlBjoJYRAnmbAJ9AeIOPxL/ffXFHBfi+SGjmxJh5nwCgo6j1
tW60Pc8+AVqF0PmGhDHnqm0=
=0Yzz
-----END PGP SIGNATURE-----






More information about the kfm-devel mailing list