From 22cfeac730d5b115b04f6b6ebf2f0a74f0bc978d Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Sat, 17 Sep 2016 01:48:20 -0400 Subject: easy: Reset all statistical session info in curl_easy_reset Bug: https://github.com/curl/curl/issues/1017 Reported-by: Jeroen Ooms --- tests/data/test1532 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tests/data/test1532 (limited to 'tests/data/test1532') diff --git a/tests/data/test1532 b/tests/data/test1532 new file mode 100644 index 000000000..5b2afc71a --- /dev/null +++ b/tests/data/test1532 @@ -0,0 +1,49 @@ + + + +HTTP +HTTP GET + + + +# +# Server-side + + +HTTP/1.0 200 OK swsclose +Content-Length: 0 + + + + +# Client-side + + +http + +# tool is what to use instead of 'curl' + +lib1532 + + +Test CURLINFO_RESPONSE_CODE + + +http://%HOSTIP:%HTTPPORT/1532 + + + +# +# Verify data after the test has been "shot" + + +GET /1532 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + +0 + + + -- cgit v1.2.3