forked from wconrad/ftpd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure we're reading up-to CRLF (
\r\n
) for commands
In TLS, the socket is an `OpenSSL::SSLSocket`, calling `gets` will try to read the buffer using the value of `$/` (`\n` on Linux/MacOS) as separator, which seems to mess with the `BufferedIO`.
- Loading branch information
1 parent
3858830
commit 26c9021
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters