From: Eric Wong Date: Thu, 3 Apr 2025 08:46:18 +0000 (+0000) Subject: t/httpd-https: fix extra CRLF in request X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fae692085f3ebe6746a3c9e598786d46ec348d01;p=thirdparty%2Fpublic-inbox.git t/httpd-https: fix extra CRLF in request I only noticed this via manual inspection since the test doesn't reuse the socket afterwards. --- diff --git a/t/httpd-https.t b/t/httpd-https.t index 142a7a56d..46a2c8644 100644 --- a/t/httpd-https.t +++ b/t/httpd-https.t @@ -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?/;