Don't set CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE in case of HTTP/1.0 requests.
[privoxy.git] / regression-tests.action
index 13a881f..ab5949b 100644 (file)
@@ -1,5 +1,5 @@
 #############################################################################
-# $Id: regression-tests.action,v 1.24 2009/05/27 20:37:15 fabiankeil Exp $
+# $Id: regression-tests.action,v 1.28 2009/06/18 17:14:16 fabiankeil Exp $
 #############################################################################
 #
 # This is a configuration file for Privoxy-Regression-Test
@@ -34,9 +34,11 @@ for-privoxy-version=3.0.13
 # Level  9 needs = config line user-manual\s+(\.?\.?/|[A-Za-z]:)
 # Level 12 needs = config line enable-edit-actions\s+1
 # Level 13 needs = feature status FEATURE_CONNECTION_KEEP_ALIVE Yes
+# Level 13 needs = config line keep-alive-timeout\s+[1-9]+
 # Level 14 needs = feature status FEATURE_CONNECTION_KEEP_ALIVE No
 # Level 15 needs = config line connection-sharing\s+0
 # Level 16 needs = config line connection-sharing\s+1
+# Level 17 needs = feature status FEATURE_PTHREAD Yes
 
 #######################################################
 # Enable taggers to activate the tests on demand
@@ -254,6 +256,13 @@ TAG:^hide-if-modified-since\{block\}$
 # Expect Header = SOME CHANGE
 # Set Header    = If-Modified-Since: Thu, 1 Jan 1970 00:00:00 GMT
 # Expect Header = SOME CHANGE
+# Level = 17
+# Set Header    = If-Modified-Since: Thu, 1 Jan 123456789 00:00:00 GMT
+# Expect Header = REMOVAL
+# Set Header    = If-Modified-Since: Mon, 1 Jan 2525 00:00:00 GMT
+# Expect Header = SOME CHANGE
+# Set Header    = If-Modified-Since: Thu, 1 Jan 1970 02:00:00 GMT
+# Expect Header = SOME CHANGE
 
 {+hide-if-modified-since{-60} -crunch-if-none-match}
 TAG:^hide-if-modified-since\{-60\}$
@@ -776,6 +785,11 @@ www.blocked-request.example/blocked-request-with-no-reason-specified
 # Blocked URL = http://domain-pattern-test.example.org/
 domain-pattern-test.example.
 
+{+block{Hostname patterns without trailing dots cover hostnames with trailing dots as well.}}
+# Blocked URL = http://trailing-dot.example.org./
+# Blocked URL = http://trailing-dot.example.org./foo
+trailing-dot.example.org
+
 # Just in case there is no white-space fuzzer in the house ...
 #
 # Set Header = X-LWS-Test: no superfluous white space here