Skip to content

Commit 8e493fb

Browse files
defanatorFelipe Zimmerle
authored and
Felipe Zimmerle
committed
Tests: actually avoid body preread in corresponding test
1 parent 58d9044 commit 8e493fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/modsecurity-request-body.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ like(
138138
http(
139139
'POST /useauth HTTP/1.0' . CRLF
140140
. 'Content-Length: 64' . CRLF . CRLF
141-
. 'BODY' x 16
141+
. 'BODY' x 15,
142+
sleep => 0.1,
143+
body => 'BODY'
142144
),
143145
qr/TEST-OK-IF-YOU-SEE-THIS/,
144146
'POST with auth_request (request size < client_header_buffer_size), no preread'

0 commit comments

Comments
 (0)