1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-20 10:56:07 -04:00
Commit Graph

162 Commits

Author SHA1 Message Date
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream 2020-06-24 12:57:03 +08: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
vcptr
5d9e2e69a9 external module gorilla/websocket use mod version 2019-10-19 10:05:40 +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
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
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
9f7fbd9a04 fix websocket test 2017-10-22 16:04:39 +02:00
Darien Raymond
6dd23b45b0 fix lint warnings for websocket 2017-10-21 09:45:27 +02:00
Darien Raymond
60f3562ac1 simplify websocket dialer and hub 2017-10-20 22:45:14 +02:00
Darien Raymond
669a0cafaf support header override in websocket 2017-10-13 23:54:04 +08:00
Darien Raymond
b862365832 include detailed error 2017-09-29 18:10:17 +02:00
Darien Raymond
52ad41cda3 completely move away from net package 2017-08-29 14:32:54 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond
5829b45bbe
close timer faster 2017-05-09 00:01:15 +02:00
Darien Raymond
39005d8fc4
refactor 2017-04-26 10:59:18 +02:00
Darien Raymond
cea6e28634
refactor 2017-04-23 13:41:52 +02:00
Darien Raymond
6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond
5f4acaa9ea
merging reader and writer 2017-04-20 11:00:15 +02:00
Darien Raymond
6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond
69b51bffbb
implement write multi buffer in websocket 2017-04-18 20:56:29 +02:00
Darien Raymond
7c1b3ac1f0
cleanup error messages 2017-04-09 13:30:46 +02:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +02:00
Darien Raymond
75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond
fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond
2e5cb82790
update proto 2017-04-04 12:28:14 +02:00
Darien Raymond
ec0986d6a9
remove useless code 2017-02-27 15:13:22 +01:00
Darien Raymond
d93ff628bc
refactor tcp worker 2017-02-26 14:38:41 +01:00
Darien Raymond
7792237b50
adopt context in listeners 2017-02-24 01:05:16 +01:00
Darien Raymond
9cbc9b7170
refactor dialer 2017-02-23 23:48:47 +01:00
Darien Raymond
7a97d73737
fix race condition in transport 2017-02-18 00:28:50 +01:00
Darien Raymond
38014efdee
refactor websocket 2017-02-16 17:13:20 +01:00
Darien Raymond
935620104d
refactor websocket 2017-02-16 16:53:31 +01:00
Darien Raymond
9ca520893b
comments 2017-02-14 09:26:17 +01:00
Darien Raymond
2ba59428c9
remove lock in websocket connection 2017-02-10 16:41:54 +01:00
Darien Raymond
cfcf16feed
fix typo 2017-02-10 11:57:59 +01:00
Darien Raymond
1aeab3dd96
normalized path in websocket 2017-02-10 11:47:53 +01:00
Darien Raymond
5e7fb6d0dd
refine error handling in retry logic 2017-02-10 11:41:50 +01:00
Darien Raymond
d270a99d4f
simplify code 2017-02-09 12:31:40 +01:00
Darien Raymond
0d68293ef8
fix test break 2017-02-09 12:31:26 +01:00
Darien Raymond
cdb0b94046
cleanup websocket code 2017-02-09 11:42:17 +01:00
Darien Raymond
5ec3fe093d
fix test break 2017-02-08 19:00:13 +01:00
Darien Raymond
3be6c72211
cleanup websocket code 2017-02-08 18:30:16 +01:00
Darien Raymond
b5d14b6823
update java options 2017-02-03 23:15:10 +01:00
Darien Raymond
f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond
9139a87865
closw conn in the same routine 2017-01-28 16:28:18 +01:00
Darien Raymond
55fb18b6e1
reduce websocket buffer size 2017-01-27 13:50:38 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
6eff0acc0b
rename transportsettings to transportconfig 2017-01-16 14:18:33 +01:00
Darien Raymond
d4c471c967
generate TLS certificate on the fly 2017-01-12 16:10:03 +01:00
Darien Raymond
d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00