From 641d5c411198b7c9adb35cf4e0aea77846be3680 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 13 Mar 2008 21:43:39 +0000 Subject: [PATCH] - Brian Ulm figured out that if you did an SFTP upload with CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the handle and uploaded another file to another directory that needed to be created, the second upload would fail. Another case of a state variable that wasn't properly reset between requests. - I rewrote the 100-continue code to use a single state variable instead of the previous two ones. I think it made the logic somewhat clearer. --- CHANGES | 12 +++++++++++- RELEASE-NOTES | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 5f62bcafc..0ac0f9544 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,16 @@ Changelog +Daniel Stenberg (13 Mar 2008) +- Brian Ulm figured out that if you did an SFTP upload with + CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the + handle and uploaded another file to another directory that needed to be + created, the second upload would fail. Another case of a state variable that + wasn't properly reset between requests. + +- I rewrote the 100-continue code to use a single state variable instead of + the previous two ones. I think it made the logic somewhat clearer. + Daniel Stenberg (11 Mar 2008) - Dmitry Popov filed bug report #1911069 (http://curl.haxx.se/bug/view.cgi?id=1911069) that identified a race @@ -34,7 +44,7 @@ Daniel Stenberg (9 Mar 2008) - Brian Ulm reported that if you first tried to download a non-existing SFTP file and then fetched an existing one and re-used the handle, libcurl would - still report the second one as non-existing as well! I fixed it abd Brian + still report the second one as non-existing as well! I fixed it and Brian verified that it cured his problem. Michal Marek (6 Mar 2008) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 8dccd0d48..02d4c36ed 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -44,6 +44,7 @@ This release includes the following bugfixes: o SFTP non-existing file + SFTP existing file error o sharing DNS cache between easy handles running in multiple threads could lead to crash + o SFTP upload with CURLOPT_FTP_CREATE_MISSING_DIRS on re-used connection This release includes the following known bugs: