loyalsoldier
784775f689
Refine code according to golangci-lint results
2020-10-11 19:22:46 +08:00
Loyalsoldier
bb44d01096
Format proto files using clang-format according to google style ( #264 )
...
* Format proto files using clang-format according to google style
* Regenerate pb.go files
2020-10-05 08:36:40 +08:00
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH
2020-10-04 13:06:12 +08:00
loyalsoldier
f12f76582f
Fix according to staticcheck result
...
staticcheck repo: https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
2020-08-30 23:41:15 +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
Shelikhoo
b610fc0a70
make error less sensitive
2020-06-03 16:32:58 +08:00
Shelikhoo
221a13e658
Early detection of non http traffic to match web server behavior
2020-06-03 15:44:25 +08:00
Shelikhoo
087a62ef3d
Fixed HTTP response not adjusted based on request
2020-06-03 15:16:03 +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
66a60dbfa3
remove dep on assert lib
2019-02-03 19:46:53 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib
2019-02-02 22:19:30 +01:00
Darien Raymond
c9958681f7
remove dependency on assert lib
2019-01-31 20:57:01 +01:00
Darien Raymond
8e131bcd1f
remove dependency on assert lib
2019-01-18 15:59:39 +01:00
Darien Raymond
057e271588
update proto lib
2018-12-01 17:39:51 +01:00
Darien Raymond
9379b2f934
fix srtp header
2018-11-30 17:37:38 +01:00
Darien Raymond
874fc87498
test long header
2018-11-07 17:16:57 +01:00
Darien Raymond
f7b96507f9
simplify buffer extension
2018-11-02 21:34:04 +01:00
Darien Raymond
35ccc3a49c
cleanup unnecessary method in serial.
2018-11-02 18:20:02 +01:00
Darien Raymond
815c7f09ba
migrate to std lib
2018-11-02 15:47:58 +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
02ae48095b
add wireguard fake header
2018-08-27 21:52:25 +02:00
Darien Raymond
fdb3a7b57d
remove use of buf.NewSize()
2018-08-16 12:05:33 +02:00
Darien Raymond
ebea255c74
eliminate partial writes
2018-07-28 15:03:40 +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
67f5292f38
fix lint errors
2018-05-25 23:20:24 +02:00
Darien Raymond
5b4eef5c7b
fix dtls header
2018-05-25 20:58:16 +02:00
Darien Raymond
956c4f5bcf
update dtls.length logic
2018-05-25 19:34:32 +02:00
Darien Raymond
f9277958a5
DTLS header for MKCP
2018-05-25 17:16:15 +02:00
Darien Raymond
68da956fc4
re-generate code
2018-05-25 11:56:01 +02:00
Darien Raymond
3997d13b97
rename Slice and Slice from to Resize and Advance
2018-04-19 23:48:38 +02:00
Darien Raymond
1425fd2ba9
remove Buffer.Append method
2018-04-19 22:56:55 +02:00
Shelikhoo
c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
2018-04-05 19:11:33 +08:00
Darien Raymond
08dab81eb2
migrate int to int32
2018-04-02 20:00:50 +02:00
Darien Raymond
d1898b995f
remove unnecessary NewSize
2018-03-11 23:45:24 +01:00
Darien Raymond
994aecd13c
rename NewLocal to NewSize
2018-03-11 23:29:17 +01:00
Shelikhoo
7f34cbdaff
Add Generated Files
2018-02-12 14:17:14 +08:00
Darien Raymond
9561301fea
update headers test cases
2017-12-16 23:31:05 +01:00
Darien Raymond
13ed4b8429
update http header test
2017-12-03 23:41:01 +01:00
Darien Raymond
d43a23aa96
move error generator to common
2017-12-03 01:04:57 +01:00
Darien Raymond
6c9a60100d
format code
2017-10-26 21:44:22 +02:00
Darien Raymond
74cf833758
fully migrate to new assertion lib
2017-10-24 16:15:35 +02:00
Darien Raymond
1c856a46ab
step 1 to remove reference to net package
2017-08-29 12:56:57 +02:00
Darien Raymond
2e756cdaa8
refactor
2017-04-27 11:54:15 +02:00