mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
disable crypto and switch buffer changes from testing
This commit is contained in:
parent
0ba8c6a34f
commit
07f14f92ed
2 changed files with 3 additions and 3 deletions
|
@ -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:]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue