Re: Re: Moving to PHP5.1 and Apache 2.2 next year, need help
| From: | steve roussey | Date: | Fri, 12 Aug 2005 15:40:10 +0000 |
| Subject: | Re: Re: Moving to PHP5.1 and Apache 2.2 next year, need help | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17871@lists.php.net to get a copy of this message | ||
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?