Alexey Simak found out that when doing FTP with the multi interface and
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Dec 2006 09:32:58 +0000 (09:32 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Dec 2006 09:32:58 +0000 (09:32 +0000)
commit88c8d72a214864952b6d1c2347b6c3f5b7d69e84
tree965d76e2bd0a815d0ec6754f7d2f7db23d8f6a70
parentcf99fed17a99d11a7c4e93855a97402b669afb7d
Alexey Simak found out that when doing FTP with the multi interface and
something went wrong like it got a bad response code back from the server,
libcurl would leak memory. Added test case 538 to verify the fix.

I also noted that the connection would get cached in that case, which
doesn't make sense since it cannot be re-use when the authentication has
failed. I fixed that issue too at the same time, and also that the path
would be "remembered" in vain for cases where the connection was about to
get closed.
CHANGES
RELEASE-NOTES
lib/ftp.c
lib/url.c
tests/data/Makefile.am
tests/data/test538 [new file with mode: 0644]