curl-library
Re: Test 206 hanging with reduced sws write chunks
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Nov 2012 22:11:17 +0100 (CET)
Date: Wed, 21 Nov 2012 22:11:17 +0100 (CET)
On Wed, 21 Nov 2012, Fabian Keil wrote:
> After spending some time looking for a curl bug I now believe that the test
> is flawed and relies on bug #39 and the responses being read with the
> headers.
>
> With the attached patches test 206 seems to work reliably again.
>
> I'm not sure about the second patch as I'm under the impression that 407
> responses to CONNECT requests shouldn't have bodies either, but the text of
> the body seems to imply that they do in the real world?
Yes, a 407 can legitimately contain a body and yes I believe both of your
patches are fine. I'll give them some further thoughts before I can tell for
sure.
Thanks!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-11-21