1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 17:05:23 +00:00
v2fly/transport/internet
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
..
domainsocket Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
grpc use detached context to fix #1059 #1059 2021-06-22 12:20:27 +01:00
headers Fix lint (#1021) 2021-05-19 20:41:23 +08:00
http use detached context to fix #1059 #1059 2021-06-22 12:20:27 +01:00
kcp Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
quic Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
tagged Chore: format import using goimports (#780) 2021-03-14 07:09:51 +08:00
tcp fix(tproxy): the problem that cannot find ipv6 destination in redirect mode of tproxy (#815) 2021-03-25 16:42:58 +08:00
tls amend certificate removal message 2021-06-04 20:07:27 +01:00
udp Chore: update protobuf & dependencies (#793) 2021-03-18 12:17:26 +08:00
websocket 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 update TCPKeepAliveInterval type to allow expression disable 2021-05-06 15:33:35 +01:00
config.proto update TCPKeepAliveInterval type to allow expression disable 2021-05-06 15:33:35 +01:00
connection.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
dialer_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
dialer.go Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
errors.generated.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
filelocker_other.go Refine unix domain socket (#367) 2020-10-29 07:30:38 +00:00
filelocker_windows.go Refine unix domain socket (#367) 2020-10-29 07:30:38 +00:00
filelocker.go Refine unix domain socket (#367) 2020-10-29 07:30:38 +00:00
header_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
header.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
internet.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
memory_settings.go comments 2018-10-14 08:23:49 +02:00
sockopt_darwin.go Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
sockopt_freebsd.go Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
sockopt_linux_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
sockopt_linux.go update tcp keep alive interval config 2021-05-04 22:39:28 +01:00
sockopt_other.go Implement setReuseAddr and setReusePort in sockopt_{os}.go 2020-07-31 01:20:12 +08:00
sockopt_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
sockopt_windows.go Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
sockopt.go system listener for both TCP and UDP 2018-09-15 21:35:32 +02:00
system_dialer.go Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
system_dns_android_test.go feat: update bootstrap_dns_android (#966) 2021-05-04 22:22:01 +01:00
system_dns_android.go add required import 2021-05-04 22:46:16 +01:00
system_listener_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
system_listener.go Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
tcp_hub.go Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00