*** thttpd-2.22beta5cg/thttpd.c Mon Mar 11 19:32:04 2002 --- thttpd-2.22beta5cg-me/thttpd.c Mon Apr 8 19:35:17 2002 *************** *** 1736,1741 **** --- 1736,1748 ---- tmr_cancel( c->wakeup_timer ); c->wakeup_timer = 0; } + //cameron + if ( c->linger_timer != (Timer*) 0 ) + { // already lingering .. + tmr_cancel( c->linger_timer ); + c->linger_timer = 0; + c->hc->should_linger = 0; + } /* This is our version of Apache's lingering_close() routine, which is ** their version of the often-broken SO_LINGER socket option. For why