1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 17:27:50 -04:00
Commit Graph

48 Commits

Author SHA1 Message Date
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
lucifer
4c9210cf11
Parse X-Forwarded-For in http transport (#142)
* Parse X-Forwarded-For

* Update hub.go

Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
2020-08-30 04:30:05 +00:00
loyalsoldier
f9175e3bc8
Fix according to go vet results 2020-08-26 19:35:33 +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
Darhwa
8e791e92bc
Further strip unique signatures of tls handshake
1. allow users to disable session ticket
2. set default alpn to ["h2", "http/1.1"]
2020-06-18 11:32:37 +08:00
Shelikhoo
09b81b78c3
regenerate pb data 2020-06-08 16:16:32 +08:00
lucifer9
e6bf431f93 add server side h2c support 2019-07-05 11:18:00 +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
98950d5ada
remove dep of assert lib 2019-02-10 15:02:28 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib 2019-02-02 22:19:30 +01:00
Darien Raymond
1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond
6146366a4a
enforce timeout for http header processing 2019-01-10 10:40:51 +01:00
Darien Raymond
a1b33c3bd6
remove unused functions 2019-01-06 20:33:58 +01:00
Darien Raymond
d20f87da4b
comments 2019-01-01 20:16:04 +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
94b880d060
move session based info into session package 2018-09-18 23:09:54 +02:00
Darien Raymond
383b84e7dd
unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond
20251bf499
system listener for both TCP and UDP 2018-09-15 21:35:32 +02:00
Darien Raymond
d068f357bd
update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond
6d750e8149
options for enable TFO 2018-09-10 13:23:27 +02:00
Darien Raymond
b3847fb7c0
MemoryStreamSettings 2018-09-07 14:50:25 +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
ac6a0f7511
update activity timer 2018-05-27 14:42:53 +02:00
Darien Raymond
213f827406
policy for internal buffer size 2018-05-25 12:08:28 +02:00
Darien Raymond
68da956fc4
re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond
f1f4a796cf
Set correct remote addr for h2 request. Fixes #1068. 2018-04-21 11:00:40 +02:00
Darien Raymond
148a7d064d
simplify buf.BufferedReader 2018-04-21 00:54:53 +02:00
Darien Raymond
d7aeb51904
merge http.Connection into net.Connection 2018-04-20 21:30:58 +02:00
Darien Raymond
a7103481d5
force http2 server to send back plain encoding. 2018-04-20 16:10:32 +02:00
Darien Raymond
64ebba3cff
implement transport.pipe 2018-04-16 14:57:13 +02:00
Darien Raymond
d6dc88860b
simplify done api 2018-04-15 20:40:47 +02:00
Darien Raymond
9d8922f523
close http2 server immediately. fixes #1051 2018-04-14 23:07:47 +02:00
Darien Raymond
318a36fe58
automatic issuing certificates from provided CA 2018-04-10 12:42:02 +02:00
Darien Raymond
4c2edeb18a
fix test break 2018-04-02 22:17:06 +02:00
Darien Raymond
3ff570a050
write listen error to log 2018-03-21 23:38:49 +01:00
Darien Raymond
169b901c2d
lazy init of dialer map 2018-03-21 23:28:28 +01:00
Darien Raymond
e647292b9a
protect against writing to closed body 2018-03-21 12:53:57 +01:00
Darien Raymond
f17b865982
gofmt 2018-03-08 21:07:01 +01:00
Darien Raymond
e5d3783ed7
consume config in dialer and hub 2018-03-01 14:22:33 +01:00
Darien Raymond
d207d953bd
h2 transport 2018-03-01 13:16:52 +01:00