1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

5701 Commits

Author SHA1 Message Date
Shelikhoo
9a03b425c9
apply coding style 2021-06-22 12:56:35 +01:00
Shelikhoo
d0d09dfa7f
apply coding style 2021-06-22 12:46:20 +01:00
Shelikhoo
90b560cd75
use value delegate to separate value and cancel
This is a issue with the usage of context for value storage and cancell signaling. This issue will be addressed in a permanent way in v5.
2021-06-22 12:42:20 +01:00
Shelikhoo
3c17276462
drain: add generated file 2021-06-22 12:26:21 +01:00
Shelikhoo
79174ab2a0
unified drain support for vmess and shadowsockets 2021-06-22 12:26:17 +01:00
Shelikhoo
73ee3b0b1c
Added test for no terminate signal 2021-06-22 12:26:13 +01:00
Shelikhoo
c5357e1f00
Added experiment to avoid sending the termination signal 2021-06-22 12:26:08 +01:00
Shelikhoo
0822160008
VMess AEAD based packet length 2021-06-22 12:26:01 +01:00
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
Xiaokang Wang
d7e1d004bf
Update core.go 2021-06-22 10:12:46 +01:00
dependabot[bot]
c39cff3aa4
Chore: bump quic-go from 0.21.0 to 0.21.1 (#1072)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases)
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v.0.21...v0.21.1)

---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 13:49:50 +08:00
Loyalsoldier
92bb1688fd
Chore: update dependencies (#1071) 2021-06-15 10:39:16 +08:00
Loyalsoldier
b275548a80
CI: refine codecov (#1064) 2021-06-13 10:13:29 +08:00
Shelikhoo
4d768b575d
update version 2021-06-04 20:34:08 +01:00
dependabot[bot]
0520d4c474
Chore: bump github.com/lucas-clemente/quic-go from 0.20.1 to 0.21.0 (#1047)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.20.1 to 0.21.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases)
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.20.1...v0.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 20:14:07 +01:00
秋のかえで
f84a401704
Feat: DNS transport over TCP (#983)
* feat: DNS over TCP

* fix: DNS over TCP misbehaving

* fix: add a blank line after +build tag

* style: rename NewTCPLNameServer to NewTCPLocalNameServer

* style: add some comments

* style: format

Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
2021-06-04 20:09:06 +01:00
Shelikhoo
e98865a205
amend certificate removal message 2021-06-04 20:07:27 +01:00
Bhoppi Chaw
6d9c463b60
Fix: new cert issuing is incorrectly delayed (#998)
* fix new cert issuing is incorrectly delayed

* apply lint

* revert cert duration & write cert issue/revoke info into log

* apply lint

Co-authored-by: Bhoppi Chaw <bhoppi#outlook,com>
2021-06-04 19:55:30 +01:00
Loyalsoldier
de76a21e98
Chore: update dependencies (#1035) 2021-05-26 08:08:51 +08:00
Loyalsoldier
3cab4d17d9
Chore: update debian package to v4.39.2 (#1034) 2021-05-26 08:01:22 +08:00
Xiaokang Wang
fbccd47d3b
Update core.go 2021-05-25 14:49:09 +01:00
fanyiguan
09d900c753
Update strategy_leastping.go (#1019) 2021-05-25 14:48:13 +01:00
dependabot[bot]
445bc79436
Chore: bump github.com/google/go-cmp from 0.5.5 to 0.5.6 (#1028)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 13:43:47 +08:00
Loyalsoldier
6f8979d017
Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
Loyalsoldier
cf009a4ba2
Fix lint (#1021) 2021-05-19 20:41:23 +08:00
Loyalsoldier
b57ebd5c1c
vFormat: use gci instead of customized goimports (#1020) 2021-05-19 19:59:46 +08:00
dependabot[bot]
ebd9adb0b5
Chore: bump actions/stale from 3.0.18 to 3.0.19 (#1017) 2021-05-18 13:47:03 +08:00
ght99
faee88163c
Fix: v2ctl failed to get geodata loaders (#1014)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-05-17 00:44:08 +08:00
dependabot[bot]
904b70a8db
Chore: bump google.golang.org/grpc from 1.37.0 to 1.37.1 (#1004) 2021-05-12 13:32:34 +08:00
Loyalsoldier
218f27c9c1
Feat: vformat supports multi-core processing (#996) 2021-05-11 09:05:43 +08:00
Loyalsoldier
a771e3401a
Fix: lint error (#995) 2021-05-11 08:36:06 +08:00
Loyalsoldier
026a803781
Chore: use Go v1.16.4 explicitly (#993) 2021-05-11 06:26:39 +08:00
Loyalsoldier
07fb242259
Chore: just build deb package on some cases to save space quota (#994) 2021-05-11 06:24:35 +08:00
Loyalsoldier
224d6b13cb
Chore: update dependencies (#992) 2021-05-11 06:07:57 +08:00
dependabot[bot]
f74a28b6e8
Chore: bump github.com/miekg/dns from 1.1.41 to 1.1.42 (#987) 2021-05-11 05:37:58 +08:00
Xiaokang Wang
4e53f0b686
Update core.go 2021-05-09 20:40:52 +01:00
Shelikhoo
fb6e449572
apply coding style 2021-05-09 15:16:42 +01:00
Shelikhoo
7b721e1a6f
support chain proxy for h2 2021-05-09 15:14:28 +01:00
Shelikhoo
1038823ee9
support chain proxy for grpc 2021-05-09 15:13:18 +01:00
Shelikhoo
31a7fb503c
update TCPKeepAliveInterval type to allow expression disable 2021-05-06 15:33:35 +01:00
Shelikhoo
7506395421
added 4.39.0 unstable release 2021-05-06 13:08:02 +01:00
Shelikhoo
77a573caf1
refactor test for loader benchmark 2021-05-05 13:50:56 +01:00
Shelikhoo
916d3857a0
Revert "show warning for asset directory transversal to prepare for network api based reload in v5"
This reverts commit a720d1e2
2021-05-05 13:29:36 +01:00
loyalsoldier
fa85afc920
Feat: add geodata loader benchmark 2021-05-05 13:22:01 +01:00
Shelikhoo
a720d1e2d6
show warning for asset directory transversal to prepare for network api based reload in v5 2021-05-05 13:17:54 +01:00
Loyalsoldier
736379d22d
Chore: update debian package (#975) 2021-05-05 10:34:12 +08:00
Loyalsoldier
8ce32e0d4c
Fix: GetAssetLocation (#974) 2021-05-05 00:51:58 +01:00
Loyalsoldier
1cb9fd2999
Chore: little refinements (#973) 2021-05-05 07:28:09 +08:00
loyalsoldier
bf9a27a6db
Revert "Revert "Fix: GetAssetLocation for external geo files (#968)""
This reverts commit 70245fd30e.
2021-05-05 06:39:00 +08:00
Shelikhoo
d6abddc7f5
rename the field to keep lint happy 2021-05-04 22:55:39 +01:00