Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-05 Thread Colm MacCárthaigh
On Thu, Dec 05, 2002 at 07:16:02AM +, Joe Orton wrote: On Wed, Dec 04, 2002 at 11:38:06PM +, Colm MacCárthaigh wrote: On Wed, Dec 04, 2002 at 11:05:21PM +, Joe Orton wrote: Colm, can you try running the apr/test/sendfile binary with your machines? It was one of the first

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-05 Thread Joe Orton
On Thu, Dec 05, 2002 at 10:54:53AM +, Colm MacCárthaigh wrote: .. telnet [v6addr] 80 GET / HTTP/1.1 Host: madeup.tld observe lack of response Have you verified with tcpdump/ethereal etc that this hang is because the server is not sending the packets? What does netstat -t show for this

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-05 Thread Colm MacCárthaigh
On Thu, Dec 05, 2002 at 11:30:29AM +, Joe Orton wrote: On Thu, Dec 05, 2002 at 10:54:53AM +, Colm MacCárthaigh wrote: .. telnet [v6addr] 80 GET / HTTP/1.1 Host: madeup.tld observe lack of response Have you verified with tcpdump/ethereal etc that this hang is because the

RE: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-05 Thread Jeroen Massar
Colm MacCárthaigh [mailto:[EMAIL PROTECTED]] wrote: On Thu, Dec 05, 2002 at 12:58:48PM +, Colm MacCárthaigh wrote: I'm using vanilla 2.4.18, from Debian kernel-source-2.4.18 , one machine has the broadcom bcm5700 module, and the the other has the intel e1000 module. O.k., more

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-05 Thread Colm MacCárthaigh
On Thu, Dec 05, 2002 at 04:17:53PM +, Joe Orton wrote: To summarize some off-list dicussion - the kernel guys have said that using sendfile on IPv6 sockets may trigger bugs in cards which do hardware TCP checksumming for card/driver/OS combinations which support that. (since the cards have

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Colm MacCárthaigh
On Wed, Dec 04, 2002 at 07:12:04AM -0500, Jeff Trawick wrote: Colm MacCárthaigh [EMAIL PROTECTED] writes: O.k., now that is interesting, another thing I've noticed is that when the encoding is chunked, I can't replicate the problem. Presumably the problem is related to how much data is

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Colm MacCárthaigh
On Wed, Dec 04, 2002 at 12:25:49PM +, Colm MacCárthaigh wrote: My tests (and patch) were based on apr and apr-util from CVS , with the 2.0.43 codebase, because CVS seems broken right now. stupid pre-test patch, here's the real one: Index: configure.in

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread David Reid
: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 12:30 PM Subject: Re: Linux + TCP_CORK + IPv6 = Broken [PATCH] On Wed, Dec 04, 2002 at 12:25:49PM +, Colm MacCárthaigh wrote: My tests (and patch) were based on apr and apr-util from CVS , with the 2.0.43 codebase

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Jeff Trawick
Colm MacCárthaigh [EMAIL PROTECTED] writes: On Wed, Dec 04, 2002 at 12:25:49PM +, Colm MacCárthaigh wrote: My tests (and patch) were based on apr and apr-util from CVS , with the 2.0.43 codebase, because CVS seems broken right now. stupid pre-test patch, here's the real one: patch

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Colm MacCárthaigh
On Wed, Dec 04, 2002 at 08:21:36AM -0500, Jeff Trawick wrote: Colm MacCárthaigh [EMAIL PROTECTED] writes: On Wed, Dec 04, 2002 at 12:25:49PM +, Colm MacCárthaigh wrote: My tests (and patch) were based on apr and apr-util from CVS , with the 2.0.43 codebase, because CVS seems broken

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread William A. Rowe, Jr.
At 07:18 AM 12/4/2002, Colm MacCárthaigh wrote: In the interest of tying up loose ends, I'm still concerned with your observation that --disable-sendfile didn't do the right thing... did you make distclean before re-configuring? The problem there was that --disable-sendfile isnt an option

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread David Reid
In the interest of tying up loose ends, I'm still concerned with your observation that --disable-sendfile didn't do the right thing... did you make distclean before re-configuring? The problem there was that --disable-sendfile isnt an option configure knows anything about, the right one

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Colm MacCárthaigh
On Wed, Dec 04, 2002 at 02:29:29PM -, David Reid wrote: In the interest of tying up loose ends, I'm still concerned with your observation that --disable-sendfile didn't do the right thing... did you make distclean before re-configuring? The problem there was that

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread David Reid
On Wed, Dec 04, 2002 at 02:29:29PM -, David Reid wrote: In the interest of tying up loose ends, I'm still concerned with your observation that --disable-sendfile didn't do the right thing... did you make distclean before re-configuring? The problem there was that

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Jeff Trawick
Colm MacCárthaigh [EMAIL PROTECTED] writes: as David Reid reminded, the flag needs to default to 0 on the right Linux boxen... unless/until we get specific info, I plan to tweak your patch to default it to --disable when building on Linux 2.4.x... relatively few users who would encounter

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Joe Orton
On Wed, Dec 04, 2002 at 08:21:36AM -0500, Jeff Trawick wrote: Colm MacCárthaigh [EMAIL PROTECTED] writes: On Wed, Dec 04, 2002 at 12:25:49PM +, Colm MacCárthaigh wrote: My tests (and patch) were based on apr and apr-util from CVS , with the 2.0.43 codebase, because CVS seems broken

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Colm MacCárthaigh
On Wed, Dec 04, 2002 at 11:05:21PM +, Joe Orton wrote: On Wed, Dec 04, 2002 at 08:21:36AM -0500, Jeff Trawick wrote: Colm MacCárthaigh [EMAIL PROTECTED] writes: On Wed, Dec 04, 2002 at 12:25:49PM +, Colm MacCárthaigh wrote: My tests (and patch) were based on apr and apr-util

Re: Linux + TCP_CORK + IPv6 = Broken [PATCH]

2002-12-04 Thread Joe Orton
On Wed, Dec 04, 2002 at 11:38:06PM +, Colm MacCárthaigh wrote: On Wed, Dec 04, 2002 at 11:05:21PM +, Joe Orton wrote: Colm, can you try running the apr/test/sendfile binary with your machines? It was one of the first things I tried when I was debugging, unfortunately, it doesnt