optimisation: create heartbeat frame only once per connection
This commit is contained in:
1 parent
aceaa66903
commit
a3e9556e75
2 files changed
+13
-15
No files matched your search
@@ -50,6 +50,7 @@ type LocalConnection struct {
|
||||
stackFrag bool
|
||||
effectivePMTU int
|
||||
SessionKey *[32]byte
|
||||
heartbeatFrame *ForwardedFrame
|
||||
heartbeat *time.Ticker
|
||||
fetchAll *time.Ticker
|
||||
fragTest *time.Ticker
|
||||
|
||||
Reference in new issue
Block a user