diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-18 22:54:57 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-18 22:54:57 +0000 |
commit | 490cccba3cfd5ba54ecb64a10fb63c2f0e94a67d (patch) | |
tree | eb23253d22757afac1453bb875043db4ffa65f6e /tests | |
parent | 839441e236764996425fe768e9497b1f914cea3e (diff) |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test508 | 1 | ||||
-rw-r--r-- | tests/data/test510 | 1 | ||||
-rw-r--r-- | tests/data/test513 | 1 | ||||
-rw-r--r-- | tests/data/test515 | 1 |
4 files changed, 0 insertions, 4 deletions
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 </protocol> 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
</protocol> # 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
</protocol> </verify> |