Commit Graph
54 Commits
Author SHA1 Message Date
Loyalsoldier 49cf614346 Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
Loyalsoldier f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier f98944c9e0 Chore: update protobuf (#670) 2021-02-11 14:57:20 +08:00
dyhkwongandghost 291eff1aa3 Refine Android build (#525)
Co-authored-by: ghost <noreply@example.com>
2020-12-17 08:50:13 +08:00
Kslrandloyalsoldier 623cb24644 Remove XTLS (#431)
* remove xtls

* generate pb

* Update protoc

* Clean up go.mod & go.sum

* format code

* restore vless flow

* fix codacy

* do NOT interfere with pb.go files

Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-20 15:53:10 +08:00
lucifer 770b994337 Refine unix domain socket (#367) 2020-10-29 07:30:38 +00:00
loyalsoldier 784775f689 Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
loyalsoldier b181045b0c Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
RPRX cde63bfac1 Add XTLS support to DomainSocket (#241) 2020-09-30 08:40:08 +00:00
lucifer9 801b9490b8 fix abstract UDS & add PROXY protocol support to DS inbound 2020-09-04 15:35:54 +08:00
loyalsoldier 1fa89b32d4 Format: run go fmt ./... 2020-08-30 21:17:22 +08:00
Loyalsoldier ef460f68f8 Adjust Protocol Buffers (#109)
* Update protoc binary executable files to v3.13.0

* Write proto files in more standard way

* Make go generate & vprotogen compatible with protoc-gen-gofast

* Regenerate pb.go files according to new proto files

* Clean go.sum by running go mod tidy

* Implement mustEmbedUnimplementedServiceServer for gPRC services
2020-08-24 12:10:26 +00:00
Shelikhoo 09b81b78c3 regenerate pb data 2020-06-08 16:16:32 +08:00
Araragi Hokuto 2a96605138 Fix build failure on illumos
Previously v2ray can not be built on illumos due to following reasons:
1. missing build tags in transport/internet/sockopt_other.go
2. many definitions in syscall does not exist on illumos
This commit addresses these problems by adding missing build tags, and
updates those missing syscall deps on illumos to use x/sys/unix.
2020-05-31 12:37:24 +08:00
Kirill Motkov 0401a91ef4 Some code improvements
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
Darien Raymond 1ab94fed79 optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond 28189197b3 remove dependency of assert lib 2019-02-01 14:38:14 +01:00
Darien Raymond a1b33c3bd6 remove unused functions 2019-01-06 20:33:58 +01:00
Darien Raymond 057e271588 update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond 5279296f03 remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00
Darien Raymond 58e2ed3381 remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond 091fa6ad23 use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond d55fbd7f8d simplify error creation 2018-09-30 18:39:53 +02:00
Darien Raymond 00ea6e3cb2 update protobuf generated files 2018-09-30 18:39:28 +02:00
Darien Raymond 383b84e7dd unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond d068f357bd update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond b3847fb7c0 MemoryStreamSettings 2018-09-07 14:50:25 +02:00
Darien Raymond 20f10c78b3 add support for wasm 2018-08-27 20:56:49 +02:00
Darien Raymond b79ec5f1ed use protocol in string form 2018-08-06 13:48:35 +02:00
Darien Raymond 4b63638dca update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond ff0ae91b9b update protobuf generated files 2018-06-26 16:28:54 +02:00
Darien Raymond 68da956fc4 re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond 2f74a5d048 disable domain socket for windows 2018-04-12 17:44:23 +02:00
Darien Raymond b7fc1f0bd6 scenario test for domain socket 2018-04-09 20:45:23 +02:00
Darien Raymond 38de82a5d3 don't release locker in abstract mode 2018-04-09 17:18:48 +02:00
Darien Raymond a320196b77 refine domain socket transport 2018-04-09 17:09:24 +02:00
Xiaokang Wang 00016e0517 Add comment 2018-04-06 20:29:08 +08:00
Shelikhoo 8e1507ae3a Prevent unuseful test failure 2018-04-05 19:27:33 +08:00
Shelikhoo 4e609c9758 Added Test for dial 2018-04-05 16:17:17 +08:00
Shelikhoo d08929a687 finish up dial 2018-04-05 15:25:39 +08:00
Shelikhoo b67cd22b78 Test and bug fix 2018-03-29 12:35:02 +08:00
Shelikhoo 09bf78a089 notify progressTraffic to quit 2018-03-18 22:13:17 +08:00
Shelikhoo 3b1f0ae300 finish transport listener 2018-03-18 21:46:50 +08:00
Shelikhoo 8e5063dedf (Sync Commit) 2018-03-16 12:35:12 +08:00
Shelikhoo 43abfc9463 Unix listeners(sync commit) 2018-03-11 13:44:21 +08:00
Shelikhoo 91f32cc8c4 Auto Gen 2018-02-12 14:47:23 +08:00
Shelikhoo b9dddd0586 Added Dialer stub 2018-02-12 14:09:12 +08:00
Shelikhoo 8fe53261cc Added function Stub 2018-02-12 14:09:12 +08:00
Shelikhoo a6612a2baa Regenerate Pb 2018-02-12 14:09:12 +08:00
Shelikhoo 5a7c49f3bd Added Generated error helper 2018-02-12 14:09:12 +08:00