mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 22:20:27 +00:00
it helps to actually set the flag...
This commit is contained in:
parent
27cc57dbbc
commit
3e07995518
@ -369,6 +369,7 @@ func (intf *linkInterface) notifyRead(size int) {
|
|||||||
intf.stalled = false
|
intf.stalled = false
|
||||||
if !intf.unstalled {
|
if !intf.unstalled {
|
||||||
intf._notifySwitch()
|
intf._notifySwitch()
|
||||||
|
intf.unstalled = true
|
||||||
}
|
}
|
||||||
if size > 0 && intf.stallTimer == nil {
|
if size > 0 && intf.stallTimer == nil {
|
||||||
intf.stallTimer = time.AfterFunc(keepAliveTime, intf.notifyDoKeepAlive)
|
intf.stallTimer = time.AfterFunc(keepAliveTime, intf.notifyDoKeepAlive)
|
||||||
|
Loading…
Reference in New Issue
Block a user