deal with pmtu verification confirmation in forwarder goroutine

...rather than connection goroutine.
This is a precurser to smarter pmtu verification, the logic for which
is in the forwarder.
issue #15
This commit is contained in:
Matthias Radestock committed 2014-08-30 23:18:44 +01:00
1 parent aef5111af2
commit 7dd0bcd1e0
2 files changed
+20 -11

No files matched your search

+2
View File
@@ -73,6 +73,7 @@ type LocalConnection struct {
forwardChanDF chan<- *ForwardedFrame
stopForward chan<- interface{}
stopForwardDF chan<- interface{}
verifyPMTU chan<- int
Decryptor Decryptor
Router *Router
UID uint64
@@ -90,6 +91,7 @@ type Forwarder struct {
ch <-chan *ForwardedFrame
stop <-chan interface{}
pmtuVerifyTick <-chan time.Time
pmtuVerified <-chan int
pmtuVerifyCount uint
enc Encryptor
udpSender UDPSender