xcir / vsltrans Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hello,
I wonder whether varnish 4.0 support is planned. I've spent some time digging around this and, well, varnish 4.0 is just completely different.
Also, it seems that varnish40 branch is just the same as master and varnish30 branches. May be you came to the same conclusion as I did?
Thanks.
--log
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
START transaction.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "vsltrans.py", line 924, in printLoop
self.conTrx( self.vslData.pop(0) )
File "vsltrans.py", line 862, in conTrx
self.printTrx(type,fd)
File "vsltrans.py", line 616, in printTrx
self.printGeneralInfo(base)
File "vsltrans.py", line 640, in printGeneralInfo
respvar = data[0]['var']['resp']
KeyError: 'resp'
--VSL
0 CLI - Rd ping
0 CLI - Wr 200 19 PONG 1371563292 1.0
12 SessionOpen c 127.0.0.1 54015 :6081
12 Debug c herding
12 SessionClose c junk
12 ReqStart c 127.0.0.1 54015 2106522592
12 RxRequest c GET
12 RxURL c /test
12 RxProtocol c HTTP/1.0
12 RxHeader c Host: exmple.jp
12 RxHeader c Host: exmple.jp
12 Error c Duplicated Host header
12 ReqEnd c 2106522592 1371563294.295896292 1371563294.295933485 0.000244141 nan nan
12 StatSess c 127.0.0.1 54015 0 1 1 0 0 0 0 0
0 CLI - Rd ping
0 CLI - Wr 200 19 PONG 1371563295 1.0
0 CLI - Rd ping
0 CLI - Wr 200 19 PONG 1371563298 1.0
As noted in my PR(#2), there is a bug in parsing of HTTP headers. Suggested fix is here zstyblik@6f2cd32, although better fix was proposed in PR comments.
Hello,
either this is a bug or it should be at least documented behaviour. If you restart varnish, then VLS_NonBlockingDispatch() doesn't attach to new "instance" of varnish. However, VSL_Dispatch() does.
If this isn't bug and everything is ok, please, document this behaviour.
Thank you,
Z.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.