Mercurial > hg > nginx-tests
comparison proxy_upgrade.t @ 343:e7dc8f4d0a4b
Tests: whitespace and spelling fixes.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 26 Sep 2013 12:51:21 +0400 |
parents | a9621dbbd0d4 |
children | fc6b8270469c |
comparison
equal
deleted
inserted
replaced
342:86fa2a5a37ea | 343:e7dc8f4d0a4b |
---|---|
254 my $n; | 254 my $n; |
255 | 255 |
256 log2c("(new connection $client)"); | 256 log2c("(new connection $client)"); |
257 | 257 |
258 while (1) { | 258 while (1) { |
259 $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); | 259 $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); |
260 my $p = $poll->poll(0.5); | 260 my $p = $poll->poll(0.5); |
261 log2c("(poll $p)"); | 261 log2c("(poll $p)"); |
262 | 262 |
263 foreach my $reader ($poll->handles(POLLIN)) { | 263 foreach my $reader ($poll->handles(POLLIN)) { |
264 $n = $client->sysread(my $chunk, 65536); | 264 $n = $client->sysread(my $chunk, 65536); |