mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 18:15:24 +00:00
typo
This commit is contained in:
parent
b2922189b8
commit
f22eac497b
@ -260,7 +260,7 @@ func (c *Conn) _write(msg FlowKeyMessage) error {
|
|||||||
c.session.Act(c, func() {
|
c.session.Act(c, func() {
|
||||||
// Send the packet
|
// Send the packet
|
||||||
c.session._send(msg)
|
c.session._send(msg)
|
||||||
// Session keep-alive, while we wait for the crypto workers from sefnd
|
// Session keep-alive, while we wait for the crypto workers from send
|
||||||
switch {
|
switch {
|
||||||
case time.Since(c.session.time) > 6*time.Second:
|
case time.Since(c.session.time) > 6*time.Second:
|
||||||
if c.session.time.Before(c.session.pingTime) && time.Since(c.session.pingTime) > 6*time.Second {
|
if c.session.time.Before(c.session.pingTime) && time.Since(c.session.pingTime) > 6*time.Second {
|
||||||
|
Loading…
Reference in New Issue
Block a user