- 08 Nov, 2007 3 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2238 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2215 | des | 2007-10-30 15:06:37 +0100 (Tue, 30 Oct 2007) | 3 lines When DIAGNOSTICS is defined, log every step that each session goes through, along with some vital statistics, and flush the log regularly. ........ r2220 | des | 2007-10-30 15:40:55 +0100 (Tue, 30 Oct 2007) | 5 lines Refine the debugging string: we don't really need the XID, but we do need the thread ID in order to locate the correct thread in gdb. Furthermore, we must use VSL rather than WSL since the session might actually not have a worker at that point; but if it does, make sure to flush the log first. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2237 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2211 | des | 2007-10-30 14:39:21 +0100 (Tue, 30 Oct 2007) | 2 lines Add an --enable-diagnostics option which causes DIAGNOSTICS to be defined. ........ r2212 | des | 2007-10-30 14:41:56 +0100 (Tue, 30 Oct 2007) | 2 lines Enable diagnostics ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2236 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 30 Oct, 2007 2 commits
-
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2206 | des | 2007-10-30 13:35:40 +0100 (Tue, 30 Oct 2007) | 2 lines Comment tweak ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2219 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2181 | phk | 2007-10-29 10:16:13 +0100 (Mon, 29 Oct 2007) | 5 lines Remember to reset te bereq's workspace after use. NB: This should be merged back to 1.1 ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2191 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 28 Oct, 2007 1 commit
-
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2173 | des | 2007-10-28 19:43:24 +0100 (Sun, 28 Oct 2007) | 2 lines Fix file list. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2174 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 22 Oct, 2007 1 commit
-
-
Dag Erling Smørgrav authored
file:///var/lib/svn/varnish/trunk/varnish-cache ........ r2154 | des | 2007-10-22 16:37:19 +0200 (Mon, 22 Oct 2007) | 2 lines Evaluate ${localstatedir} later. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2156 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 19 Oct, 2007 16 commits
-
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2116 | des | 2007-10-18 17:18:42 +0200 (Thu, 18 Oct 2007) | 2 lines Make VARNISH_STATE_DIR work correctly when using the default prefix. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2150 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2057 | phk | 2007-09-30 21:42:08 +0200 (Sun, 30 Sep 2007) | 3 lines Set the poll'ed fd to -1 when we halfclose the fd to avoid an infinite loop on certain OS's. ........ r2077 | phk | 2007-10-01 14:44:19 +0200 (Mon, 01 Oct 2007) | 3 lines Go over pipe's polling code and try to do it right in one go by actually paying attention to what goes on. ........ r2080 | phk | 2007-10-08 09:19:52 +0200 (Mon, 08 Oct 2007) | 2 lines Try to make the pipe code even more robust ........ r2086 | phk | 2007-10-08 12:25:47 +0200 (Mon, 08 Oct 2007) | 3 lines Drop the asserts around shutdown(2), there are a number of legitimate error conditions. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2149 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2148 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1889 | phk | 2007-08-20 13:05:48 +0200 (Mon, 20 Aug 2007) | 3 lines Remove the unnecessary third argument to VBE_ClosedFd() and remove a couple of now pointless debugging messages in pipe mode. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2147 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2107 | des | 2007-10-16 16:15:54 +0200 (Tue, 16 Oct 2007) | 2 lines Whitespace cleanup. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2146 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2106 | des | 2007-10-16 16:12:23 +0200 (Tue, 16 Oct 2007) | 2 lines Pull in FreeBSD's daemon(3) for platforms that lack it. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2145 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2097 | des | 2007-10-10 15:23:15 +0200 (Wed, 10 Oct 2007) | 2 lines Fix braino in Solaris compat bit. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2144 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2088 | phk | 2007-10-08 13:28:11 +0200 (Mon, 08 Oct 2007) | 2 lines Add an assert for spotting ticket #162 ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2143 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2079 | phk | 2007-10-08 09:18:48 +0200 (Mon, 08 Oct 2007) | 4 lines Flush the threads shmlog before we try to make up a reponse, so that we know what transactions trigger problems in that code. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2142 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2078 | ssm | 2007-10-05 11:15:09 +0200 (Fri, 05 Oct 2007) | 1 line Fix ticket #166, debian package issues ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2141 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2031 | des | 2007-09-25 10:19:50 +0200 (Tue, 25 Sep 2007) | 2 lines Use a config cache. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2140 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2026 | phk | 2007-09-25 09:32:15 +0200 (Tue, 25 Sep 2007) | 2 lines Bail if we get unknown address families ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2139 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1888 | phk | 2007-08-20 13:05:07 +0200 (Mon, 20 Aug 2007) | 8 lines Fix a long-standing bug in pipe-mode: We must pass the protocol version across unchanged, otherwise the semantics of the Connection: header cannot be interpreted correctly by the server. wget(1) could trigger this problem and would have to wait for the server to close the (seemingly idle) connection before continuing. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2138 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1809 | phk | 2007-08-07 12:27:34 +0200 (Tue, 07 Aug 2007) | 7 lines Minimize a race when looking up addresses for backends. The race is not closed however, proper locking needs to be thought out. An XXX comment documents this for now. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2137 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1733 | des | 2007-07-20 12:14:43 +0200 (Fri, 20 Jul 2007) | 2 lines Style nit. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2136 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r2133 | des | 2007-10-19 13:18:49 +0200 (Fri, 19 Oct 2007) | 2 lines Re-add Solaris support which was removed in r1465. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2135 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 25 Sep, 2007 1 commit
-
-
Dag Erling Smørgrav authored
file:///var/lib/svn/varnish/trunk/varnish-cache ........ r2032 | des | 2007-09-25 10:21:28 +0200 (Tue, 25 Sep 2007) | 3 lines Portability: use -lsocket / -lns on systems that need it (read Solaris), use <sys/queue.h> instead of our own if present. ........ r2033 | des | 2007-09-25 10:48:14 +0200 (Tue, 25 Sep 2007) | 6 lines The previous commit made things worse rather than better, as some systems have a <sys/queue.h> that differs in small but important details from what we expect. Replace our "queue.h" (which was taken from NetBSD) with a new "vqueue.h" which is based on FreeBSD's <sys/queue.h> with the debugging taken out and a "V" prefix added to everything. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2034 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 24 Sep, 2007 1 commit
-
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1976 | phk | 2007-09-21 11:49:05 +0200 (Fri, 21 Sep 2007) | 2 lines Don't copy the Date: header from the object to the reply ........ r1977 | phk | 2007-09-21 11:49:44 +0200 (Fri, 21 Sep 2007) | 2 lines Don't leak 50 bytes when creating the new Date: header. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2003 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 23 Sep, 2007 13 commits
-
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1991 | phk | 2007-09-23 15:11:51 +0200 (Sun, 23 Sep 2007) | 4 lines When a workerthread dies of old age, make sure to nuke the mutex it may have in its cached nobjhead. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2002 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1971 | phk | 2007-09-21 00:25:27 +0200 (Fri, 21 Sep 2007) | 4 lines Don't core dump if VCL tries to compare NULL pointers, just let the comparison fail. This typically happens if a paticular header is not present. ........ r1972 | phk | 2007-09-21 00:26:31 +0200 (Fri, 21 Sep 2007) | 2 lines Avoid a double free when we encounter a 'include' directive. ........ r1973 | phk | 2007-09-21 00:26:53 +0200 (Fri, 21 Sep 2007) | 2 lines vcc_FreeToken() is no longer necessary ........ r1974 | phk | 2007-09-21 00:27:25 +0200 (Fri, 21 Sep 2007) | 3 lines Fix an extremely fine C-standard point and remove the vcc_FreeToken() prototype ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2001 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2000 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1967 | phk | 2007-09-20 10:44:59 +0200 (Thu, 20 Sep 2007) | 2 lines Add a http_GetProto() function ........ r1968 | phk | 2007-09-20 10:46:25 +0200 (Thu, 20 Sep 2007) | 8 lines After we moved pass to use the same code as fetch, we have run into a unnecessary connection timeout wait when the returned object does not have a body. Rework the "does this response have a body" logic to be more in line with the RFC. ........ r1970 | phk | 2007-09-20 12:44:18 +0200 (Thu, 20 Sep 2007) | 4 lines Fix a brain-o in my last commit. "cls" is a flag for closing the fd, not for generating Content-Length: header. ........ r1997 | phk | 2007-09-23 15:46:43 +0200 (Sun, 23 Sep 2007) | 6 lines Fix another cornercase that fell out as part of the pass->fetch rewrite: If we pass a HEAD request, we should not rewrite it to GET and not expect a body either. ........ r1998 | des | 2007-09-23 16:19:42 +0200 (Sun, 23 Sep 2007) | 2 lines Reverse the logic in r1997 from !is_get to is_head. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1999 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1957 | phk | 2007-09-20 09:02:35 +0200 (Thu, 20 Sep 2007) | 2 lines Add a REPLACE() macro, for manipulating malloced string variables. ........ r1958 | phk | 2007-09-20 09:03:09 +0200 (Thu, 20 Sep 2007) | 2 lines Use REPLACE macro to manipulate malloc'ed string variables. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1996 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1955 | cecilihf | 2007-09-18 13:40:44 +0200 (Tue, 18 Sep 2007) | 2 lines Fixes #157. Always replace Date with current time on varnish server. ........ r1994 | des | 2007-09-23 15:18:50 +0200 (Sun, 23 Sep 2007) | 2 lines Unbreak header ordering. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1995 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1886 | phk | 2007-08-20 12:52:59 +0200 (Mon, 20 Aug 2007) | 2 lines polish ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1993 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1883 | phk | 2007-08-20 12:36:16 +0200 (Mon, 20 Aug 2007) | 7 lines Make the new FlexeLint 8.00w happy again. It's a fine point of C-linguistics, but I have to admit that in certain universes it would have a point. Not this one though. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1992 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1989 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1866 | phk | 2007-08-20 10:55:13 +0200 (Mon, 20 Aug 2007) | 2 lines Assert that the timestats we need for VSL_StatSess are valid. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1988 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
in a release. git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1987 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1830 | phk | 2007-08-10 12:28:08 +0200 (Fri, 10 Aug 2007) | 4 lines Don't call functions outside the VRT namespace, even if this means that we have to wrap strcmp(). ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1986 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1796 | phk | 2007-08-05 21:52:23 +0200 (Sun, 05 Aug 2007) | 2 lines Introduce a "replace()" function to replace a malloc'ed string. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1984 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 12 Sep, 2007 2 commits
-
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1942 | phk | 2007-09-12 08:12:18 +0200 (Wed, 12 Sep 2007) | 7 lines Make sure to initialize t_end if we drop sessions. Fixes #132 Many thanks to Janis Putrams for debugging this. ........ git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1954 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1953 d4fa192b-c00b-0410-8231-f00ffab90ce4
-