comparison proxy_websocket.t @ 925:6bb1f2ccd386

Tests: removed unused variables.
author Andrey Zelenkov <zelenkov@nginx.com>
date Fri, 13 May 2016 14:46:07 +0300
parents a9569f57da98
children e9064d691790
comparison
equal deleted inserted replaced
924:54680c434afa 925:6bb1f2ccd386
240 while (1) { 240 while (1) {
241 $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); 241 $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN));
242 my $p = $poll->poll(0.5); 242 my $p = $poll->poll(0.5);
243 log2c("(poll $p)"); 243 log2c("(poll $p)");
244 244
245 foreach my $reader ($poll->handles(POLLIN)) { 245 foreach ($poll->handles(POLLIN)) {
246 $n = $client->sysread(my $chunk, 65536); 246 $n = $client->sysread(my $chunk, 65536);
247 return unless $n; 247 return unless $n;
248 248
249 log2i($chunk); 249 log2i($chunk);
250 250