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

FTP Mlsd ListResponeReader should read all lines and wait for end of list #15892

Open
AliveDevil opened this issue Apr 26, 2024 · 0 comments
Open
Labels
bug ftp FTP Protocol Implementation
Milestone

Comments

@AliveDevil
Copy link
Contributor

Current implementation fails to correctly handle cases, where the Ftp server responds with multiple data lines for a Mlst-request.

Transcript:

> MLST 
< 250- List
550
< 250 End of List

In order to be compliant with RFC 3659 Section 7.2 our read-implementation has to buffer everything between "250-" and "250":

  control-response = "250-" [ response-message ] CRLF
                     1*( SP entry CRLF )
                     "250" [ SP response-message ] CRLF
@AliveDevil AliveDevil added bug ftp FTP Protocol Implementation labels Apr 26, 2024
@AliveDevil AliveDevil added this to the 9.0 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ftp FTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

1 participant