- 10 May, 2011 3 commits
-
-
Poul-Henning Kamp authored
A couple of constifications while I wait for the tests to run. Spotted by: DocWilco
-
Poul-Henning Kamp authored
Submitted by: ehocdet Fixes #911
-
Poul-Henning Kamp authored
still need the object. Instead, add a WRW_error() function to query if there are WRW trouble. Fixes #904
-
- 09 May, 2011 1 commit
-
-
Poul-Henning Kamp authored
not gunzip, send content-length to client rather than chunked. This makes progress-bars possible in browsers.
-
- 06 May, 2011 7 commits
-
-
Tollef Fog Heen authored
Add -O option to turn off grouping. Get rid of blank line separating requests.
-
Tollef Fog Heen authored
Rename -o added in last commit to -m, add documentation.
-
Tollef Fog Heen authored
Make -o tag:regex only act on transactions where the regex matches tag, generalised from what varnishlog and varnishncsa already had support for. In addition, support multiple -o options which are then and-ed together.
-
-
Poul-Henning Kamp authored
an object at the same time a request-lookup does. The functional solution to this race is to hold the objhdr mutex, which we already hold briefly to get the refcount, also when we do the check. In terms of souce code this inlines the problematic HSH_FindBan() function in the lurker. And since that was major surgery af few other acts of improvement was carried out also. Most notably, we will now scan all applicable bans in the lurker and not give up on the first ban that tests req.* variables.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 05 May, 2011 1 commit
-
-
Tollef Fog Heen authored
Update docs for purge → ban rename plus various typos and grammatical errors.
-
- 03 May, 2011 1 commit
-
-
Tollef Fog Heen authored
Commit 3bd239e9 makes it so we set the object's last-modified timestamp to the current timestamp if there's no Last-Modified header. This makes it so we can do conditional gets even when there's no Last-Modified or ETag header from the backend. However, the time entered was a float, so we effectively ended up with an off-by-up-to-one-minus-epsilon error. This lead to requests ending up in a 304/200 response code round-dance. We now round the timestamp down to the nearest whole second instead, which should fix this bug. Thanks to lrowe for a helpful bug report. Fixes: #907
-
- 02 May, 2011 6 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
we simply have to abandon it.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Edging closer to streap+gunzip
-
Poul-Henning Kamp authored
requests. This should make it possible to deliver arbitrarily sized objects with pass mode.
-
Poul-Henning Kamp authored
when we need it.
-
- 29 Apr, 2011 2 commits
-
-
Poul-Henning Kamp authored
front when unbusy'ing. This should still keep the list roughly sorted in Date: order, but keep the busy objects out of the way for lookups.
-
-
- 28 Apr, 2011 2 commits
-
-
Per Buer authored
-
-
- 26 Apr, 2011 2 commits
-
-
Tollef Fog Heen authored
-
Tollef Fog Heen authored
-
- 20 Apr, 2011 4 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 18 Apr, 2011 5 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
from storage. Asking for more than 256M at a time will not actually improve performance and is quite likely to hurt it.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
the second of two headers in a row. Fixes #902
-
- 15 Apr, 2011 2 commits
-
-
Tollef Fog Heen authored
Fixes #825
-
Daniel Bilik authored
NetBSD returns EINVAL when the other end unexpectedly shuts down the connection, the same as Solaris, but on NetBSD it is documented.
-
- 14 Apr, 2011 1 commit
-
-
- 13 Apr, 2011 2 commits
-
-
Tollef Fog Heen authored
If there was more than one of the User-Agent, Referer, Authorization, X-Forwarded-For or Host header in a request, varnishncsa would leak some memory. We now just use the last value.
-
Tollef Fog Heen authored
Fixes #898 Thanks to omes and vorpal for diagnosis and patch
-
- 12 Apr, 2011 1 commit
-
-
Poul-Henning Kamp authored
Fixes #891
-