Hey all,

With the change below, we can send all requests using Content-Length
rather than chunking. This is the core work for fixing issue 3979.

My question: should we simply bump the minimum serf to 1.1, or should
we just omit the Content-Length functionality? If the latter, then
users may run into 3979 if they have an older serf.

I'm thinking: bump our requirement. It will require packagers/distros
to get serf 1.1 packaged "soonish". (and no, it hasn't been released
yet)

Thoughts?

Cheers,
-g

On Mon, Mar 19, 2012 at 18:04,  <gst...@apache.org> wrote:
> Author: gstein
> Date: Mon Mar 19 22:04:36 2012
> New Revision: 1302682
>
> URL: http://svn.apache.org/viewvc?rev=1302682&view=rev
> Log:
> Work on issue 3979: don't try to send chunked requests to HTTP/1.0
> servers. This will require serf 1.1.x and a new API.
>
> This commit lays all the groundwork, but doesn't change behavior yet.
> When HTTP/1.0 requests are needed, the request body will be placed
> into a spillbuf and then we use a new bucket type for the body which
> reads content out of the spillbuf. Meanwhile, the spillbuf gives us
> the total body size which we can place into a Content-Length header.
>...

Reply via email to