On Tue, Jul 9, 2013 at 12:55 AM, Ben Reser <b...@reser.org> wrote: > Have we considered just turning off chunked requests entirely until > Serf has a fix to automatically detect and handle servers that don't > support chunked requests? I've seen a lot of discussion about the > cost of doing an extra round trip to detect if we can use chunked > encoding, but I haven't seen anyone comparing the performance of the > client with and without chunked requests.
Okay talked with Ivan and Lieven on IRC and they explained why this isn't an option. Essentially Serf isn't as efficient as Neon was with doing CL requests. We produce a temp file with the body, then send the data to serf which would produce another temp file and calculate the size. Which makes this suggestion a bad idea.