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
0b1496bb7a
update dependencies in websocket
2019-01-17 15:47:07 +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
88e757e33f
merge duplicated code
2018-12-27 17:00:34 +01:00
Darien Raymond
fc92b6295a
compact buffers
2018-12-27 16:36:48 +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
2364f5f280
remove AddressFamily.Either()
2018-11-16 11:13:36 +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
356377ddde
change back to IPv4 address
2018-09-10 13:58:14 +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
e7d45d8d63
temporarily skip TLS test in ws
2018-08-09 16:51:47 +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
ffe18d94e4
update websocket reference
2018-07-13 12:17:52 +02:00
Darien Raymond
ff0ae91b9b
update protobuf generated files
2018-06-26 16:28:54 +02:00
Darien Raymond
9977eadf8c
remove dependency from errors to session
2018-06-25 01:09:02 +02:00
Darien Raymond
adade2bffd
fix lint warnings
2018-05-31 11:55:11 +02:00
Darien Raymond
68da956fc4
re-generate code
2018-05-25 11:56:01 +02:00
Darien Raymond
c9e711374f
use websocket from vendor
2018-04-20 22:45:44 +02:00
Darien Raymond
318a36fe58
automatic issuing certificates from provided CA
2018-04-10 12:42:02 +02:00
Shelikhoo
c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
2018-04-05 19:11:33 +08:00
wuxiangzhou2010
f0862df9a7
fix typo
2018-04-02 16:12:35 +08:00
Ubuntu
7b28be596d
fix typo
2018-03-02 08:26:14 +00:00
Darien Raymond
bdab1af29a
update tls config generation
2018-02-28 15:15:22 +01:00
Darien Raymond
6b872c266c
session id
2018-02-22 15:26:00 +01:00
Shelikhoo
7f34cbdaff
Add Generated Files
2018-02-12 14:17:14 +08:00
Darien Raymond
acc6ea3e6b
fix websocket test
2018-02-08 16:39:18 +01:00
Darien Raymond
efcb567273
remove context in struct
2018-02-08 15:39:46 +01:00
Darien Raymond
f4c35db968
merge log into common log
2017-12-19 21:28:12 +01:00
Darien Raymond
054ceb865d
avoid port in-use error in websocket test
2017-12-19 13:37:37 +01:00
Darien Raymond
91ca88bcff
read original addr from x-forwarded-for header if present
2017-12-18 20:34:00 +01:00
Darien Raymond
048ffbc7dc
simplify tls config
2017-12-17 00:53:17 +01:00
Darien Raymond
80e43a6b37
reduce websocket memory usage
2017-12-16 02:04:51 +01:00
Darien Raymond
d43a23aa96
move error generator to common
2017-12-03 01:04:57 +01:00
Darien Raymond
51ddc00c70
reduce buffer size in websocket
2017-11-16 18:11:02 +01:00
Darien Raymond
594ec15c09
cleanup buffer usage
2017-11-09 22:33:15 +01:00
Darien Raymond
d5fd7efa7e
fast read on first packet
2017-11-08 22:23:21 +01:00
Darien Raymond
af88016320
fix #643
2017-10-26 11:43:02 +02:00