[Varnish] #1388: Length is 0 for most responses

Varnish varnish-bugs at varnish-cache.org
Thu Dec 12 12:03:52 CET 2013


#1388: Length is 0 for most responses
--------------------+------------------------------
 Reporter:  scoof   |       Owner:
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  Varnish 4.0-TP1
Component:  build   |     Version:  unknown
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+------------------------------

Comment (by scoof):

 Content-Length header is correct:

 {{{
 *   << Request  >> 657418
 -   Begin          req 4295492
 -   ReqMethod      GET
 -   ReqURL         XXX
 -   ReqProtocol    HTTP/1.1
 -   ReqHeader      Host: XXX
 -   ReqHeader      Referer: XXX
 -   ReqHeader      Accept-Encoding: gzip, deflate
 -   ReqHeader      Accept: */*
 -   ReqHeader      Accept-Language: da-dk
 -   ReqHeader      Connection: keep-alive
 -   ReqHeader      User-Agent: Mozilla/5.0 (iPad; CPU OS 7_0_4 like Mac OS
 X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11B554a
 Safari/9537.53
 -   ReqStart       XXX 49192
 -   VCL_call       RECV
 -   VCL_return     hash
 -   VCL_call       HASH
 -   VCL_return     lookup
 -   Hit            2149222362
 -   VCL_call       HIT
 -   VCL_return     deliver
 -   VCL_call       DELIVER
 -   VCL_return     deliver
 -   Debug          "RES_MODE 2%00"
 -   RespProtocol   HTTP/1.1
 -   RespStatus     200
 -   RespResponse   OK
 -   RespHeader     Server: Apache/2.2.16 (Debian)
 -   RespHeader     Last-Modified: Fri, 08 Nov 2013 14:41:34 GMT
 -   RespHeader     ETag: "5eafb5a-1b59-4eaab610151e4"
 -   RespHeader     Cache-Control: max-age=14400
 -   RespHeader     Access-Control-Allow-Origin: *
 -   RespHeader     Content-Type: image/jpeg
 -   RespHeader     Date: Thu, 12 Dec 2013 11:02:21 GMT
 -   RespHeader     Via: 1.1 varnish
 -   RespHeader     X-Varnish: 657418 1738714 varnish01
 -   RespHeader     Content-Length: 7001
 -   RespHeader     Connection: keep-alive
 -   RespHeader     Accept-Ranges: bytes
 -   Debug          "XXX REF 2%00"
 -   Length         0
 -   ReqEnd         1386846141.994540930 1386846140.941147327 -1.053476572
 0.000082970 -1.053476572
 -   End
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1388#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list