Bug in OW3 Beta9 (Broken URLs) "Underflow, Attempted read off end..."

Ken Case kc at omnigroup.com
Mon Apr 12 12:24:14 PDT 1999


> Hi is it possible that the new OWHTTPProcessor and and the
> OWHTTPSession class has some trouble to fetch images?

It's possible, though I'd expect to have heard more complaints about  
it if so.

One big difference between HTTP 1.0 and HTTP 1.1 is that HTTP 1.1  
servers are allowed to drop the connection to the client at any time,  
for any reason or no reason.  The client is expected to be prepared  
to reconnect and rerequest their file (hopefully with a byte range  
which skips the data already retrieved) at all times.  If there are  
problems with this code, I'd definitely like to get them fixed.

You can test whether that's the problem by overriding  
-[OWHTTPSessionQueue shouldPipelineRequests] to return NO--when  
that's disabled, we switch back to HTTP 1.0, where servers aren't  
allowed to do that.  If suddenly everything starts working, I guess  
we have a problem.

				Ken



More information about the OmniWeb-l mailing list