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

(usagi-users 02087) Re: Apache 2 and IPv6 on Linux/TCP_CORK problem (fwd)



At Thu, 05 Dec 2002 09:17:10 +0100,
Peter Bieringer <pb@xxxxxxxxxxxx> wrote:

以前 usagi-users に流れた、IPv6 で setsockopt(TCP_CORK) が
うまく動かないというのは、どうやら確かです。
今 new moon + apache2 ではまりました。

何が悪いのか追ってますが、おそらくわからない可能性大。

-- Yuji Sekiya


> > Over the last couple of days, there has been a thread on
> > dev@xxxxxxxxxxxxxxxx and dev@xxxxxxxxxxxxxx regarding an apparent
> > problem with TCP_CORK and/or sendfile() with IPv6 on Linux.
> > 
> > Here is a pointer:
> > 
> > http://groups.yahoo.com/group/new-httpd/message/41403
> > 
> > A couple of people with kernel 2.4.18 noticed that serious breakage.
> > Changing Apache to not use the TCP_CORK socket option around
> > sendfile() or not using sendfile() at all works around the problem.
> > 
> > With 2.0.43, the work-around is to add "--without-sendfile" to the
> > Apache configure invocation (this is an APR option to pretend that
> > the system doesn't have sendfile).  An option more specific to this
> > problem to avoid using TCP_CORK for IPv6 connections will likely be
> > added prior to 2.0.44.