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 603aba3 commit 6747edcCopy full SHA for 6747edc
t/http_proxy_connect.t
@@ -265,7 +265,7 @@ EOF
265
return '' if $extra{aborted};
266
my $n = $s->sysread($reply, 65536);
267
return unless $n;
268
- if ($reply !~ /HTTP\/1\.0 200 Connection Established\r\nProxy-agent: .+\r\n\r\n/) {
+ if ($reply !~ /HTTP\/1\.[01] 200 Connection Established\r\nProxy-agent: .+\r\n\r\n/) {
269
return $reply;
270
}
271
log_out($request);
0 commit comments