Skip to content

Commit

Permalink
t/large-client-header-buffers.t fix typo and remove unsued code
Browse files Browse the repository at this point in the history
  • Loading branch information
tkan145 committed Feb 14, 2024
1 parent 5f752bf commit 3cda591
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions t/large-client-header-buffers.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ run_tests();

__DATA__
=== TEST 1: large header (the header exceed exceed the size of one buffer)
=== TEST 1: large header (the header exceed the size of one buffer)
Default configuration for large_client_header_buffers: 4 8k
--- configuration env
{
Expand All @@ -32,7 +32,6 @@ Default configuration for large_client_header_buffers: 4 8k
}
--- upstream
client_header_buffer_size 10;
location / {
content_by_lua_block {
ngx.print(ngx.req.raw_header())
Expand Down Expand Up @@ -80,7 +79,6 @@ GET /?user_key=value
}
--- upstream
client_header_buffer_size 10;
location / {
content_by_lua_block {
ngx.print(ngx.req.raw_header())
Expand Down Expand Up @@ -132,7 +130,6 @@ Large-Header: " . ("ABCDEFGH" x 1024) . "\r\n\r\n"
}
--- upstream
client_header_buffer_size 10;
location / {
content_by_lua_block {
ngx.print(ngx.req.raw_header())
Expand Down Expand Up @@ -181,7 +178,6 @@ client sent too long URI while reading client request line
}
--- upstream
client_header_buffer_size 10;
location / {
content_by_lua_block {
ngx.print(ngx.req.raw_header())
Expand Down

0 comments on commit 3cda591

Please sign in to comment.