aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-14 11:58:38 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-14 13:43:01 -0700
commit4fb81f024e5f32a186cd5538574f8e5796980e36 (patch)
treee8fedc5f01c9f381e590f3de8986515093d63699 /src/core/pipe.h
parent827aed05d352c470c8b4b8a7e232e21e1cd19313 (diff)
downloadnng-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/pipe.h')
0 files changed, 0 insertions, 0 deletions