mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
fix typo (#1475)
This commit is contained in:
parent
fa61371102
commit
79f751662c
@ -47,21 +47,21 @@ func newConnectionWithEarlyData(conn *websocket.Conn, remoteAddr net.Addr, early
|
|||||||
}
|
}
|
||||||
|
|
||||||
func newConnectionWithDelayedDial(dialer DelayedDialer) *connection {
|
func newConnectionWithDelayedDial(dialer DelayedDialer) *connection {
|
||||||
delayedDialContext, CancellFunc := context.WithCancel(context.Background())
|
delayedDialContext, cancelFunc := context.WithCancel(context.Background())
|
||||||
return &connection{
|
return &connection{
|
||||||
shouldWait: true,
|
shouldWait: true,
|
||||||
delayedDialFinish: delayedDialContext,
|
delayedDialFinish: delayedDialContext,
|
||||||
finishedDial: CancellFunc,
|
finishedDial: cancelFunc,
|
||||||
dialer: dialer,
|
dialer: dialer,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func newRelayedConnectionWithDelayedDial(dialer DelayedDialerForwarded) *connectionForwarder {
|
func newRelayedConnectionWithDelayedDial(dialer DelayedDialerForwarded) *connectionForwarder {
|
||||||
delayedDialContext, CancellFunc := context.WithCancel(context.Background())
|
delayedDialContext, cancelFunc := context.WithCancel(context.Background())
|
||||||
return &connectionForwarder{
|
return &connectionForwarder{
|
||||||
shouldWait: true,
|
shouldWait: true,
|
||||||
delayedDialFinish: delayedDialContext,
|
delayedDialFinish: delayedDialContext,
|
||||||
finishedDial: CancellFunc,
|
finishedDial: cancelFunc,
|
||||||
dialer: dialer,
|
dialer: dialer,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user