1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/transport/internet/http
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
..
config.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
config.pb.go Chore: little refinements (#973) 2021-05-05 07:28:09 +08:00
config.proto Add method support to http2 transport 2021-05-04 20:30:08 +01:00
dialer.go use detached context to fix #1059 #1059 2021-06-22 12:20:27 +01:00
errors.generated.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
http_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
http.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
hub.go fix coding style 2021-05-04 20:47:19 +01:00