{"author":"Stefan Eissing","author_email":"stefan@eissing.org","author_time":1748599514,"commit_time":1748697305,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"4977747f0da325f5ba4e7f346ce1db8eb6899885","message":"ftp: fix teardown of DATA connection in done\n\nWhen ftp_done() is called to terminate the transfer, it needs to tear\ndown any open SECONDARY filter chain. The condition on when to do that\nwas relying on there to be a valid socket. This is not sufficient as the\nsocket is only set *after* happy eyeballing has decided on one.\n\nInstead of checking for a valid conn->sock, check if any connection\nfilter is installed.\n\nFixes #17482\nReported-by: Rasmus Melchior Jacobsen\nCloses #17491\n","parents":["4b76a821f8f1b52c14091469ba59d9de607eeea1"],"tree_hash":"bd01603307ee74999f4179436290b30714b2405e"}