mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
861d6be19a
It is important to use a detached context when creating shared transport connections that will outlive the initializing connection. Otherwise, once the original initializing connection is cancelled, the transport connection will be cancelled as well. This issue will be addressed in v5 by providing a transport session storage that also reduce the usage of globalDialerMap and other global variables. |
||
---|---|---|
.. | ||
config.go | ||
config.pb.go | ||
config.proto | ||
dialer.go | ||
errors.generated.go | ||
http_test.go | ||
http.go | ||
hub.go |