5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-26 00:11:36 +00:00

it helps to actually set the flag...

This commit is contained in:
Arceliar 2019-11-24 18:53:58 -06:00
parent 27cc57dbbc
commit 3e07995518

View File

@ -369,6 +369,7 @@ func (intf *linkInterface) notifyRead(size int) {
intf.stalled = false
if !intf.unstalled {
intf._notifySwitch()
intf.unstalled = true
}
if size > 0 && intf.stallTimer == nil {
intf.stallTimer = time.AfterFunc(keepAliveTime, intf.notifyDoKeepAlive)