1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00
v2fly/transport
Shelikhoo 861d6be19a
use detached context to fix #1059 #1059
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.
2021-06-22 12:20:27 +01:00
..
internet use detached context to fix #1059 #1059 2021-06-22 12:20:27 +01:00
pipe Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
config.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
config.pb.go Chore: update protobuf & dependencies (#793) 2021-03-18 12:17:26 +08:00
config.proto Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
link.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00