[ee122] Persistent Connection Hanging

Jeff Wang jkwang at berkeley.edu
Tue Oct 30 23:41:51 PDT 2007

How about when you request a file that is empty and the client is  

The spec doesn't say if we should tack on anything in the entity. Not  
putting anything in the entity will cause the Safari/Firefox to hang.
Should we add <space><CRLF><CRLF>, or something else?

On Oct 30, 2007, at 9:27 PM, vern at cs.berkeley.edu wrote:

>> When I use Safari, with the keep-alive header, to request a file that
>> doesn't exist (ie. "/asdfsaf"),
>> the browser just hangs and keeps on loading.
>> My server sends a 404 header, but no body.
>> Apparently, Safari is waiting for more data, but never gets it.
> RFC 2616 states that a server SHOULD include an entity explaining the
> problem when returning a 40x status code.  Apparently Safari  
> requires this
> (even though given the SHOULD it should be prepared to deal with its
> absence).
> 		Vern

More information about the ee122 mailing list