mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-16 03:17:03 +02:00
unslop, improve the tio interface
This commit is contained in:
@@ -173,7 +173,7 @@ func (r *Offload) Read() ([]Packet, error) {
|
||||
return nil, err
|
||||
}
|
||||
if err := r.decodeRead(n); err != nil {
|
||||
// Drop and read again — a bad packet should not kill the reader.
|
||||
// Drop and read again. A bad packet should not kill the reader.
|
||||
continue
|
||||
}
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user