- 29 Oct, 2007 9 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2183 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2182 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
NB: This should be merged back to 1.1 git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2181 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2180 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
chunked delivery. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2179 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
any other <...> git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2178 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2177 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2176 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2175 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 28 Oct, 2007 1 commit
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2173 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 26 Oct, 2007 2 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2172 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
http://...Poul-Henning Kamp authored
absolute src ("/..."). Relative src's coming up next, once I find out where to store the edited string. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2171 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 24 Oct, 2007 5 commits
-
-
Poul-Henning Kamp authored
work fully, leaving a trail of XXX and other devastation: Add an esi nesting counter to the session. Teach RES_WriteObj() to send an object as a chunk in chunked encoding. Bail cnt_done() early for nested ESI transactions. Catch the src="" attribute in esi:include and store it in the esibit. In ESI_Deliver(), recurse into CNT_Session(STP_RECV) in order to handle the include element of an esibit. Recursion is probably not the ideal solution here, but it might quite conceiveably be the best one, since it is quite cheap and very trivial. Outstanding issues: too many to list still. The following example worked for me: <html> <body> <pre> <esi:include src="/esi.txt"/> </pre> </body> </html> git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2170 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2169 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
STP_START is the initial setup of a viable workerthread: Dissecting HTTP, getting vcl reference etc. STP_RECV is invoking vcl_recv() and following orders. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2168 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
element: Add two checkpoints for the sessions workspace. The first checkpoint is after the session fixed data, and move the client address and port to workspace to see that this works. The second checkpoint is after the, as received unadultered by VCL http request. Grab a copy of the http request matching this. Implement rollback as an optional feature of restart in VCL. Move various workspace initialization and resetting operations to more suitable locations in the program flow. I don't know if this is really usable, but now it's possible to do: backend b1 { set backend.host = "backend1"; set backend.port = "80"; } backend b2 { set backend.host = "backend2"; set backend.port = "80"; } sub vcl_recv { set req.backend = b1; remove req.http.cookie; if (req.restarts == 0) { set req.url = "foobar.html"; } else { set req.backend = b2; } } sub vcl_fetch { if (obj.status != 200) { restart rollback; } } And have it first look for "foobar.html" on one backend, and failing that, try to give the user what they asked for from the other backend. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2167 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2166 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 23 Oct, 2007 3 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2162 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2161 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2157 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 22 Oct, 2007 1 commit
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2154 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 19 Oct, 2007 9 commits
-
-
Dag Erling Smørgrav authored
the connection first. This fixes #168. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2153 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2151 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2133 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2130 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
shouldn't need to malloc() / free() at all, but I don't have time to figure out how to avoid it right now. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2126 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2125 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2124 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Cecilie Fritzvold authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2123 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
look for complete requests. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2122 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 18 Oct, 2007 4 commits
-
-
Poul-Henning Kamp authored
So far we support only the <esi:remove> element. All other <esi:...> elements are ignored. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2121 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2116 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Cecilie Fritzvold authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2115 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2111 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 17 Oct, 2007 1 commit
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2110 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 16 Oct, 2007 5 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2109 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
This is the meat of the XML-dissecting code. In theory the task is pretty simple, but it gets complicated by the fact that the XML input can be split over multiple pieces of storage, with an element we care about straddling a boundary. I have not decided what to do about ESI violations or XML syntax errors, SHMlogging them, possibly controlled by a parameter might make sense. For now mark them in the source. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2108 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2107 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2106 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2105 d4fa192b-c00b-0410-8231-f00ffab90ce4
-