summaryrefslogtreecommitdiff
path: root/tests/mod-secdownload.t
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2008-03-01 19:10:47 +0000
committerStefan Bühler <stbuehler@web.de>2008-03-01 19:10:47 +0000
commit52840fa1ed022882ec3e278961ccfc4b81f2d07d (patch)
tree52aee7588cb2262aaa60187264852f6b0c69b5ac /tests/mod-secdownload.t
parent6754ad511641ea19163eee7202b130ee8681ffe2 (diff)
downloadlighttpd1.4-52840fa1ed022882ec3e278961ccfc4b81f2d07d.tar.gz
lighttpd1.4-52840fa1ed022882ec3e278961ccfc4b81f2d07d.zip
fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload (#1440)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2111 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/mod-secdownload.t')
-rwxr-xr-xtests/mod-secdownload.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mod-secdownload.t b/tests/mod-secdownload.t
index 571b25bd..c8cad385 100755
--- a/tests/mod-secdownload.t
+++ b/tests/mod-secdownload.t
@@ -39,9 +39,9 @@ GET /sec/$m/$thex$f HTTP/1.0
Host: vvv.example.org
EOF
);
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 408 } ];
+$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 410 } ];
-ok($tf->handle_http($t) == 0, 'secdownload - timeout');
+ok($tf->handle_http($t) == 0, 'secdownload - gone (timeout)');
$t->{REQUEST} = ( <<EOF
GET /sec$f HTTP/1.0