Child panics on OpenSolaris
Paul Wright
wrighty+varnishmisc at gmail.com
Thu Feb 18 13:07:06 CET 2010
On 18 February 2010 10:08, Paul Wright <wrighty+varnishmisc at gmail.com> wrote:
> On 17 February 2010 18:46, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
>> In message <282e72051002170852g532cd8acqb570e6db4b82974c at mail.gmail.com>, Paul
>> Wright writes:
>>
>>>(The cookie header ensures the request is passed through to the
>>>backend. Curl will respond with "Failure when receiving data from the
>>>peer".)
>>
>> How on earth did you get the Range header to be passed through to
>> the backend ? It should have been filtered out...
Just as a sanity check I compiled r4574 on a Fedora x64 machine with
gcc and it appears that Range requests still make it through to the
backend, but no panics:
11 SessionOpen c 192.168.0.169 60860 192.168.0.87:80
11 ReqStart c 192.168.0.169 60860 1989537926
11 RxRequest c GET
11 RxURL c /robots.txt
11 RxProtocol c HTTP/1.1
11 RxHeader c User-Agent: curl/7.19.4
(universal-apple-darwin10.0) libcurl/7.19.4 OpenSSL/0.9.8l zlib/1.2.3
11 RxHeader c Host: 192.168.0.87
11 RxHeader c Accept: */*
11 RxHeader c Range: bytes=0-1
11 RxHeader c Cookie: foo
11 VCL_call c recv
11 VCL_return c pass
11 VCL_call c hash
11 VCL_return c hash
11 VCL_call c pass
11 VCL_return c pass
12 BackendClose - paul
12 BackendOpen b paul 192.168.0.83 54663 192.168.0.83 80
11 Backend c 12 dynamic_director paul
12 TxRequest b GET
12 TxURL b /robots.txt
12 TxProtocol b HTTP/1.1
12 TxHeader b User-Agent: curl/7.19.4
(universal-apple-darwin10.0) libcurl/7.19.4 OpenSSL/0.9.8l zlib/1.2.3
12 TxHeader b Host: 192.168.0.87
12 TxHeader b Accept: */*
12 TxHeader b Range: bytes=0-1
12 TxHeader b Cookie: foo
12 TxHeader b X-Forwarded-For: 192.168.0.169
12 TxHeader b X-Varnish: 1989537926
12 RxProtocol b HTTP/1.1
12 RxStatus b 206
12 RxResponse b Partial Content
12 RxHeader b Date: Thu, 18 Feb 2010 12:00:51 GMT
12 RxHeader b Server: Apache
12 RxHeader b Last-Modified: Mon, 14 Dec 2009 11:00:28 GMT
12 RxHeader b ETag: "a2ad-de-47aae2e6fcaa0"
12 RxHeader b Accept-Ranges: bytes
12 RxHeader b Content-Length: 2
12 RxHeader b Content-Range: bytes 0-1/222
12 RxHeader b Content-Type: text/plain
12 RxHeader b X-Pad: avoid browser bug
11 TTL c 1989537926 RFC 120 1266494451 0 0 0 0
11 VCL_call c fetch
11 VCL_return c pass
11 ObjProtocol c HTTP/1.1
11 ObjStatus c 206
11 ObjResponse c Partial Content
11 ObjHeader c Date: Thu, 18 Feb 2010 12:00:51 GMT
11 ObjHeader c Server: Apache
11 ObjHeader c Last-Modified: Mon, 14 Dec 2009 11:00:28 GMT
11 ObjHeader c ETag: "a2ad-de-47aae2e6fcaa0"
11 ObjHeader c Content-Type: text/plain
11 ObjHeader c X-Pad: avoid browser bug
12 BackendReuse b paul
11 Length c 2
11 VCL_call c deliver
11 VCL_return c deliver
11 TxProtocol c HTTP/1.1
11 TxStatus c 206
11 TxResponse c Partial Content
11 TxHeader c Server: Apache
11 TxHeader c Last-Modified: Mon, 14 Dec 2009 11:00:28 GMT
11 TxHeader c ETag: "a2ad-de-47aae2e6fcaa0"
11 TxHeader c Content-Type: text/plain
11 TxHeader c X-Pad: avoid browser bug
11 TxHeader c Content-Length: 2
11 TxHeader c Date: Thu, 18 Feb 2010 12:00:51 GMT
11 TxHeader c X-Varnish: 1989537926
11 TxHeader c Age: 0
11 TxHeader c Via: 1.1 varnish
11 TxHeader c Connection: keep-alive
11 ReqEnd c 1989537926 1266494451.053643227
1266494451.055507183 0.000101566 0.001832485 0.000031471
11 SessionClose c EOF
11 ReqEnd c 0 1266494451.055849552 1266494451.055849552
0.000342369 0.000000000 0.000000000
11 StatSess c 192.168.0.169 60860 0 1 1 0 1 1 306 2
Paul.
More information about the varnish-misc
mailing list