Re: Question about SO_LINGER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Aug 2005, steve roussey wrote:

> socket to shut down.  Apache has a workaround called lingering_close()
> that tries to address broken SO_LINGER implementations, but it also blocks."

apache 1.x is single threaded / forked, so yeah it blocks.  the 
implementation is there because very few SO_LINGER implementations 
actually worked in the 90s.  the method used by apache 1.x is easy to 
modify into a non-blocking form... which could be how they did it in 2.x 
(i stopped hacking on apache sometime early in 2.x development).

-dean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux