1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-04-03 22:03:36 +03:00
Xray-core/app/dns
yuhan6665 496b2c02c5
Fix context api and document ()
* Fix Dial function crash instance when there is no instance context in the ctx

* check ctx to fix. ()

* Feat: core.ToContext(ctx, v) for ctx initialization ()

* remove exported API: toContext

* Remove unnecessary API

* rework document for API

* fix: make sure the ctx is propagated to connections by detached connection

Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
Co-authored-by: rurirei <72071920+rurirei@users.noreply.github.com>
2022-02-19 22:45:41 -05:00
..
fakedns Make reverse proxy compatible with v2fly () 2022-02-04 21:59:50 -05:00
config.go Merge dns () 2021-10-16 21:02:51 +08:00
config.pb.go Merge dns () 2021-10-16 21:02:51 +08:00
config.proto Merge dns () 2021-10-16 21:02:51 +08:00
dns.go Override destination if replaced in hosts 2021-10-22 12:38:40 +08:00
dns_test.go Fix some tests and format code () 2021-12-14 19:28:47 -05:00
dnscommon.go chore fixed () 2022-01-10 23:39:58 -05:00
dnscommon_test.go Style: format code by gofumpt () 2021-10-20 00:57:14 +08:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
hosts.go Merge dns () 2021-10-16 21:02:51 +08:00
hosts_test.go Fix some tests and format code () 2021-12-14 19:28:47 -05:00
nameserver.go chore fixed () 2022-01-10 23:39:58 -05:00
nameserver_doh.go Merge dns () 2021-10-16 21:02:51 +08:00
nameserver_doh_test.go Merge dns () 2021-10-16 21:02:51 +08:00
nameserver_fakedns.go Fakedns improvements () 2021-10-20 13:15:49 +08:00
nameserver_local.go Fix some tests and format code () 2021-12-14 19:28:47 -05:00
nameserver_local_test.go Fix some tests and format code () 2021-12-14 19:28:47 -05:00
nameserver_quic.go Fix some tests and format code () 2021-12-14 19:28:47 -05:00
nameserver_quic_test.go Fix some tests and format code () 2021-12-14 19:28:47 -05:00
nameserver_tcp.go Merge dns () 2021-10-16 21:02:51 +08:00
nameserver_tcp_test.go Merge dns () 2021-10-16 21:02:51 +08:00
nameserver_udp.go Fix context api and document () 2022-02-19 22:45:41 -05:00