4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 17:56:05 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
790524bd1c copy/paste old flowkey logic into a util function, add a struct of key and packet, make WriteNoCopy accept this instead of a slice 2019-08-06 19:25:55 -05:00
bd3b42022b Merge pull request #480 from Arceliar/speedup
Speedup
2019-08-05 10:24:54 +01:00
3a2ae9d902 Update API to represent coords as []uint64 2019-08-05 10:17:19 +01:00
37533f157d Make some API changes (currently broken) 2019-08-05 00:30:12 +01:00
f52955ee0f WARNING: CRYPTO DISABLED while speeding up stream writeMsg 2019-08-04 14:18:59 -05:00
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