From 7291772b1f62b858a7b15182aacc75f8bebe9e77 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 21 Jun 2004 14:08:48 +0000 Subject: added test case 513 --- tests/data/test513 | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tests/data/test513 (limited to 'tests/data/test513') diff --git a/tests/data/test513 b/tests/data/test513 new file mode 100644 index 000000000..b19ecd762 --- /dev/null +++ b/tests/data/test513 @@ -0,0 +1,40 @@ +# +# Server-side + + + +# Client-side + + +http + +# tool is what to use instead of 'curl' + +lib513 + + + +send HTTP POST using read callback that returns CURL_READFUNC_ABORT + + +http://%HOSTIP:%HOSTPORT/513 + + + +# +# Verify data after the test has been "shot" + + +POST /513 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: */* +Content-Length: 1 +Content-Type: application/x-www-form-urlencoded + + +# 42 - aborted by callback + +42 + + -- cgit v1.2.3