Shelikhoo
1fcaca7145
enable restricted mode load for some settings
2023-11-26 10:55:27 +00:00
Shelikhoo
cb84b28de4
Update generated protobuf files to v1.31.0
2023-10-24 19:50:30 +01:00
Allo
6593b88837
refactor: move unix domain socket filelocker to internal
2023-10-23 20:38:07 +01:00
Shelikhoo
137cd7093c
chore: regenerate protobuf file
2022-09-06 20:36:27 +01:00
dyhkwong
5ce71e0652
Feat: make gRPC dialer accept socket config ( #1697 )
2022-04-06 12:26:04 +08:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path
2022-01-02 15:16:23 +00:00
Shelikhoo
d9f293e135
add transport original name support
2021-09-07 16:53:09 +01:00
Shelikhoo
e314b1ef2f
Revert "rename gun, ws to full name"
...
This reverts commit d4d6e16295
.
2021-09-07 16:36:26 +01:00
Shelikhoo
d4d6e16295
rename gun, ws to full name
2021-09-07 15:57:50 +01:00
秋のかえで
a67132e3d2
feat: add gRPC transport simplified config
2021-09-07 13:51:30 +01:00
Shelikhoo
1cb3ee5f6d
update generated protobuf file
2021-09-06 14:04:53 +01:00
世界
c766b08c82
Fix missing options for grpc
2021-09-05 16:31:43 +01:00
Shelikhoo
e0700ccc4b
regenerate protobuf file
2021-09-04 11:26:13 +01:00
Shelikhoo
1531cb0ca4
update protobuf version
2021-09-04 11:13:51 +01:00
Shelikhoo
ebdacfdb86
add comment for gRPC TLS silent failure behavior
...
When gRPC transport have been configured to use TLS, it may silently ignore TLS failure. This may make it harder to diagnose TLS setting issues when gRPC transport is used. This comment is added to help other developers be aware of this caveat.
2021-09-03 21:34:34 +01:00
database64128
c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 ( #1215 )
...
* ⬆ Update to Go 1.17
* 🏗 Update workflows and add windows-arm64
* 💾 Update generated files
* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Shelikhoo
1409be04c2
regenerate protobuf files
2021-07-01 18:58:48 +01:00
Shelikhoo
e00d80eac4
cancel failed grpc connection
2021-07-01 18:58:13 +01:00
Loyalsoldier
d7a202a705
Lint: update linter config & fix code style ( #1089 )
...
* Lint: update linter config
* Fix: code style
2021-06-22 22:36:23 +08:00
Shelikhoo
d0d09dfa7f
apply coding style
2021-06-22 12:46:20 +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
Loyalsoldier
6f8979d017
Style: format code by gofumpt ( #1022 )
2021-05-20 05:28:52 +08:00
Shelikhoo
fb6e449572
apply coding style
2021-05-09 15:16:42 +01:00
Shelikhoo
1038823ee9
support chain proxy for grpc
2021-05-09 15:13:18 +01:00
Loyalsoldier
9e9173acb4
Chore: update protobuf & dependencies ( #793 )
...
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
Shelikhoo
1eaec6818a
Fix max delay unintentionally low
2021-03-16 12:49:23 +00:00
maskedeken
fb9a5a136b
Add remote address to grpc transport layer conn ( #783 )
...
* Add remote address to grpc transport layer conn
* go fmt
2021-03-15 16:50:09 +08:00
Loyalsoldier
e46204f828
Chore: fix lint according to golangci-lint errors ( #781 )
...
* Chore: fix lint according to golangci-lint errors
* Chore: regenerate pb.go files
2021-03-14 07:44:47 +08:00
Loyalsoldier
88e1e25aa9
Chore: format import using goimports ( #780 )
2021-03-14 07:09:51 +08:00
Shelikhoo
971eddaa12
fix applied wrong name, and wrong varible name
2021-03-11 15:02:31 +00:00
Xiaokang Wang
aaa9e788e7
Grpc Gun Transport ( #757 )
...
* introduce grpc transport structure
* fix package name inconsistency
* grpc gun transport dialer and listener
* add selective build tag
* add grpc:gun listener
* add grpc:gun config
* add generated files
* various bug fix for gun:grpc transport
* Cache dialed connections
* grpc:gun Use V2Ray Managed Dial function
* Update destination.pb.go
* Update gun.go
* GunSettings -> GunConfig
* gu -> gs
* add grpc alias
Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
Co-authored-by: kslr <kslrwang@gmail.com>
2021-03-11 16:46:17 +08:00