]> granicus.if.org Git - curl/commit
ftp_done: clear tunnel_state when secondary socket closes
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Mar 2016 23:07:14 +0000 (00:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Mar 2016 14:00:53 +0000 (15:00 +0100)
commitcb222bcfef3d95e1fb04ca85b2e82e62bb92dfd3
tree1eb4527662e7961d6eadfa19c503429e4d334554
parenta7ec58a89fe374a3c52ff99d92ba03756dcdadfa
ftp_done: clear tunnel_state when secondary socket closes

Introducing a function for closing the secondary connection to make this
bug less likely to happen again.

Reported-by: daboul
Closes #701
lib/ftp.c