Both in Firefox and Chrome my POST requests in 1.8.2 with the supplied patch, 
seem to do the trick (did about 300 post requests in each browser with no 
fails).

Best Regards,

On 29/12/2017, 15.58, "Willy Tarreau" <w...@1wt.eu> wrote:

    On Fri, Dec 29, 2017 at 03:42:30PM +0100, Willy Tarreau wrote:
    > OK I managed to reproduce it with nghttp using --expect-continue to
    > force it to leave a pause before sending the data. And indeed there
    > the data are immediately followed by a shutdown. Getting closer...
    
    So here's what I found : when dealing with request forwarding, we used
    to let the close migrate from the client to the server with the last
    block. And this happens only once we switch to fast forwarding, which
    means that the last block from the request didn't fit in the buffer.
    Thus it would randomly impact large uploads (though timing would often
    protect them) and almost always impact small ones if sent in two parts
    as we could produce.
    
    The attached patch fixes it for me. Could you please give it a try ?
    
    Thanks,
    Willy
    

Reply via email to