Welcome! Log In Create A New Profile

Advanced

[PATCH 1 of 3] Tests: style

Maxim Dounin
March 10, 2023 12:02AM
# HG changeset patch
# User Maxim Dounin <mdounin@mdounin.ru>
# Date 1678424069 -10800
# Fri Mar 10 07:54:29 2023 +0300
# Node ID fdebeebd07b160f1d30e18d56e64dfb08570f8b1
# Parent 1e1d0f3874b0c5b1e399ec76b0198b5c9c265a36
Tests: style.

diff --git a/lib/Test/Nginx/IMAP.pm b/lib/Test/Nginx/IMAP.pm
--- a/lib/Test/Nginx/IMAP.pm
+++ b/lib/Test/Nginx/IMAP.pm
@@ -66,9 +66,9 @@ sub getline {
}

while (IO::Select->new($socket)->can_read(8)) {
- $socket->blocking(0);
+ $socket->blocking(0);
my $n = $socket->sysread(my $buf, 1024);
- $socket->blocking(1);
+ $socket->blocking(1);
last unless $n;

$self->{_read_buffer} .= $buf;
diff --git a/lib/Test/Nginx/Stream.pm b/lib/Test/Nginx/Stream.pm
--- a/lib/Test/Nginx/Stream.pm
+++ b/lib/Test/Nginx/Stream.pm
@@ -86,7 +86,7 @@ sub read {
$s->blocking(0);
if (IO::Select->new($s)->can_read($extra{read_timeout} || 8)) {
$s->sysread($buf, 1024);
- };
+ }

log_in($buf);
return $buf;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 1 of 3] Tests: style

Maxim Dounin 597 March 10, 2023 12:02AM

[PATCH 2 of 3] Tests: handling of EAGAIN from sysread() with IO::Socket::SSL

Maxim Dounin 157 March 10, 2023 12:02AM

Re: [PATCH 2 of 3] Tests: handling of EAGAIN from sysread() with IO::Socket::SSL

Maxim Dounin 149 March 11, 2023 04:32AM

Re: [PATCH 2 of 3] Tests: handling of EAGAIN from sysread() with IO::Socket::SSL

Sergey Kandaurov 150 March 20, 2023 11:36AM

[PATCH 3 of 3] Tests: adapted session reuse tests to work with TLSv1.3

Maxim Dounin 160 March 10, 2023 12:02AM

Re: [PATCH 3 of 3] Tests: adapted session reuse tests to work with TLSv1.3

Sergey Kandaurov 138 March 20, 2023 11:50AM

Re: [PATCH 3 of 3] Tests: adapted session reuse tests to work with TLSv1.3

Maxim Dounin 182 March 20, 2023 08:00PM

Re: [PATCH 1 of 3] Tests: style

Sergey Kandaurov 143 March 20, 2023 11:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 222
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready