From 8440616f53056b2330393d1b0740c89a30376c67 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 13 Aug 2018 12:12:14 +0200 Subject: http: fix for tiny "HTTP/0.9" response Deal with tiny "HTTP/0.9" (header-less) responses by checking the status-line early, even before a full "HTTP/" is received to allow detecting 0.9 properly. Test 1266 and 1267 added to verify. Fixes #2420 Closes #2872 --- tests/FILEFORMAT | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/FILEFORMAT') diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index d584ac163..135ded6c1 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -169,6 +169,7 @@ connection-monitor When used, this will log [DISCONNECT] to the server.input log when the connection is disconnected. upgrade when an HTTP upgrade header is found, the server will upgrade to http2 +swsclose instruct server to close connection after response For TFTP: writedelay: [secs] delay this amount between reply packets (each packet being -- cgit v1.2.3