On Mon, Feb 16, 2004, Adrian Chadd wrote: > On Mon, Feb 16, 2004, Adrian Chadd wrote: > > On Mon, Feb 16, 2004, Adrian Chadd wrote: > > > > > > Another crash, this time, reproducable: > > > > > > 2004/02/16 16:27:31| assertion failed: comm.cc:2558: "fdc_table[fd].active && > > > !fdc_table[fd].half_closed" > > Right, this is what I _think_ is happening: > > * connection breaks > * we read EOF from the FD > * commMarkHalfClosed() marks it as half-closed > * ... > * we read EOF from the FD again > * commMarkHalfClosed() get called again.. > * .. which barfs because we already marked it half closed.
.. are we trying to read data when we shouldn't be? The half-closed connection logic is a bit unclear to me in the squid-3 codebase. Adrian
