Re: Strange "content-length" with http-use-htx

2019-03-28 Thread Willy Tarreau
Hi Guys, On Wed, Mar 27, 2019 at 04:28:37PM +0100, Christopher Faulet wrote: > After checking the haproxy output that you sent me, the error happens > because the content-length header is skipped when the request is sent to the > server. It is skipped because the POST is empty, so it is set to 0.

Re: Strange "content-length" with http-use-htx

2019-03-27 Thread Marco Corte
Il 2019-03-27 16:28 Christopher Faulet ha scritto: Your server seems to reject empty POST request when there is no content-length header. Christopher, I will test the fix as soon as it will be released in a 1.9.x. Thank you a lot again for the troubleshooting. .marcoc you have no idea of

Re: Strange "content-length" with http-use-htx

2019-03-27 Thread Christopher Faulet
Le 27/03/2019 à 07:59, Marco Corte a écrit : Good morning! Christopher helped me fixing the http-use-htx issue "BUG/MEDIUM: proto_htx: Fix data size update if end of the cookie is removed". I am testing haproxy 1.9.5 with the same site real server, with the same configuration: browser

Re: Strange "content-length" with http-use-htx

2019-03-27 Thread Christopher Faulet
Le 27/03/2019 à 07:59, Marco Corte a écrit : Good morning! Christopher helped me fixing the http-use-htx issue "BUG/MEDIUM: proto_htx: Fix data size update if end of the cookie is removed". I am testing haproxy 1.9.5 with the same site real server, with the same configuration: browser

Strange "content-length" with http-use-htx

2019-03-27 Thread Marco Corte
Good morning! Christopher helped me fixing the http-use-htx issue "BUG/MEDIUM: proto_htx: Fix data size update if end of the cookie is removed". I am testing haproxy 1.9.5 with the same site real server, with the same configuration: browser <--- HTTP/2 ---> haproxy <--- HTTP ---> real