mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-16 08:56:07 +00:00
disable crypto and switch buffer changes from testing
This commit is contained in:
@ -820,7 +820,7 @@ func (t *switchTable) doWorker() {
|
||||
select {
|
||||
case bs := <-t.toRouter:
|
||||
buf = append(buf, bs)
|
||||
for len(buf) > 32768 { // FIXME realistically don't drop anything, just for testing
|
||||
for len(buf) > 32 {
|
||||
util.PutBytes(buf[0])
|
||||
buf = buf[1:]
|
||||
}
|
||||
|
Reference in New Issue
Block a user