comparison proxy_websocket.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 b86c05516e65
comparison
equal deleted inserted replaced
342:86fa2a5a37ea 343:e7dc8f4d0a4b
237 my $n; 237 my $n;
238 238
239 log2c("(new connection $client)"); 239 log2c("(new connection $client)");
240 240
241 while (1) { 241 while (1) {
242 $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); 242 $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN));
243 my $p = $poll->poll(0.5); 243 my $p = $poll->poll(0.5);
244 log2c("(poll $p)"); 244 log2c("(poll $p)");
245 245
246 foreach my $reader ($poll->handles(POLLIN)) { 246 foreach my $reader ($poll->handles(POLLIN)) {
247 $n = $client->sysread(my $chunk, 65536); 247 $n = $client->sysread(my $chunk, 65536);