]>
err.no Git - varnish/log
phk [Tue, 8 Jul 2008 09:17:42 +0000 (09:17 +0000)]
Also make the backend probe rate (how often we probe) configurable
in VCL.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2903
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 8 Jul 2008 09:15:32 +0000 (09:15 +0000)]
Add VCC support for backend probe specifications.
It is possible to specify just the URL to be probed, or to specify the
entire HTTP request:
backend b0 {
.host = "127.0.0.1";
.probe = {
.url = "/test.jpg";
.timeout = 224 ms;
}
}
backend b1 {
.host = "127.0.0.1";
.probe = {
# NB: \r\n automatically inserted after each string!
.request =
"GET / HTTP/1.1"
"Host: www.foo.bar"
"Connection: close";
.timeout = 0.3 s;
}
}
If the full request has not been completed within the timeout, the
backend will be set to down.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2902
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 8 Jul 2008 08:53:37 +0000 (08:53 +0000)]
assert !vsb_overflowed()
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2901
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 8 Jul 2008 07:30:42 +0000 (07:30 +0000)]
Unify parsing of backends and directors.
Use table to dispatch director parsing.
Get trailing '}' into backend host ident string.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2900
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 8 Jul 2008 07:10:41 +0000 (07:10 +0000)]
Add test for unknown director policy
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2899
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 8 Jul 2008 06:30:16 +0000 (06:30 +0000)]
Flexelint nits
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2898
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 22:19:05 +0000 (22:19 +0000)]
Don't create an unnecessary fencepost member.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2897
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 22:15:12 +0000 (22:15 +0000)]
Add testcase for creation and destruction of backends
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2896
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 22:11:39 +0000 (22:11 +0000)]
Dismantle directors and backends properly.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2895
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 21:49:21 +0000 (21:49 +0000)]
More polishing of backend parsing/syntax error messages
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2894
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 21:22:20 +0000 (21:22 +0000)]
Nitpicking
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2893
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 21:22:06 +0000 (21:22 +0000)]
Fix an encoding bug that affects VCLs shorter than 1 char.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2892
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 21:09:05 +0000 (21:09 +0000)]
testcase for unknown backend field
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2891
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 21:06:55 +0000 (21:06 +0000)]
Testcase for old backend syntax.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2890
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 21:01:25 +0000 (21:01 +0000)]
More polishing of backend compilation.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2889
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 20:26:58 +0000 (20:26 +0000)]
Move backend stuff to the correct .h file
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2888
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 18:26:15 +0000 (18:26 +0000)]
Don't allow the invisible simple director to reference backend defined
by another simple director, it would be too hard to explain why they
shared statistics and harder yet to make them not do so.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2887
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 18:21:06 +0000 (18:21 +0000)]
Redo toplevel parser to use table.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2886
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 18:02:06 +0000 (18:02 +0000)]
Move random director to separate source file.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2885
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 17:42:42 +0000 (17:42 +0000)]
Add a test-case for backend reference errors.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2884
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 17:42:27 +0000 (17:42 +0000)]
Improve error messages in backend specifications
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2883
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 17:21:57 +0000 (17:21 +0000)]
Just to avoid misunderstandings: say that we expected the VCL compilation errors.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2882
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 17:19:32 +0000 (17:19 +0000)]
Improve error messages related to syntax check of backend decls.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2881
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 17:19:10 +0000 (17:19 +0000)]
Add test-case or syntax-checks of backend decls.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2880
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 17:16:50 +0000 (17:16 +0000)]
Add -badvcl for VCL code we expect the compiler to whine about.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2879
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 7 Jul 2008 16:33:57 +0000 (16:33 +0000)]
White space fix
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2878
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 1 Jul 2008 19:31:53 +0000 (19:31 +0000)]
Polishing: use mini_obj.h
Use a hash for faster backend list search
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2877
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 1 Jul 2008 19:31:16 +0000 (19:31 +0000)]
Polish: use mini_obj.h
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2876
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 1 Jul 2008 19:30:54 +0000 (19:30 +0000)]
Use mini_obj more.
dlclose() VCL's when we throw them out.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2875
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 1 Jul 2008 19:30:11 +0000 (19:30 +0000)]
Fix cleanup errors on random director: release all backends.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2874
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 1 Jul 2008 19:29:01 +0000 (19:29 +0000)]
Make it possible to run custom VCL programs through flexelint.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2873
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 1 Jul 2008 19:23:56 +0000 (19:23 +0000)]
Fix a brain-o in the backend identification string: We need to
explicitly and uniquely identify all backend stanzas because they
have individual metrics.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2872
d4fa192b -c00b-0410-8231-
f00ffab90ce4
tfheen [Mon, 30 Jun 2008 09:08:01 +0000 (09:08 +0000)]
Make sure to distribute tests as well
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2871
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Mon, 30 Jun 2008 02:11:54 +0000 (02:11 +0000)]
Old patch: greatly improve performance and memory usage by using per-thread
pre-allocated buffers instead of malloc().
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2864
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Mon, 30 Jun 2008 02:03:58 +0000 (02:03 +0000)]
Convert from FILE * to fd.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2863
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Mon, 30 Jun 2008 01:44:33 +0000 (01:44 +0000)]
The correct return value when we reach the end is -1, not 0.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2862
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Mon, 30 Jun 2008 01:40:12 +0000 (01:40 +0000)]
Change my email address.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2861
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 13:31:27 +0000 (13:31 +0000)]
Test switching of VCLs
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2860
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 13:12:02 +0000 (13:12 +0000)]
Test busy then pass
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2859
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 13:09:49 +0000 (13:09 +0000)]
test busying subsequent requests on backend access.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2858
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 13:09:15 +0000 (13:09 +0000)]
One second is too hysterical a timeout
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2857
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 12:58:46 +0000 (12:58 +0000)]
test miss from pass
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2856
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 12:51:47 +0000 (12:51 +0000)]
Test "hit for pass" (pass from vcl_fetch)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2855
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 12:48:12 +0000 (12:48 +0000)]
Test pass from vcl_hit{}
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2854
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 12:44:47 +0000 (12:44 +0000)]
Add test for simple restarts
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2853
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 12:32:02 +0000 (12:32 +0000)]
Add testcase for partial pipelining/read-ahead
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2852
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 12:30:42 +0000 (12:30 +0000)]
Add testcase for pipelining
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2851
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 12:30:25 +0000 (12:30 +0000)]
Fix a minor issue in pipelining
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2850
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 11:33:29 +0000 (11:33 +0000)]
Forgot to set resp.status
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2849
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 11:18:00 +0000 (11:18 +0000)]
Get "line1" request/reponse fields under control.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2848
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 11:16:58 +0000 (11:16 +0000)]
polish
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2847
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 11:04:54 +0000 (11:04 +0000)]
VCL/VRT testcase for proto/request/url/response fields.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2846
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 10:37:23 +0000 (10:37 +0000)]
add req.grace handling as well
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2845
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 27 Jun 2008 10:15:55 +0000 (10:15 +0000)]
Add testcase for VCL/VRT obj.ttl and obj.grace
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2844
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 22:55:25 +0000 (22:55 +0000)]
Be even more careful with server fd's
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2843
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 22:45:49 +0000 (22:45 +0000)]
Fix ESI:include tags: they have to be empty.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2842
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 22:27:37 +0000 (22:27 +0000)]
Use shutdown for both directions, TCP works correctly.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2841
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 22:14:02 +0000 (22:14 +0000)]
Drop a _.ok file if we are all done.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2840
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 22:12:23 +0000 (22:12 +0000)]
Close servers TCP connection more gracefully for EOF handling.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2839
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 21:42:05 +0000 (21:42 +0000)]
Oops, only enable $evilhack when we want to.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2838
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 21:09:32 +0000 (21:09 +0000)]
Testcase for ESI fragmented storage parsing
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2837
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 21:07:07 +0000 (21:07 +0000)]
Add an undocumented debug facility that allows us to force a received
object to be fragmented into smaller bits are out command.
This is necessary to be able to write sensible testcases for the
abilities of the ESI parsing code to navigate storage boundaries.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2836
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 12:41:51 +0000 (12:41 +0000)]
Test for HTTP/1.0 (EOF) transmission
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2835
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 12:32:06 +0000 (12:32 +0000)]
Two slow testcases to test object expiry
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2834
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 12:12:29 +0000 (12:12 +0000)]
Test If-Modified-Since
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2833
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 11:55:39 +0000 (11:55 +0000)]
ESI testcase for including from different host (http://...)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2832
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 11:49:58 +0000 (11:49 +0000)]
ESI include with relative src
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2831
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 11:36:46 +0000 (11:36 +0000)]
Test banning a hash
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2830
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 11:36:07 +0000 (11:36 +0000)]
Test banning a URL
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2829
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 11:24:25 +0000 (11:24 +0000)]
A testcase for the simple_list hasher
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2828
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 11:17:03 +0000 (11:17 +0000)]
Testcase for the poll acceptor
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2827
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 11:15:22 +0000 (11:15 +0000)]
Allow the selector to be chosen by parameter "acceptor"
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2826
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 10:41:56 +0000 (10:41 +0000)]
Commented ESI:include
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2825
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 10:39:23 +0000 (10:39 +0000)]
ESI:include test case
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2824
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 10:36:54 +0000 (10:36 +0000)]
Test ESI CDATA quoting
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2823
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 10:29:07 +0000 (10:29 +0000)]
The first two incomplete ESI testcases
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2822
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 10:28:49 +0000 (10:28 +0000)]
Also receive chunked encoding bodies.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2821
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 10:27:44 +0000 (10:27 +0000)]
Oops: only whine when we do have an unterminated strin
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2820
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 10:26:12 +0000 (10:26 +0000)]
Better diagnostics
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2819
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 09:45:29 +0000 (09:45 +0000)]
Make -body automatically create a Content-Length header in txresp and txreq.
For lowerlevel syntax based tests, we can revert to send and chunked.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2818
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 09:22:46 +0000 (09:22 +0000)]
Use 10 second CLI timeout
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2817
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 26 Jun 2008 08:53:51 +0000 (08:53 +0000)]
Add -chunked primitive for easier message composition.
Go over varnishtest with FlexeLint
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2816
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 22:09:00 +0000 (22:09 +0000)]
Test case for CLI help and parameter functions
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2815
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 21:57:56 +0000 (21:57 +0000)]
Add chunked encoding from backend test.
Fix copy&paste mistake in test b00006
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2814
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 21:52:55 +0000 (21:52 +0000)]
Add a -s malloc testcase
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2813
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 21:22:13 +0000 (21:22 +0000)]
A simple ACL testcase
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2812
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 21:12:04 +0000 (21:12 +0000)]
Test for match with leading and trailing space as well.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2811
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 21:06:40 +0000 (21:06 +0000)]
Remember to test the case with missing vary header
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2810
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 20:53:43 +0000 (20:53 +0000)]
Add a Vary testcase
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2809
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 15:56:05 +0000 (15:56 +0000)]
Grap reference count on backend used by name in directors.
Fixes ticket 263
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2808
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 15:54:52 +0000 (15:54 +0000)]
Testcase for ticket 263
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2807
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 15:36:28 +0000 (15:36 +0000)]
Fix a startup race condition: Make sure the threadpools are created
before the herder starts, in order that it will create the minimum
number of threads in the pool.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2806
d4fa192b -c00b-0410-8231-
f00ffab90ce4
tfheen [Wed, 25 Jun 2008 13:33:12 +0000 (13:33 +0000)]
Set version to trunk in configure.ac
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2805
d4fa192b -c00b-0410-8231-
f00ffab90ce4
tfheen [Wed, 25 Jun 2008 13:32:29 +0000 (13:32 +0000)]
Set version to 2.0-tp2 in configure.ac
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2803
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 10:04:49 +0000 (10:04 +0000)]
Compensate for \r being magic now.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2802
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 09:59:21 +0000 (09:59 +0000)]
Fix for ticket 262: When we trim leading whitespace that was
read-ahead, NUL the rxbuffer.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2801
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 09:58:43 +0000 (09:58 +0000)]
Add regression test for ticket 262
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2800
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 09:58:31 +0000 (09:58 +0000)]
Add "send" command for explicitly sending bytestrings
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2799
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 25 Jun 2008 09:57:54 +0000 (09:57 +0000)]
Handle \r in strings
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2798
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 24 Jun 2008 21:39:04 +0000 (21:39 +0000)]
Fix Flexelint complaints
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2797
d4fa192b -c00b-0410-8231-
f00ffab90ce4