Re: uh oh -- halp!
marca@ncsa.uiuc.edu (Marc Andreessen)
Date: Mon, 27 Sep 93 21:18:45 -0500
From: marca@ncsa.uiuc.edu (Marc Andreessen)
Message-id: <9309280218.AA04739@wintermute.ncsa.uiuc.edu>
To: sanders@bsdi.com
Cc: www-talk@nxoc01.cern.ch
Subject: Re: uh oh -- halp!
In-reply-to: <9309082104.AA01315@austin.BSDI.COM>
References: <9309082104.AA01315@austin.BSDI.COM>
X-Md4-Signature: 063ed2e46eadb8c3db7e2a21752b6328
Tony Sanders writes:
> [problem about supporting HTTP/1.0 and HTTP0 in same client]
> ...
> > > The result is that the socket gets confused and the client only ends
> > > up getting the first chunk of data (usually 1024 bytes).
> I think the client is getting ENOTCONN when the server does the close.
> You could work around this by detecting ENOTCONN and retrying without
> "HTTP/1.0".
As it turns out, this seems to work -- ECONNRESET is the more common
errno in this situation (the one I see) but I'll have Mosaic 2.0 check
for either...
Cheers,
Marc