4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-04 06:37:48 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
144c823bee just use a sync.Pool as the bytestore to not overcomplicate things, the allocations from interface{} casting don't seem to actually hurt in practice right now 2019-08-04 00:28:13 -05:00
7a9ad0c8cc add workerpool to util 2019-08-03 23:10:37 -05:00
e0a3055c2f get rid of session workers, new util.PutBytes/GetBytes logic 2019-07-27 18:10:32 -05:00
cf3ebe04a7 have Conn use Cancellation instead of manually setting up timers 2019-07-17 21:37:45 -05:00
6bf182e341 add util.CancellationChild() and run gofmt 2019-07-17 21:15:02 -05:00
06e8403aaf add cancellation code to util, like context but just the cancellation parts + some error logic 2019-07-17 21:09:22 -05:00
6469e39ff1 workaround to random timeouts 2019-04-26 22:42:05 -05:00
917ca6c1c5 Make changes based on review comments 2019-03-08 10:26:46 +00:00
82bb95b77f Some more (inelegant) multiple listener code plus some reconfigure support 2019-03-04 18:41:32 +00:00
2569242050 fixes to linkInterface.handler() 2019-02-26 21:07:56 -06:00
b44a0f29f3 send an ack if we receive a packet and don't have any return traffic, keeping a legacy 4-second keep-alive in case there's no traffic at all to send (to be removed later, after nodes have upgraded), ideally we should either remove ReadTimeout or use it for the switch idle timeout instead 2019-02-02 22:18:55 -06:00
ea4ca02681 fix code after moving address/crypto/util 2018-12-14 20:49:18 -06:00
2c68d41409 move files, still need to fix exports and compile errors 2018-12-14 18:30:36 -06:00