Re: h2 in 5.1.1 and jsessionid cookies ?

2017-03-17 Thread kokoniimasu
Hi,Christian. Yes, my backend is Varnish. Apache did not error by POST request in my test env too. Probably, C-L is ignored in apache.(I'm not read apache source.) rfc7230 is written If a message is received with both a Transfer-Encoding and a Content-Length header field, the

Re: h2 in 5.1.1 and jsessionid cookies ?

2017-03-17 Thread Christian Bjørnbak
Hi kokoniimasu, if(req.http.cookie){ std.collect(req.http.cookie); set req.http.cookie = regsuball(req.http.cookie,", ","; "); } did the trick for me.. Thanks for your help. The other if only seems to be relevant and valid if the backend is a varnish too? My backend is

Re: h2 in 5.1.1 and jsessionid cookies ?

2017-03-17 Thread kokoniimasu
Hi,Christian. #sorry I forgot add ml-list... Are you manipulating cookies in Varnish?(set, get...) Some browser send several cookie header by H/2. Probably in order to make HPACK compression more effective. you may want to use std.collect. I added the this VCL in my environment. sub vcl_recv{

Re: h2 in 5.1.1 and jsessionid cookies ?

2017-03-17 Thread Poul-Henning Kamp
Hej Christian, Can you capture a varnishlog please ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.