Skip to content

GH-3090: Add logout() to FtpSession.close()` #3094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 30, 2019

Conversation

artembilan
Copy link
Member

Fixes #3090

Without logout() the FTP session is not closed at all,
but just the connection is closed.
Some FTP servers close those sessions eventually anyway, but some just
leak with resources.

Cherry-pick to 5.1.x & 4.3.x

Fixes spring-projects#3090

Without `logout()` the FTP session is not closed at all,
but just the connection is closed.
Some FTP servers close those sessions eventually anyway, but some just
leak with resources.

**Cherry-pick to 5.1.x & 4.3.x**
@artembilan
Copy link
Member Author

Cherry-pick only the first commit.

@garyrussell garyrussell merged commit 977997e into spring-projects:master Oct 30, 2019
@garyrussell
Copy link
Contributor

Cherry-picked first commit to 5.1.x as 315fafd and to 4.3.x as 127f683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FTP Session not correctly closed
2 participants