[mod_python] Write errors (client closed connection)

Greg Stein gstein at lyra.org
Thu Nov 14 13:51:38 EST 2002


Yup, definitely. The client closes their side, but the server won't notice
that until it tries to write to the socket. Normally, this raises SIGPIPE,
but it appears somebody has caught/ignored that, so you just get the error.

Cheers,
-g

On Wed, Nov 13, 2002 at 03:10:53PM -0500, Gregory (Grisha) Trubetskoy wrote:
> 
> I think this will happen if they click the "stop" button also.
> 
> On Wed, 13 Nov 2002, Wyant, Jaime wrote:
> 
> > What usually causes a webbrowser to close a connection?  I assume the user
> > "closes" their browser which closes the connection.
> >
> > I usually get this exception:
> >
> > IOError: Write failed, client closed connection.
> >
> > Can anyone elaborate?
> >
> > Thanks!
> > jaime wyant (jwyant at sfbcic . com)
> > MS Farm Bureau
> > (601) 977 - 4291
> >
> >
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://www.modpython.org/mailman/listinfo/mod_python
> >
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python

-- 
Greg Stein, http://www.lyra.org/



More information about the Mod_python mailing list