Skip to content
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

fix - ECONNRESET in datasocket unnecessarily closes the controlsocket #242

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

RythenGlyth
Copy link

Some FTP Servers just abruptly end the data connection. This happens for example for the NLST command when given a wrong path (probably unintentionally).
Currently this library closes the control socket instantly when there's an error in the data connection. When actually, the control socket could survive.

@RythenGlyth RythenGlyth deleted the datasocket-unexpected-closure branch October 15, 2023 17:13
@RythenGlyth RythenGlyth restored the datasocket-unexpected-closure branch October 15, 2023 18:15
@RythenGlyth RythenGlyth reopened this Oct 15, 2023
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.

1 participant