We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0af3c commit cd57719Copy full SHA for cd57719
lib/Test/Nginx/IMAP.pm
@@ -66,9 +66,9 @@ sub getline {
66
}
67
68
while (IO::Select->new($socket)->can_read(8)) {
69
- $socket->blocking(0);
+ $socket->blocking(0);
70
my $n = $socket->sysread(my $buf, 1024);
71
- $socket->blocking(1);
+ $socket->blocking(1);
72
last unless $n;
73
74
$self->{_read_buffer} .= $buf;
lib/Test/Nginx/Stream.pm
@@ -86,7 +86,7 @@ sub read {
86
$s->blocking(0);
87
if (IO::Select->new($s)->can_read($extra{read_timeout} || 8)) {
88
$s->sysread($buf, 1024);
89
- };
+ }
90
91
log_in($buf);
92
return $buf;
0 commit comments