mirror of
https://github.com/soypat/lneto.git
synced 2026-07-26 10:38:47 +00:00
fix #31 by maintaining conns on listener encapsulate no-op
This commit is contained in:
@@ -170,6 +170,9 @@ func (listener *Listener) Encapsulate(carrierData []byte, offsetToIP, offsetToFr
|
||||
err = nil
|
||||
}
|
||||
}
|
||||
if n == 0 {
|
||||
listener.maintainConns()
|
||||
}
|
||||
return n, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user