From 30cec6c0d9a180fae3c3d4b2f75011c0bcd1e7fd Mon Sep 17 00:00:00 2001 From: An Tran Date: Wed, 14 Feb 2024 14:06:20 +1000 Subject: [PATCH] t/large-client-header-buffers.t fix typo and remove unsued code --- t/large-client-header-buffers.t | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/t/large-client-header-buffers.t b/t/large-client-header-buffers.t index 788cfd2f3..78b570acd 100644 --- a/t/large-client-header-buffers.t +++ b/t/large-client-header-buffers.t @@ -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 { @@ -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()) @@ -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()) @@ -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()) @@ -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())