Changeset 412
- Timestamp:
- 06/28/2005 05:25:35 PM (3 years ago)
- Location:
- branches/lighttpd-1.3.x/tests
- Files:
-
- 2 modified
-
mod-proxy.t (modified) (2 diffs)
-
proxy.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.3.x/tests/mod-proxy.t
r394 r412 9 9 use strict; 10 10 use IO::Socket; 11 use Test::More tests => 5;11 use Test::More tests => 6; 12 12 use LightyTest; 13 13 … … 41 41 ok($tf_proxy->handle_http($t) == 0, 'valid request'); 42 42 43 $t->{REQUEST} = ( <<EOF 44 GET /phpinfo.php HTTP/1.0 45 Host: www.example.org 46 EOF 47 ); 48 $t->{RESPONSE} = ( { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'Server' => 'Proxy' } ); 49 ok($tf_proxy->handle_http($t) == 0, 'drop Server from real server'); 50 43 51 ok($tf_proxy->stop_proc == 0, "Stopping lighttpd proxy"); 44 52 -
branches/lighttpd-1.3.x/tests/proxy.conf
r351 r412 9 9 server.errorlog = "/tmp/lighttpd/logs/lighttpd.error.log" 10 10 server.name = "www.example.org" 11 server.tag = " Apache 1.3.29"11 server.tag = "Proxy" 12 12 13 13 server.dir-listing = "enable"

