sftper issueshttps://gitlab.ssec.wisc.edu/brucef/sftper/-/issues2019-11-22T21:57:19Zhttps://gitlab.ssec.wisc.edu/brucef/sftper/-/issues/1Connections may be left hanging open2019-11-22T21:57:19ZBruce Flynnbruce.flynn@ssec.wisc.eduConnections may be left hanging openRE: pdrsend issue #22
Currently, when a poke fails, like perhaps if the CWD does not exist, a new connection is opened. It appears that the Poke fails but leaves the connection open. Well, since the old connection is not ensured to be c...RE: pdrsend issue #22
Currently, when a poke fails, like perhaps if the CWD does not exist, a new connection is opened. It appears that the Poke fails but leaves the connection open. Well, since the old connection is not ensured to be closed this leads to a connection resource leak.
I think fixing this should just be a matter of closing the connection before reconnecting.
Needs verificationBruce Flynnbruce.flynn@ssec.wisc.eduBruce Flynnbruce.flynn@ssec.wisc.edu