[Varnish] #1318: weird POST behaviour in varnish
    Varnish 
    varnish-bugs at varnish-cache.org
       
    Mon Jun 17 14:13:02 CEST 2013
    
    
  
#1318: weird POST behaviour in varnish
--------------------------+--------------------
 Reporter:  lorenzololli  |       Owner:
     Type:  defect        |      Status:  new
 Priority:  normal        |   Milestone:
Component:  varnishd      |     Version:  3.0.3
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+--------------------
Comment (by lorenzololli):
 I'm sorry, I was pretty sure that I've added it.
 Log with error:
  12 BackendOpen  b default 1.2.3.4 59079 2.3.4.5 80
    12 TxRequest    b POST
    12 TxURL        b /test/services.pl
    12 TxProtocol   b HTTP/1.1
    12 TxHeader     b User-Agent: Mozilla/4.0 (compatible; MSIE 5.01;
 Windows NT 5.0)
    12 TxHeader     b Accept: */*
    12 TxHeader     b Host: www.somehost.it
    12 TxHeader     b Content-Length: 50
    12 TxHeader     b Content-Type: application/x-www-form-urlencoded
    12 TxHeader     b X-Varnish: 177583886
    12 RxProtocol   b HTTP/1.1
    12 RxStatus     b 500
    12 RxResponse   b Internal Server Error
    12 RxHeader     b Date: Mon, 17 Jun 2013 11:30:19 GMT
    12 RxHeader     b Server: Apache/2.2.15 (CentOS)
    12 RxHeader     b Content-Length: 616
    12 RxHeader     b Connection: close
    12 RxHeader     b Content-Type: text/html; charset=iso-8859-1
    12 Fetch_Body   b 4(length) cls 0 mklen 1
    12 Length       b 616
    12 BackendClose b default
    11 SessionOpen  c 20.30.40.50 32439 :80
    11 ReqStart     c 20.30.40.50 32439 177583886
    11 RxRequest    c POST
    11 RxURL        c /test/services.pl
    11 RxProtocol   c HTTP/1.1
    11 RxHeader     c User-Agent: Mozilla/4.0 (compatible; MSIE 5.01;
 Windows NT 5.0)
    11 RxHeader     c Accept: */*
    11 RxHeader     c Host: www.somehost.it
    11 RxHeader     c Content-Length: 50
    11 RxHeader     c Content-Type: application/x-www-form-urlencoded
    11 VCL_call     c recv
    11 VCL_Log      c ---------------+++++++++++-----------!!!!!RECV ALWAYS
 PASS!!!!!---------+++++++++++----------------
    11 VCL_return   c pass
    11 VCL_call     c hash
    11 Hash         c /test/services.pl
    11 Hash         c www.somehost.it
    11 VCL_return   c hash
    11 VCL_call     c pass pass
    11 Backend      c 12 default default
    11 TTL          c 177583886 RFC -1 -1 -1 1371468620 0 1371468619 0 0
    11 VCL_call     c fetch
    11 TTL          c 177583886 VCL 121 -1 -1 1371468619 -1
    11 VCL_return   c hit_for_pass
    11 ObjProtocol  c HTTP/1.1
    11 ObjResponse  c Internal Server Error
    11 ObjHeader    c Date: Mon, 17 Jun 2013 11:30:19 GMT
    11 ObjHeader    c Server: Apache/2.2.15 (CentOS)
    11 ObjHeader    c Content-Length: 616
    11 ObjHeader    c Content-Type: text/html; charset=iso-8859-1
    11 VCL_call     c deliver deliver
    11 TxProtocol   c HTTP/1.1
    11 TxStatus     c 500
    11 TxResponse   c Internal Server Error
    11 TxHeader     c Server: Apache/2.2.15 (CentOS)
    11 TxHeader     c Content-Type: text/html; charset=iso-8859-1
    11 TxHeader     c Content-Length: 616
    11 TxHeader     c Accept-Ranges: bytes
    11 TxHeader     c Date: Mon, 17 Jun 2013 11:30:20 GMT
    11 TxHeader     c X-Varnish: 177583886
    11 TxHeader     c Age: 0
    11 TxHeader     c Via: 1.1 varnish
    11 TxHeader     c Connection: keep-alive
    11 Length       c 616
    11 ReqEnd       c 177583886 1371468619.267874002 1371468620.103220463
 0.000317812 0.835056543 0.000289917
    11 SessionClose c EOF
    11 StatSess     c 20.30.40.50 32439 1 1 1 0 1 1 267 616
 Log without error:
  12 BackendOpen  b default 1.2.3.4 59076 2.3.4.5 80
    12 TxRequest    b POST
    12 TxURL        b /test/services.pl
    12 TxProtocol   b HTTP/1.1
    12 TxHeader     b User-Agent: Mozilla/4.0 (compatible; MSIE 5.01;
 Windows NT 5.0)
    12 TxHeader     b Accept: */*
    12 TxHeader     b Host: www.somehost.it
    12 TxHeader     b Content-Length: 50
    12 TxHeader     b Content-Type: application/x-www-form-urlencoded
    12 TxHeader     b X-Forwarded-For: 20.30.40.50
    12 TxHeader     b X-Varnish: 1724297818
    12 RxProtocol   b HTTP/1.1
    12 RxStatus     b 302
    12 RxResponse   b Found
    12 RxHeader     b Date: Mon, 17 Jun 2013 11:25:41 GMT
    12 RxHeader     b Server: Apache/2.2.15 (CentOS)
    12 RxHeader     b Set-Cookie: mail=someuser; path=/;
 domain=.somehost.it
    12 RxHeader     b Location:
 https://mail.somehost.it/?username=someuser@somehost.it&password=somepas...
    12 RxHeader     b Content-Length: 392
    12 RxHeader     b Connection: close
    12 RxHeader     b Content-Type: text/html; charset=iso-8859-1
    12 Fetch_Body   b 4(length) cls 0 mklen 1
    12 Length       b 392
    12 BackendClose b default
    11 SessionOpen  c 20.30.40.50 40713 :80
    11 ReqStart     c 20.30.40.50 40713 1724297818
    11 RxRequest    c POST
    11 RxURL        c /test/services.pl
    11 RxProtocol   c HTTP/1.1
    11 RxHeader     c User-Agent: Mozilla/4.0 (compatible; MSIE 5.01;
 Windows NT 5.0)
    11 RxHeader     c Accept: */*
    11 RxHeader     c Host: www.somehost.it
    11 RxHeader     c Content-Length: 50
    11 RxHeader     c Content-Type: application/x-www-form-urlencoded
    11 VCL_call     c recv pass
    11 VCL_call     c hash
    11 Hash         c /test/services.pl
    11 Hash         c www.somehost.it
    11 VCL_return   c hash
    11 VCL_call     c pass pass
    11 Backend      c 12 default default
    11 TTL          c 1724297818 RFC 120 -1 -1 1371468342 0 1371468341 0 0
    11 VCL_call     c fetch
    11 TTL          c 1724297818 VCL 121 -1 -1 1371468341 -1
    11 VCL_return   c hit_for_pass
    11 ObjProtocol  c HTTP/1.1
    11 ObjResponse  c Found
    11 ObjHeader    c Date: Mon, 17 Jun 2013 11:25:41 GMT
    11 ObjHeader    c Server: Apache/2.2.15 (CentOS)
    11 ObjHeader    c Set-Cookie: mail=someuser; path=/;
 domain=.somehost.it
    11 ObjHeader    c Location:
 https:/mail.somehost.it/?username=someuser at somehost.it&password=somepass...
    11 ObjHeader    c Content-Length: 392
    11 ObjHeader    c Content-Type: text/html; charset=iso-8859-1
    11 VCL_call     c deliver deliver
    11 TxProtocol   c HTTP/1.1
    11 TxStatus     c 302
    11 TxResponse   c Found
    11 TxHeader     c Server: Apache/2.2.15 (CentOS)
    11 TxHeader     c Set-Cookie: mail=someuser; path=/;
 domain=.somehost.it
    11 TxHeader     c Location:
 https://mail.somehost.it/?username=someuser@somehost.it&password=somepas...
    11 TxHeader     c Content-Type: text/html; charset=iso-8859-1
    11 TxHeader     c Content-Length: 392
    11 TxHeader     c Accept-Ranges: bytes
    11 TxHeader     c Date: Mon, 17 Jun 2013 11:25:42 GMT
    11 TxHeader     c X-Varnish: 1724297818
    11 TxHeader     c Age: 0
    11 TxHeader     c Via: 1.1 varnish
    11 TxHeader     c Connection: keep-alive
    11 Length       c 392
    11 ReqEnd       c 1724297818 1371468341.410154343 1371468342.261449814
 0.000349760 0.851178408 0.000117064
    11 SessionClose c EOF
    11 StatSess     c 20.30.40.50 40713 1 1 1 0 1 1 473 392
-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1318#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
    
    
More information about the varnish-bugs
mailing list