1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
Commit Graph

5635 Commits

Author SHA1 Message Date
Shelikhoo
00a4551637
add document for temporary API:DNSResolverFunc, DNSResolverFunc 2021-05-04 22:25:37 +01:00
rurirei
2129c6e1e9
feat: update bootstrap_dns_android (#966)
* update with non_specified network

* remove wrongs

* add alternative bootstrapDialer

* do test

* Update dns_bootstrap_android_test.go

* example of alternative dialer

* public method

* move const

* Update dns_bootstrap_android_test.go

* no duplicated

* Rename infra/conf/dns_bootstrap_android.go to transport/internet/system_dns_android.go

* Update system_dns_android.go

* Update and rename infra/conf/dns_bootstrap_android_test.go to transport/internet/system_dns_android_test.go

* no imports

* Update system_dns_android.go

* Update system_dns_android_test.go

* create systemDNS

* Create system_dns_android.go

* Update system_dialer.go

* call Resolver on systemDialer

* create system_dns_test.go

* resolver.LookupIP params

* param fix

* noneed TestSystemDNSResolver

* revert: no specified resolver

* Delete system_dns.go

* android only

* android only test

* typo
2021-05-04 22:22:01 +01:00
Shelikhoo
c66a1678da
rework document for API 2021-05-04 21:06:23 +01:00
Shelikhoo
38f522fb72
Remove unnecessary API 2021-05-04 20:48:31 +01:00
Shelikhoo
0fbd8a1fd1
fix coding style 2021-05-04 20:47:19 +01:00
Shelikhoo
03b0c8efd9
use correct function for to context 2021-05-04 20:41:09 +01:00
Shelikhoo
758290314f
fix context related test issue 2021-05-04 20:34:06 +01:00
Shelikhoo
452de7c964
apply h2 http header on server side 2021-05-04 20:32:27 +01:00
Shelikhoo
1d7e497599
Added json configure file parsing of h2 transport 2021-05-04 20:32:27 +01:00
Shelikhoo
2847bc3271
Add method, header support to http2 transport 2021-05-04 20:30:09 +01:00
Shelikhoo
957d7791c4
Regenerate proto: Add method support to http2 transport 2021-05-04 20:30:09 +01:00
Shelikhoo
6e5b8dcd8f
Add method support to http2 transport 2021-05-04 20:30:08 +01:00
Shelikhoo
4701a225f4
Regenerate proto: Add header support to http2 transport 2021-05-04 20:30:08 +01:00
Shelikhoo
4b1d6ec4d1
Add header support to http2 transport 2021-05-04 20:29:54 +01:00
Shelikhoo
4249bcb28d
run test on development branches as well 2021-05-04 20:27:14 +01:00
Shelikhoo
620d8f1fb5
remove context public interface 2021-05-04 20:22:13 +01:00
loyalsoldier
007a15bd79
fix 2021-05-04 19:21:46 +01:00
loyalsoldier
2bdc86049a
code style 2021-05-04 19:21:34 +01:00
loyalsoldier
40f8e82204
refine 2021-05-04 19:19:43 +01:00
Shelikhoo
3ba9a5b4f5
Refine geodata related tests (#967)
(cherry picked from commit 7805ca2ac1)
2021-05-04 19:13:52 +01:00
Shelikhoo
bf0e7e35c8
move geo loader conf to environment variable 2021-05-04 19:08:18 +01:00
Shelikhoo
19d1ff9003
apply coding style 2021-05-04 19:08:15 +01:00
Shelikhoo
6a96a9f89e
add memconservative geofile loader 2021-05-04 19:08:12 +01:00
Shelikhoo
4610c5e23f
memconservative geofile loader 2021-05-04 19:08:06 +01:00
Shelikhoo
0f1fac84ca
refactor configure file loader for geo loader and v5 2021-05-04 19:07:58 +01:00
Shelikhoo
9458963b5a
Revert "Refactor: memory-efficient geo file decoder (#934)"
This reverts commit 7e876709
2021-05-04 19:07:54 +01:00
Shelikhoo
355a9c853b
Revert "Refinement: geodata decoder removes unnecessary GC & exports methods for 3rd party (#965)"
This reverts commit de71e638
2021-05-04 19:07:49 +01:00
Shelikhoo
ace2c44c2b
Revert "Refine geodata related tests (#967)"
This reverts commit 7805ca2a
2021-05-04 19:07:35 +01:00
Shelikhoo
70245fd30e
Revert "Fix: GetAssetLocation for external geo files (#968)"
This reverts commit 51c8ab83
2021-05-04 19:07:31 +01:00
Loyalsoldier
51c8ab8338
Fix: GetAssetLocation for external geo files (#968) 2021-05-04 19:05:50 +08:00
Loyalsoldier
7805ca2ac1
Refine geodata related tests (#967) 2021-05-04 16:30:23 +08:00
Loyalsoldier
de71e63893
Refinement: geodata decoder removes unnecessary GC & exports methods for 3rd party (#965) 2021-05-04 01:39:47 +08:00
rurirei
238b87d26a
Fix: geodata reader for multi-platform compatibility (#964) 2021-05-04 00:12:47 +08:00
rurirei
1822504ed8
Fix: nullcheck on alternative systemDialer (#959)
* fix: null-check on alternative systemDialer
* delete deprecated option DualStack
2021-05-02 22:28:33 +08:00
Loyalsoldier
980fb59878
Fix: observatory starts with empty config & fails to close (#957) 2021-05-01 22:28:23 +08:00
Loyalsoldier
411a50c8fa
Fix: multi FakeDNS Close method (#956) 2021-05-01 22:20:33 +08:00
Loyalsoldier
0d4479a72a
Fix: FakeDNS prints error with empty config (#955) 2021-05-01 21:44:12 +08:00
秋のかえで
b68411f460
Fix: browserforwarder panics with empty config (#954)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-05-01 20:50:30 +08:00
Loyalsoldier
a585ca28a8
Fix: code not found in geo files (#953) 2021-05-01 17:54:47 +08:00
Loyalsoldier
625a15e03b
Chore: format code by new customized goimports (#950) 2021-05-01 11:15:39 +08:00
Loyalsoldier
0fe129de65
Infra: use customized goimports (#949) 2021-05-01 11:11:37 +08:00
Loyalsoldier
7e876709fe
Refactor: memory-efficient geo file decoder (#934) 2021-05-01 07:59:29 +08:00
Shelikhoo
408b5adc1c
apply coding style 2021-05-01 00:41:53 +01:00
Shelikhoo
6af537ad32
apply coding style 2021-05-01 00:40:32 +01:00
Shelikhoo
7a6f887fe3
relocated browser forwarder interface 2021-05-01 00:06:10 +01:00
Shelikhoo
ffc8887d79
update version 2021-04-30 21:00:55 +01:00
Shelikhoo
95432b2131
fix:browser forwarder not supported by multi-json 2021-04-30 20:53:08 +01:00
Shelikhoo
347b0c3e85
fix:observatory not supported by multi-json 2021-04-30 15:25:24 +01:00
Xiaokang Wang
86a3ee249a
Update core.go 2021-04-29 17:29:12 +01:00
Kslr
34a98e8629
Create CODE_OF_CONDUCT.md (#941) 2021-04-29 16:21:22 +08:00