- 03 Jun, 2016 1 commit
-
-
Poul-Henning Kamp authored
-
- 02 Jun, 2016 1 commit
-
-
Guillaume Quintard authored
-
- 01 Jun, 2016 3 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
string spec we pass to the VCC, to make future VCL/VMOD/VCC work easier. Instead I ended up rewriting the entire .VCC file compiler, which was so much easier than the first time, because now I know what it should do. There should be no incompatibilities, but as always: Please test and report.
-
Lasse Karstensen authored
Before this change: hostname:/proc/24139$ cat task/*/comm | sort | uniq Backend poller ban-lurker cache-acceptor cache-epoll cache-main cache-timeout cache-worker hcb-cleaner MPL_busyobj MPL_req0 MPL_req1 MPL_sess0 MPL_sess1 pool_herder vsm_cleaner
-
- 31 May, 2016 5 commits
-
-
Nils Goroll authored
fixes #1971
-
Nils Goroll authored
... in order to actually use it by default
-
Pål Hermunn Johansen authored
When allocating ESI memory through objallocwithnuke, tell the sevedore in storage_simple.c that getting less than requested, is not interesting. At the same time, eliminate the possibility of getting less memory than requested in sml_trimstore. Fixes #1941
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 30 May, 2016 11 commits
-
-
Poul-Henning Kamp authored
-
Federico G. Schwindt authored
-
Poul-Henning Kamp authored
it is more consistent to hit vcl_miss{} every time for these objects, as opposed to vcl_pass{} most of the time but occationally vcl_miss{}. This also almost entirely takes the TTL of HFP objects out of the picture, in the sense that any cacheable object fetched as a result of HFP will be put into the cache and be usable, rather than the HFP preventing cacheable objects for whatever TTL the HFP might have. See c00076 for an example of this.
-
Federico G. Schwindt authored
Idea from Devon H. O'Dell (dho at fastly dot com).
-
Federico G. Schwindt authored
This might happen during pass'd requests or in a multi-tier setup. Fixes #1955.
-
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 1 commit
-
-
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
-