From 15622e69a995bb4bee04bc647d86d658860914be Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 2 Oct 2010 00:21:59 +0200 Subject: sws: Added writedelay HTTP server command This delays between write operations, hopefully making it easier to spot problems where libcurl doesn't flush the socket properly before waiting for the next response. --- tests/data/test1117 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'tests/data/test1117') diff --git a/tests/data/test1117 b/tests/data/test1117 index 25737bcd2..5b696112b 100644 --- a/tests/data/test1117 +++ b/tests/data/test1117 @@ -13,9 +13,10 @@ Range HTTP/1.1 416 Requested Range Not Satisfiable Date: Thu, 09 Sep 2010 14:49:00 GMT Accept-Ranges: bytes -Content-Length: 6 +Content-Length: 115 -Error +This is a long error message that is large enough that the test server is +guaranteed to split it into two packets. @@ -28,6 +29,10 @@ Content-Type: text/plain partial body + + +writedelay: 1 + # Client-side @@ -49,8 +54,10 @@ HTTP with invalid range then another URL HTTP/1.1 416 Requested Range Not Satisfiable Date: Thu, 09 Sep 2010 14:49:00 GMT Accept-Ranges: bytes -Content-Length: 6 +Content-Length: 115 +This is a long error message that is large enough that the test server is +guaranteed to split it into two packets. HTTP/1.1 206 Partial Content Date: Thu, 09 Sep 2010 14:49:01 GMT Accept-Ranges: bytes -- cgit v1.2.3