lkml.org 
[lkml]   [2005]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question about SO_LINGER
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-14 02:25    [W:0.316 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site