aboutsummaryrefslogtreecommitdiffstats
path: root/timers.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More refactoringJason A. Donenfeld2018-05-131-25/+1
|
* Rework index hashtableJason A. Donenfeld2018-05-131-2/+2
|
* Rewrite timers and related state machinesJason A. Donenfeld2018-05-101-305/+171
|
* Removed remaining signals from peerMathias Hall-Andersen2018-05-051-14/+7
| | | | | | 1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging)
* Use Int32n for jitterMathias Hall-Andersen2018-05-051-47/+48
|
* Removed old signalsMathias Hall-Andersen2018-05-051-68/+38
|
* 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-53/+88
|/ | | | | - 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/+14
| | | | | | 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/+7
| | | | | | | A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
* Use simple 16-bit integer for persistent keepaliveJason A. Donenfeld2018-04-181-3/+3
| | | | Races for this aren't a huge problem.
* TUN status hack was causing spam during shutdownMathias Hall-Andersen2018-02-111-6/+5
|
* Moved ratelimiter to internal packageMathias Hall-Andersen2018-02-111-1/+1
|
* Fixed tabsMathias Hall-Andersen2018-02-111-348/+348
|
* Work on logging formatMathias Hall-Andersen2018-02-041-12/+14
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+346