Hi Robert,

On Sat, Mar 10, 2018 at 06:16:21PM +0000, Robert Samuel Newson wrote:
> Hi,
> 
> Whenever you look into this, I noticed that a streamed upload also fails, but 
> differently;
> 
> cat <large file> | acurl https://rnewson.cloudant.com/db1/doc1/att1 -XPUT -T-
> 
> curl chooses http/2 and sends the Transfer-Encoding: chunked header, and then 
> streams the file.
> 
> The result is that the body is not received, the resulting upload is zero 
> bytes.
> 
> I mention this for completeness but it would seem curl is at fault here, it
> should not send the Transfer-Encoding header, but I'm not sure haproxy is
> entirely innocent either?

The header should indeed not be sent, but regardless, haproxy is culprit here
for not being able to process DATA frames without a content-length. I have
already started to look into this and am trying to figure how to best address
the various issues currently pending in the same area without having to
reinvent everything each time ;-)

Thanks for the heads up, it will definitely help me.

Willy

Reply via email to