Menu

#1 IOException on HTTP keep-alive

open
nobody
None
5
2007-02-24
2007-02-24
No

Don't know if anyone's still working on this, but we're shipping a modified version of pygmy with OOWeb (http://ooweb.sf.net) incorporating the following fix.

If the client closes the connection after requesting a keep-alive, pygmy throws an IOException because it attempts to get the InputStream without seeing if the connection is still valid.

changed line 31 of ConnectionRunnable.java to:

if(!connection.isClosed() && request.readRequest( connection.getInputStream() ) ) {

Regards,

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.