Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDon't send endless newlines on EOF #1
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
roryokane
commented
Jul 16, 2015
|
I was just about to try fixing this. Glad to see someone else already did. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bartbes commentedJul 16, 2015
The title is pretty self-explanatory. Since the spec says the connection should be closed by the client, I chose to not close the connection in case of EOF.
To verify this behaviour, press Ctrl-D (EOT) when using netcat.