diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-14 11:58:38 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-14 13:43:01 -0700 |
| commit | 4fb81f024e5f32a186cd5538574f8e5796980e36 (patch) | |
| tree | e8fedc5f01c9f381e590f3de8986515093d63699 /src/core | |
| parent | 827aed05d352c470c8b4b8a7e232e21e1cd19313 (diff) | |
| download | nng-4fb81f024e5f32a186cd5538574f8e5796980e36.tar.gz nng-4fb81f024e5f32a186cd5538574f8e5796980e36.tar.bz2 nng-4fb81f024e5f32a186cd5538574f8e5796980e36.zip | |
REP drops peers a little too aggressively.
We noticed that certain failure modes were exposed in tests that were
caused by us closing the underlying pipe when certain messaging errors
occurred. Discarding the pipe is the wrong answer; instead we should
discard the message and keep the pipe open (unless the message is so
malformed that the remote party cannot be trusted.)
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions
