diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-15 11:59:09 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-15 11:59:09 -0700 |
| commit | 81808ce3d38cc7ce0131367e2187f0beb2cd1b43 (patch) | |
| tree | 8bc5652bcc0670f48b78c4f344522597875d8eb2 /src/core/protocol.c | |
| parent | 1d033484ee1a2ec26d3eead073e7bc0f889ffdf4 (diff) | |
| download | nng-81808ce3d38cc7ce0131367e2187f0beb2cd1b43.tar.gz nng-81808ce3d38cc7ce0131367e2187f0beb2cd1b43.tar.bz2 nng-81808ce3d38cc7ce0131367e2187f0beb2cd1b43.zip | |
fixes #431 hang in taskq_wait
fixes #429 async websocket reap leads to crash
This tightens up the code for shutdown, ensuring that transport
callbacks are completely stopped before advancing to the next step
of teardown of transport pipes or endpoints.
It also fixes a problem where task_wait would sometimes get "stuck"
as tasks transitioned between asynch and synchronous completions.
Finally, it saves a few cycles by only calling a cancellation callback
once during cancellation of an aio.
Diffstat (limited to 'src/core/protocol.c')
0 files changed, 0 insertions, 0 deletions
