Potential connection aborting when the transport is gRPC
Potential connection aborting when the transport is gRPC
https://github.com/v2fly/v2ray-core/blob/v5.0.6/transport/internet/grpc/dial.go#L62 The ctx should be context.Background() because "ctx is used for the lifetime of the stream." https://github.com/grpc/grpc-go/blob/v1.4.6/stream.go#L137-153 After ctx done, the stream would abort whether or not a data transfer was in progress.
Performance
For performance purpose, the globalDialerAccess.Lock() should not cover the grpc.Dial.
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days