comparison dav_chunked.t @ 268:8dac281ff522

Tests: increase timeout for putting big chunk in dav_chunked.t.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 20 Mar 2013 18:20:28 +0400
parents 6a0d934950bc
children a9621dbbd0d4
comparison
equal deleted inserted replaced
267:9cd1a8dd47fc 268:8dac281ff522
88 like($r, qr/204 No Content/, 'put chunked empty'); 88 like($r, qr/204 No Content/, 'put chunked empty');
89 is(read_file($t->testdir() . '/file'), '', 'put empty content'); 89 is(read_file($t->testdir() . '/file'), '', 'put empty content');
90 90
91 my $body = ('a' . CRLF . '1234567890' . CRLF) x 1024 . '0' . CRLF . CRLF; 91 my $body = ('a' . CRLF . '1234567890' . CRLF) x 1024 . '0' . CRLF . CRLF;
92 92
93 $r = http(<<EOF); 93 $r = http(<<EOF, timeout => 5);
94 PUT /file HTTP/1.1 94 PUT /file HTTP/1.1
95 Host: localhost 95 Host: localhost
96 Connection: close 96 Connection: close
97 Transfer-Encoding: chunked 97 Transfer-Encoding: chunked
98 98