Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [maxq-users] Connection reset by peer

maxq
Discussion topic

Back to topic list

Re: [maxq-users] Connection reset by peer

Author oliverbock
Full name Oliver Bock
Date 2004-10-18 15:55:36 PDT
Message On 19/10/2004, at 03:58, Stephen Rufle wrote:
> New error
> INFO: browser stopped listening: Connection reset by peer: socket
> write error
> java.io.IOException: unterminated line in request header
> at
> com.bitmechanic.maxq​.HttpRequestHeader.r​eadLine(HttpRequestH​eader.java:
> 189)
> at
> com.bitmechanic.maxq​.HttpRequestHeader.​<init>(HttpRequ​estHeader.java:
> 106)
> at
> com.bitmechanic.maxq​.RequestHandler.init​ClientServerConnecti​ons(Request
> Handler.java:42)
> at com.bitmechanic.maxq​.RequestHandler.run(​RequestHandler.java:​138)
> at java.lang.Thread.run(Unknown Source)
> Oct 18, 2004 10:50:01 AM com.bitmechanic.maxq​.RequestHandler run

You've been very patient. Hopefully this is now fixed too.

> I also had to changed line 237 and 248 the server socket was null at
> some point. I suspect that these issues are specific to IE , since in
> previous posts you do not get these problems using a superior broswer
> like Safari :)...

I have adopted your null check while closing the serverSocket because
it may indeed be null if an exception occurs before it is opened.
However I cannot see how clientSocket could ever be null so I have
added an assert to detect that case earlier. Strangely, when I tested
this on IE it started hanging after the first request. I'm not sure
what this is about, but I do not have time to fix it. I suspect that
it was not caused by this most recent fix, but by something from
before. Does it work for you?

I've committed these changes to CVS.


   Oliver


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@ma​xq.tigris.org
For additional commands, e-mail: users-help at maxq dot tigris dot org

« Previous message in topic | 11 of 11 | Next message in topic »

Messages

Show all messages in topic

[maxq-users] Connection reset by peer Stephen Rufle <srufle at salmonllc dot com> Stephen Rufle <srufle at salmonllc dot com> 2004-10-14 11:10:29 PDT
     Re: [maxq-users] Connection reset by peer oliverbock Oliver Bock 2004-10-14 16:06:25 PDT
         Re: [maxq-users] Connection reset by peer Stephen Rufle <srufle at salmonllc dot com> Stephen Rufle <srufle at salmonllc dot com> 2004-10-14 16:54:19 PDT
             Re: [maxq-users] Connection reset by peer oliverbock Oliver Bock 2004-10-14 17:02:06 PDT
                 Re: [maxq-users] Connection reset by peer fcohen Frank Cohen 2004-10-14 21:23:13 PDT
                     Re: [maxq-users] Connection reset by peer oliverbock Oliver Bock 2004-10-14 21:31:14 PDT
                         Re: [maxq-users] Connection reset by peer fcohen Frank Cohen 2004-10-14 21:49:25 PDT
                 Re: [maxq-users] Connection reset by peer Stephen Rufle <srufle at salmonllc dot com> Stephen Rufle <srufle at salmonllc dot com> 2004-10-14 21:43:25 PDT
                     Re: [maxq-users] Connection reset by peer oliverbock Oliver Bock 2004-10-14 22:28:46 PDT
                         Re: [maxq-users] Connection reset by peer Stephen Rufle <srufle at salmonllc dot com> Stephen Rufle <srufle at salmonllc dot com> 2004-10-18 10:58:08 PDT
                             Re: [maxq-users] Connection reset by peer oliverbock Oliver Bock 2004-10-18 15:55:36 PDT
Messages per page: