diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-05-19 00:35:49 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-19 02:40:22 +0200 |
commit | 2a432523ed0e8f7409f8917432f2791da1f32de0 (patch) | |
tree | f1b64fd987152b316977befb30bd311174c452aa /receive.go | |
parent | 38accea986211f232ffcf2411379f5dc120514dc (diff) |
Listen for flush in outer select
Now listen for flushNonceQueue signal in outer select during
the RoutineNonce routine. This is needed to handle the edge case
where the queue is flushed, but no packets are in the nonce queue.
Since the signal has capacity 1 this signal will remain and potentially
flush the queue at a later time, with packets meant for transmission.
Diffstat (limited to 'receive.go')
0 files changed, 0 insertions, 0 deletions