aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/pair1
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-06-12 10:34:22 -0700
committerGarrett D'Amore <garrett@damore.org>2018-06-12 10:34:22 -0700
commitaaec633023a1b3f2c6d24fe697bda4737abe84ee (patch)
tree9907fd916d61e82abd300425670bddeb417788ad /src/protocol/pair1
parent79c761b66276289ebe703b596e285469deaa7a16 (diff)
downloadnng-aaec633023a1b3f2c6d24fe697bda4737abe84ee.tar.gz
nng-aaec633023a1b3f2c6d24fe697bda4737abe84ee.tar.bz2
nng-aaec633023a1b3f2c6d24fe697bda4737abe84ee.zip
fixes #533 nni_aio_begin should not dispatch task on NNG_ECLOSED.
This changes nni_aio_begin so that it immediately terminates when it encounters aio->a_closed, much like it does for aio->a_stop. The semantic for nni_aio_close() is supposed to be like nni_aio_stop(), but without blocking. I suspect that this might be responsible for use-after-free bugs that seem to have been rearing their head lately.
Diffstat (limited to 'src/protocol/pair1')
0 files changed, 0 insertions, 0 deletions