problems with varnish 1.1.2

Dag-Erling Smørgrav des at linpro.no
Tue Jan 8 16:51:17 CET 2008


Denis Ahrens <denis at zeno.org> writes:
> I tried today to switch to varnish 1.1.2 but have a problem.
>
> [continues to provide almost none of the information required to
> diagnose and solve the problem]

Please.  Send.  Logs.

> GET http://www.test.org/index.html HTTP/1.1
>

Not a valid HTTP/1.1 request.  Varnish should actually 400 that one.

> HTTP/1.1 200 OK
> Server: ZenoServer/2.1.10 * DBSERVER/r1456 * Middleware/1444
> Vary: Accept-Encoding
> Content-Type: text/html
> Cache-Control: s-maxage=300, max-age=120
> Last-Modified: Fri, 21 Dec 2007 15:20:42 GMT
> Date: Fri, 21 Dec 2007 16:33:38 GMT
> X-Varnish: 1220401610
> Age: 0
> Via: 1.1 varnish
> Connection: keep-alive
>
> Connection closed by foreign host.

You got your response.  No Content-Length and no Content-Encoding
means no body.  Varnish waited for a second request but grew tired and
hanged up on you.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list