Skip to content

Commit 96ed47d

Browse files
committed
fixed test cases that rely on the old (broken) HTTP 1.0 support in ngx_echo.
1 parent 6bf7cca commit 96ed47d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

t/status.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ GET /flush
3939
srcache_fetch GET /memc $uri;
4040
srcache_store PUT /memc $uri;
4141
42-
echo hello;
42+
content_by_lua 'ngx.say("hello")';
4343
}
4444
4545
location /memc {

t/timeout.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use lib 'lib';
44
use Test::Nginx::Socket;
55

6-
#repeat_each(2);
6+
repeat_each(2);
77

88
plan tests => repeat_each() * 4 * blocks();
99

@@ -50,7 +50,7 @@ bad bad
5050
GET /foo
5151
--- response_headers
5252
Content-Type: text/css
53-
Content-Length: 6
53+
!Content-Length
5454
--- response_body
5555
hello
5656

0 commit comments

Comments
 (0)