Messages in this thread | | | Date | Sat, 13 Aug 2005 17:22:19 -0700 (PDT) | From | dean gaudet <> | Subject | Re: 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/
| |