Re: [PATCH] Have serf send Content-Length request bodies

2011-05-16 Thread Konstantin Kolinko
2011/5/17 Justin Erenkrantz : > On Mon, May 16, 2011 at 10:48 PM, Konstantin Kolinko > wrote: >> HTTP/1.0 does not support keep-alive, and thus the connection will be >> closed after each request. You will need HTTP/1.1 to keep the >> connection open. > > Correct - in this particular set of circum

Re: [PATCH] Have serf send Content-Length request bodies

2011-05-16 Thread Justin Erenkrantz
On Mon, May 16, 2011 at 10:48 PM, Konstantin Kolinko wrote: > HTTP/1.0 does not support keep-alive, and thus the connection will be > closed after each request. You will need HTTP/1.1 to keep the > connection open. Correct - in this particular set of circumstances, httpd is going to either select

Re: [PATCH] Have serf send Content-Length request bodies

2011-05-16 Thread Konstantin Kolinko
2011/5/16 Justin Erenkrantz : > So...at my hotel in Ljubljana, they have a silly Squid proxy that > doesn't understand chunked request bodies.  I know this has been a > huge detriment for some people with serf - so, here's a patch for serf > that will try to send C-L bodies for basic HTTP request b

[PATCH] Have serf send Content-Length request bodies

2011-05-16 Thread Justin Erenkrantz
So...at my hotel in Ljubljana, they have a silly Squid proxy that doesn't understand chunked request bodies. I know this has been a huge detriment for some people with serf - so, here's a patch for serf that will try to send C-L bodies for basic HTTP request bodies. With this patch, ra_serf only