]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
t/httpd-https: fix extra CRLF in request
authorEric Wong <e@80x24.org>
Thu, 3 Apr 2025 08:46:18 +0000 (08:46 +0000)
committerEric Wong <e@80x24.org>
Fri, 4 Apr 2025 19:52:44 +0000 (19:52 +0000)
I only noticed this via manual inspection since the test doesn't
reuse the socket afterwards.

t/httpd-https.t

index 142a7a56dafe6e4bd4dfd8f44eb60e94f2d050ed..46a2c8644a402533e62336d3a46ad7ac3c974fc7 100644 (file)
@@ -29,7 +29,7 @@ cp('certs/server-key.pem', $key) or xbail $!;
 
 my $check_url_scheme = sub {
        my ($s, $line) = @_;
-       $s->print("GET /url_scheme HTTP/1.1\r\n\r\nHost: example.com\r\n\r\n")
+       $s->print("GET /url_scheme HTTP/1.1\r\nHost: example.com\r\n\r\n")
                or xbail "failed to write HTTP request: $! (line $line)";
        my $buf = '';
        sysread($s, $buf, 2007, length($buf)) until $buf =~ /\r\n\r\nhttps?/;