Mercurial > hg > nginx-tests
comparison h2_headers.t @ 1192:366d789f3cbf
Tests: h2_headers.t cleanup after HTTP/2 tests split.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 16 Jun 2017 15:18:40 +0300 |
parents | 0a7d942d549b |
children | 9b737ad4260b |
comparison
equal
deleted
inserted
replaced
1191:a9187b424a94 | 1192:366d789f3cbf |
---|---|
108 } | 108 } |
109 | 109 |
110 EOF | 110 EOF |
111 | 111 |
112 $t->run_daemon(\&http_daemon); | 112 $t->run_daemon(\&http_daemon); |
113 | 113 $t->run()->waitforsocket('127.0.0.1:' . port(8083)); |
114 open OLDERR, ">&", \*STDERR; close STDERR; | |
115 $t->run(); | |
116 open STDERR, ">&", \*OLDERR; | |
117 | |
118 $t->waitforsocket('127.0.0.1:' . port(8083)); | |
119 | 114 |
120 # file size is slightly beyond initial window size: 2**16 + 80 bytes | 115 # file size is slightly beyond initial window size: 2**16 + 80 bytes |
121 | 116 |
122 $t->write_file('t1.html', | 117 $t->write_file('t1.html', |
123 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); | 118 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); |