Re: half-closed connections?

2004-02-20 Thread Henrik Nordstrom
On Fri, 20 Feb 2004, Adrian Chadd wrote: Is there actually a valid reason for squid to even support half-closed connections any more? Personally I don't beleive in half-closed connections in HTTP, but some people like to be able to do things like (echo GET http://www.squid-cache.org HTTP/1.0

Re: half-closed connections?

2004-02-20 Thread Adrian Chadd
On Fri, Feb 20, 2004, Henrik Nordstrom wrote: On Fri, 20 Feb 2004, Adrian Chadd wrote: Is there actually a valid reason for squid to even support half-closed connections any more? Personally I don't beleive in half-closed connections in HTTP, but some people like to be able to do

Re: half-closed connections?

2004-02-20 Thread Henrik Nordstrom
On Fri, 20 Feb 2004, Adrian Chadd wrote: * i start mirroring something via lftp * lftp uses Keepalive in its HTTP requests * I hit ctrl-C in lftp * a client fd does this: - read handler gets called, size 0 - commMarkHalfClosed() is called - ... no more IO is scheduled - write

Re: half-closed connections?

2004-02-20 Thread Henrik Nordstrom
On Fri, 20 Feb 2004, Adrian Chadd wrote: * in ConnStateData::readSomeData(), is it ok to just return if the socket is marked as half closed? Will a half-closed socket ever be re-opened somehow? To explain half-closed connections A TCP connection consists of two independent flows