V4.1 HTTP/1.0 responses without Content-Length header results in empty response

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Dec 9 18:41:33 CET 2015


--------
In message <566820F0.9090009 at Berlinonline.de>, Tom Anheyer writes:

>the request to the backend using netcat:

I think this is a bug we have already fixed.

Try adding:

	sub vcl_backend_fetch {
		set bereq.proto = "HTTP/1.1";
	}

That should fix it.
-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at 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.



More information about the varnish-misc mailing list