srclib/apr/network_io/unix/sockopt.c: if
(setsockopt(sock->socketdes, SOL_SOCKET, SO_LINGER, (char *) &li,
sizeof(struct linger)) == -1)
...
It gets set if APR_SO_LINGER, is set which it is:
srclib/apr/include/apr_network_io.h:#define APR_SO_LINGER 1
/**< Linger */
and if SO_LINGER is set, which it is inside the linux socket include
file (the included bits one, but I'm going by memory here).
On 8/11/05, Xuefer <xuefer@gmail.com> wrote:
> sorry, but i don't see any SO_LINGER, except some comments in apache2
> source code, even you want to enable it by configure option. can you
> bring me to the source or document where you're told that apache2 uses
> SO_LINGER?