1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 01:17:30 -05:00
Commit Graph

5997 Commits

Author SHA1 Message Date
Shelikhoo
c564c84b17
set TCP keep alive only on TCP socket 2021-05-04 22:30:41 +01:00
Shelikhoo
1dfe55fac8
Merge branch 'master' of https://github.com/therealak12/v2ray-core into therealak12-master-pr962 2021-05-04 22:28:26 +01:00
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
Ahmad Karimi
ab6480ef72 Fix: add keep alive request duration to configs 2021-05-02 23:36:30 +04:30
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
Shelikhoo
fd203a2b54
debug issue with browser forwarder http header name checking 2021-05-01 16:07:03 +01:00
Shelikhoo
b3957e029c
update browser forwarder script 2021-05-01 15:59:10 +01:00
Shelikhoo
af4eb8852a
update browser forwarder support 2021-05-01 15:50:20 +01:00
Shelikhoo
40a7847d7f
update json configure for websocket header 2021-05-01 15:49:42 +01: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
Shelikhoo
d378b8c42e
add support for header based early data on server side 2021-05-01 01:32:35 +01:00
Shelikhoo
75231604c7
add support for header based early data on server side 2021-05-01 01:31:41 +01:00