IOException on HTTP keep-alive
Status: Pre-Alpha
Brought to you by:
charliehubbard
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,