diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-09-05 17:58:53 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-09-05 17:58:53 +0000 |
commit | 91ff93803512e3438ce165b23bb5b9fb404df288 (patch) | |
tree | 0fbc0009c6237d62fa4a4033ad69038a639522c3 /CHANGES | |
parent | 3acd1146f992a2b8c5da22a425c1380673c5bdef (diff) |
Improved the logic the decides whether to use HTTP 1.1 features or not in a
request.
Detect cases where an upload must be sent chunked and the server supports
only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -6,6 +6,19 @@ Changelog +Daniel Fandrich (5 Sep 2008) +- Improved the logic the decides whether to use HTTP 1.1 features or not in a + request. Setting a specific version with CURLOPT_HTTP_VERSION overrides + all other checks, but otherwise, a 1.0 request will be made if the server + is known to support only 1.0 because it previously responded so and the + connection was kept alive, or a response to a previous request on this handle + came back as 1.0. The latter could take place in cases like redirection or + authentication where several requests have to be made before the operation + is complete. + +- Detect cases where an upload must be sent chunked and the server supports + only HTTP 1.0 and return CURLE_UPLOAD_FAILED. + Daniel Stenberg (5 Sep 2008) - Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames CURLOPT_POST301 (but adds a define for backwards compatibility for you who |