aboutsummaryrefslogtreecommitdiff
path: root/send.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Listen for flush in outer selectMathias Hall-Andersen2018-05-191-8/+30
| | | | | | | | 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.
* Add copyright headersMathias Hall-Andersen2018-05-191-0/+1
|
* Finer-grained start-stop synchronizationJason A. Donenfeld2018-05-161-0/+3
|
* Do not send keepalive if closedJason A. Donenfeld2018-05-151-1/+1
|
* More refactoringJason A. Donenfeld2018-05-131-22/+84
|
* More odds and endsJason A. Donenfeld2018-05-131-3/+3
|
* Rework index hashtableJason A. Donenfeld2018-05-131-10/+10
|
* Rewrite timers and related state machinesJason A. Donenfeld2018-05-101-27/+107
|
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-051-12/+3
|\
| * Reorder stopping messages so that logs are coherentJason A. Donenfeld2018-05-051-3/+3
| |
| * More robust solution to close deadlockJason A. Donenfeld2018-05-051-11/+1
| |
| * Fix infinite loop in exit routineJason A. Donenfeld2018-05-051-1/+2
| |
* | Removed remaining signals from peerMathias Hall-Andersen2018-05-051-4/+7
|/ | | | | | 1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging)
* Removed old signalsMathias Hall-Andersen2018-05-051-4/+7
|
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-051-0/+5
|\
| * global: Add SPDX tags and copyright headerJason A. Donenfeld2018-05-031-0/+5
| | | | | | | | Mathias should probably add his copyright headers to each file too.
* | Initial version of migration to new event modelMathias Hall-Andersen2018-05-051-12/+10
|/ | | | | - Begin move away from global timer state. - Made logging format more consistent
* Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld2018-05-011-14/+39
| | | | | | Flushing queues on exit is sort of a partial solution, but this could be better. Really what we want is for no more packets to be enqueued after isUp is set to false.
* Fixed read from closed channelMathias Hall-Andersen2018-04-181-3/+11
| | | | | | | A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
* Work on logging formatMathias Hall-Andersen2018-02-041-5/+9
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+362