@@ -24,6 +24,7 @@ no_long_string();
2424run_tests();
2525
2626__DATA__
27+
2728=== TEST 1 : Chunked streaming body reader returns the right content length.
2829-- - http_config eval: $::HttpConfig
2930-- - config
@@ -76,6 +77,7 @@ chunked
7677[warn ]
7778
7879
80+
7981=== TEST 2 : Non-Chunked streaming body reader returns the right content length.
8082-- - http_config eval: $::HttpConfig
8183-- - config
131133[warn ]
132134
133135
134- === TEST 2 b: Non-Chunked streaming body reader, buffer size becomes nil
136+
137+ === TEST 3 b: Non-Chunked streaming body reader, buffer size becomes nil
135138-- - http_config eval: $::HttpConfig
136139-- - config
137140 location = /a {
184187Buffer size not specified, bailing
185188
186189
187- === TEST 3 : HTTP 1.0 body reader with no max size returns the right content length.
190+
191+ === TEST 4 : HTTP 1.0 body reader with no max size returns the right content length.
188192-- - http_config eval: $::HttpConfig
189193-- - config
190194 location = /a {
240244[warn ]
241245
242246
243- === TEST 4 : HTTP 1.0 body reader with max chunk size returns the right content length.
247+
248+ === TEST 5 : HTTP 1.0 body reader with max chunk size returns the right content length.
244249-- - http_config eval: $::HttpConfig
245250-- - config
246251 location = /a {
298303[warn ]
299304
300305
301- === TEST 4 b: HTTP 1.0 body reader with no content length, stream works as expected.
306+
307+ === TEST 6 b: HTTP 1.0 body reader with no content length, stream works as expected.
302308-- - http_config eval: $::HttpConfig
303309-- - config
304310 location = /a {
@@ -365,7 +371,8 @@ GET /a
365371[warn ]
366372
367373
368- === TEST 5 : Chunked streaming body reader with max chunk size returns the right content length.
374+
375+ === TEST 7 : Chunked streaming body reader with max chunk size returns the right content length.
369376-- - http_config eval: $::HttpConfig
370377-- - config
371378 location = /a {
@@ -421,7 +428,8 @@ chunked
421428[warn ]
422429
423430
424- === TEST 6 : Request reader correctly reads body
431+
432+ === TEST 8 : Request reader correctly reads body
425433-- - http_config eval: $::HttpConfig
426434-- - config
427435 location = /a {
@@ -450,7 +458,9 @@ foobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarba
450458[error]
451459[warn ]
452460
453- === TEST 7 : Request reader correctly reads body in chunks
461+
462+
463+ === TEST 9 : Request reader correctly reads body in chunks
454464-- - http_config eval: $::HttpConfig
455465-- - config
456466 location = /a {
@@ -484,7 +494,8 @@ foobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarba
484494[warn ]
485495
486496
487- === TEST 8 : Request reader passes into client
497+
498+ === TEST 10 : Request reader passes into client
488499-- - http_config eval: $::HttpConfig
489500-- - config
490501 location = /a {
@@ -532,7 +543,8 @@ foobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarbazfoobarba
532543[warn ]
533544
534545
535- === TEST 9 : Body reader is a function returning nil when no body is present.
546+
547+ === TEST 11 : Body reader is a function returning nil when no body is present.
536548-- - http_config eval: $::HttpConfig
537549-- - config
538550 location = /a {
@@ -569,7 +581,8 @@ GET /a
569581[warn ]
570582
571583
572- === TEST 10 : Issue a notice (but do not error) if trying to read the request body in a subrequest
584+
585+ === TEST 12 : Issue a notice (but do not error) if trying to read the request body in a subrequest
573586-- - http_config eval: $::HttpConfig
574587-- - config
575588 location = /a {
0 commit comments