Skip to content
Snippets Groups Projects
  • Daniel Stenberg's avatar
    88c8d72a
    Alexey Simak found out that when doing FTP with the multi interface and · 88c8d72a
    Daniel Stenberg authored
    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.
    88c8d72a
    History
    Alexey Simak found out that when doing FTP with the multi interface and
    Daniel Stenberg authored
    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.