commit | 2b8da85d9f6270edd5a83b35d5116de216ace06e | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Fri Nov 10 18:02:05 2017 -0800 |
committer | Guy Harris <guy@alum.mit.edu> | Fri Nov 10 18:02:05 2017 -0800 |
tree | d1f6162a163e4c57ef5dc42b43deadf3d85dee9f | |
parent | 448a60e4082d9d31caa19ec1dffec61f062b148f [diff] |
Handle the client closing the connection better. On the server side, don't treat an immediate EOF when trying to read a message header as an error, just silently terminate the session. Treat EOFs after reading *some* of the message as an error.