1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-19 10:13:37 -04:00
v2fly/transport/internet/grpc
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
..
encoding Chore: update protobuf & dependencies (#793) 2021-03-18 12:17:26 +08:00
config.go
config.pb.go Chore: update protobuf & dependencies (#793) 2021-03-18 12:17:26 +08:00
config.proto
dial.go use detached context to fix #1059 #1059 2021-06-22 12:20:27 +01:00
errors.generated.go
grpc.go
hub.go Add remote address to grpc transport layer conn (#783) 2021-03-15 16:50:09 +08:00