aboutsummaryrefslogtreecommitdiffstats
path: root/timers.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2018-05-19 00:35:49 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-19 02:40:22 +0200
commit2a432523ed0e8f7409f8917432f2791da1f32de0 (patch)
treef1b64fd987152b316977befb30bd311174c452aa /timers.go
parentAdd copyright headers (diff)
downloadwireguard-go-2a432523ed0e8f7409f8917432f2791da1f32de0.tar.xz
wireguard-go-2a432523ed0e8f7409f8917432f2791da1f32de0.zip
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 'timers.go')
0 files changed, 0 insertions, 0 deletions