From 490cccba3cfd5ba54ecb64a10fb63c2f0e94a67d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 18 Aug 2006 22:54:57 +0000 Subject: Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't send the whole request at once, even though the Expect: header was disabled by the application. An effect of this change is also that small (< 1024 bytes) POSTs are now always sent without Expect: header since we deem it more costly to bother about that than the risk that we send the data in vain. --- tests/data/test508 | 1 - tests/data/test510 | 1 - tests/data/test513 | 1 - tests/data/test515 | 1 - 4 files changed, 4 deletions(-) (limited to 'tests') diff --git a/tests/data/test508 b/tests/data/test508 index 3d3c6c9e0..9ebbaa92a 100644 --- a/tests/data/test508 +++ b/tests/data/test508 @@ -39,7 +39,6 @@ Host: 127.0.0.1:%HTTPPORT Accept: */* Content-Length: 45 Content-Type: application/x-www-form-urlencoded -Expect: 100-continue this is what we post to the silly web server diff --git a/tests/data/test510 b/tests/data/test510 index 79c2d11a6..1c883f18d 100644 --- a/tests/data/test510 +++ b/tests/data/test510 @@ -39,7 +39,6 @@ Host: 127.0.0.1:%HTTPPORT Accept: */* Transfer-Encoding: chunked Content-Type: application/x-www-form-urlencoded -Expect: 100-continue 3 one diff --git a/tests/data/test513 b/tests/data/test513 index 920cbcc17..44063bc18 100644 --- a/tests/data/test513 +++ b/tests/data/test513 @@ -30,7 +30,6 @@ Host: 127.0.0.1:%HTTPPORT Accept: */* Content-Length: 1 Content-Type: application/x-www-form-urlencoded -Expect: 100-continue # 42 - aborted by callback diff --git a/tests/data/test515 b/tests/data/test515 index f6be8c42c..566da84f4 100644 --- a/tests/data/test515 +++ b/tests/data/test515 @@ -40,7 +40,6 @@ Host: 127.0.0.1:%HTTPPORT Accept: */* Content-Length: 0 Content-Type: application/x-www-form-urlencoded -Expect: 100-continue -- cgit v1.2.3