- 30 May, 2016 6 commits
-
-
Federico G. Schwindt authored
-
Lasse Karstensen authored
Fixes: #1967
-
Martin Blix Grydeland authored
If an object marked OF_IMSCAND is used as the template during backend IMS revalidation, and the new object also is marked OC_F_PASS (hit-for-pass) in vcl_backend_response, the resulting object would (though ObjCopyAttr) have both OF_IMSCAND and OC_F_PASS. The object could then be used again for backend IMS revalidation (since it has the OF_IMSCAND flag), which would cause troubles as the body would by this time be deleted. Fix by not considering objects marked OC_F_PASS as a stale object candidate during lookup. Fixes: #1956
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
function. Maybe we should have a configure-time test to see if it actually works, but for now, just make autogen.des handle it.
-
- 29 May, 2016 1 commit
-
-
Poul-Henning Kamp authored
-
- 27 May, 2016 3 commits
-
-
Federico G. Schwindt authored
Rename will fail across different mount points.
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
Useful if default_keep is not the default (0).
-
- 26 May, 2016 9 commits
-
-
Nils Goroll authored
but the state after vcl_hash is determined by the return from vcl_recv
-
Lasse Karstensen authored
Last minute changes...
-
Lasse Karstensen authored
By writing output byte by byte, the calling parallel make would start jobs depending on the completed files too soon. Avoid this by writing to temporary files and move the completed results into place. Fixes: #1921
-
Lasse Karstensen authored
Fix whitespace and function docstrings. We treat ourselves with 4 extra bytes (w=>width) in function argument to lwrap() since this is Python. Use the built-in str.replace() in our quote method instead of reimplementing it. Implement best-practice of using "is" and "is not" when comparing with None.
-
Lasse Karstensen authored
Last commit in this series. > Your code has been rated at -3.88/10 (previous run: -9.00/10, +5.12) We're still doing tabs which makes clean indendation on continuations difficult, but that discussion is for another day.
-
Lasse Karstensen authored
Use the built-in way of describing functions.
-
Lasse Karstensen authored
Improve readability by removing superfluous white space and commas. No functional changes. Works on Python 2 and Python 3.
-
Lasse Karstensen authored
Output a proper error message instead of a more cryptic assert if the vmod writer does the wrong thing. Ref: #1811
-
Lasse Karstensen authored
(except one line where we now close the fd instead of just asserting that the close method exists.)
-
- 25 May, 2016 4 commits
-
-
Federico G. Schwindt authored
Pointed out by Jean-François Laurens.
-
Federico G. Schwindt authored
More to come soonish.
-
Federico G. Schwindt authored
-
Lasse Karstensen authored
-
- 24 May, 2016 1 commit
-
-
Federico G. Schwindt authored
-
- 23 May, 2016 2 commits
-
-
Brandon Black authored
Commit e142a199 for Issue #1918 fixed up the case where the server sends an HTTP/1.1 response with no Content-Length, no Transfer-Encoding, but with Connection:close. This fixes the very similar case where all the conditions are the same except that there's also no Connection: close header, but the content is still implicitly delimited by the server closing the connection. This behavior has been observed from multiple versions of Apache with WSGI applications behind it, resulting in broken Content-Length:0 responses from Varnish. Ref: varnishcache/varnish-cache#1954
-
Federico G. Schwindt authored
-
- 22 May, 2016 2 commits
-
-
Poul-Henning Kamp authored
A VCL label is a symbolic name pointing to a "real" VCL program. Labels are created with "vcl.label <labelname> <vclname>" Labels are removed with vcl.discard. VCL labels can be the active VCL and can be repointed to a different VCL while being so. Labels and the VCLs they point to are always warm. One possible use could be for site develpment to label a "production", and a "emergency" VCL so operations personel only have to know these two labels, not worrying about versioning of the VCLs. Of course I have evil plans which are more interesting...
-
Poul-Henning Kamp authored
A VCL label is a symbolic name pointing to a "real" VCL program. VCL labels can be the active VCL and can be repointed to a different VCL at any time. Labels are always warm, and can be discarded with vcl.discard if not in use. Labeled VCLs are _also_ always warm. One possible use could be for site develpment to label a "production", and a "emergency" VCL so operations personel only have to know these two labels, not worrying about versioning of the VCLs. Of course I have other interesting evil plans for this too...
-
- 21 May, 2016 12 commits
-
-
Poul-Henning Kamp authored
a couple of unnecessary includes of it.
-
Poul-Henning Kamp authored
and the VCLI core serve code.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
resulting in alphabetically sorted command listing. Not what I set out to do right now, but somebody asked for this recently and I happened to spot a way to do it now...
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
whitespace) testfiles. Spotted by: Coverity
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-