mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 13:56:30 +03:00
WARNING: CRYPTO DISABLED while speeding up stream writeMsg
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) > 32 {
|
||||
for len(buf) > 32768 { // FIXME realistically don't drop anything, just for testing
|
||||
util.PutBytes(buf[0])
|
||||
buf = buf[1:]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user