diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-05 20:21:52 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-05 20:21:52 -0800 |
| commit | d28f9d935819a88fa799b99362b78a277b74fce8 (patch) | |
| tree | 612413bfcf85295e1926ffab3bc4011804725266 /src/protocol/pair/pair.c | |
| parent | 44f1e3674f56dccb1feb5f0f5a37cb2196f20591 (diff) | |
| download | nng-d28f9d935819a88fa799b99362b78a277b74fce8.tar.gz nng-d28f9d935819a88fa799b99362b78a277b74fce8.tar.bz2 nng-d28f9d935819a88fa799b99362b78a277b74fce8.zip | |
Added test for cancellation, fixed retry bug.
On retry we were pushing back to the queue. The problem with this is that
we could wind up pushing back many copies of the message if no reader was
present. The new code ensures at most one retry is outstanding.
Diffstat (limited to 'src/protocol/pair/pair.c')
0 files changed, 0 insertions, 0 deletions
