1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
Commit Graph

488 Commits

Author SHA1 Message Date
Darien Raymond
7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond
a3cb770f77
clean up errors 2016-12-09 00:11:05 +01:00
Darien Raymond
41fcffbfab
fix data input and output signal 2016-12-08 22:50:12 +01:00
Darien Raymond
40249dfacb
change API 2016-12-08 22:49:24 +01:00
Darien Raymond
30d886fd6f
refresh protobuf 2016-12-08 20:59:58 +01:00
Darien Raymond
41258f19fc
comments 2016-12-08 16:37:04 +01:00
Darien Raymond
1431e32d01
comments 2016-12-08 16:32:53 +01:00
Darien Raymond
0917866f38
refine kcp header and security 2016-12-08 16:27:41 +01:00
Darien Raymond
d716d02cd8
correctly handle sending window length 2016-12-07 00:31:01 +01:00
Darien Raymond
8c8f0a53fd
rewrite alloc.buffer 2016-12-06 11:03:42 +01:00
Darien Raymond
4bf8288cc2
remove use of Buffer.Value 2016-12-05 21:33:24 +01:00
Darien Raymond
e46bad3f18
format errors 2016-12-04 09:43:33 +01:00
Darien Raymond
efb24a4d21
rewrite error lib 2016-12-04 09:10:47 +01:00
Darien Raymond
a4019a6900
fast return on zero ack list 2016-12-02 21:40:58 +01:00
Darien Raymond
207c7aa8a7
flush acklist when dirty 2016-12-02 16:49:33 +01:00
Darien Raymond
60697e4e4f
fix test break 2016-12-02 15:10:48 +01:00
Darien Raymond
2cf44393fb
increase ray buffer size 2016-12-02 14:22:46 +01:00
Darien Raymond
1186b0e733
fix label name 2016-12-02 00:09:57 +01:00
Darien Raymond
a53808c83b
fix link 2016-12-01 22:22:28 +01:00
Darien Raymond
fa0011c4c9
fix build break 2016-12-01 22:22:20 +01:00
Darien Raymond
eb877fa808
remove unnecessary import 2016-11-30 22:24:59 +01:00
Darien Raymond
3ffef74d75
allocate in advance 2016-11-30 22:24:06 +01:00
Darien Raymond
8b07c39281
update default kcp bandwidth settings 2016-11-30 21:36:40 +01:00
Darien Raymond
31fbb62d0f
add back flush timeout 2016-11-29 17:12:09 +01:00
Darien Raymond
3be9519ed4
send more ack seg 2016-11-29 08:31:19 +01:00
Darien Raymond
2dc74faf19
send more ack numbers if not full 2016-11-28 22:06:32 +01:00
Darien Raymond
5ffabe1148
reduce time spent on kcp test 2016-11-28 22:05:57 +01:00
Darien Raymond
f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond
d00f8eef56
remove use of 'v' as a variable name 2016-11-27 17:01:44 +01:00
Darien Raymond
b1f78a1ffc
enable conn reuse settings in mkcp 2016-11-27 09:02:27 +01:00
Darien Raymond
d19ee4d408
connection reuse for mkcp 2016-11-27 08:58:31 +01:00
Darien Raymond
b2e084c78c
recycler interface 2016-11-27 08:47:24 +01:00
Darien Raymond
22379e5a6b
refactor connection pool 2016-11-24 23:16:05 +01:00
Darien Raymond
e8cde53975
fix tcp log 2016-11-22 08:23:03 +01:00
Darien Raymond
e0116d3957
fix http read 2016-11-22 00:52:26 +01:00
Darien Raymond
15cb543abb
release memory in kcp connection 2016-11-21 22:41:12 +01:00
Darien Raymond
70c75038a2
small buffer 2016-11-21 22:08:34 +01:00
Darien Raymond
30cd9e929d
add exponential backoff as retry logic 2016-11-20 21:47:51 +01:00
Darien Raymond
d6086e0e9b
remove buggy test case 2016-11-19 22:54:42 +01:00
Darien Raymond
f64c79e239
log 2016-11-19 22:40:06 +01:00
Darien Raymond
2078f29142
refine error message 2016-11-19 14:38:13 +01:00
Darien Raymond
ac2f62b239
reduce memory footprint in kcp 2016-11-19 01:49:54 +01:00
Darien Raymond
ed780951aa
save some goroutines 2016-11-19 01:48:38 +01:00
Darien Raymond
292176c57f
simplify udp payload queue 2016-11-19 00:34:30 +01:00
Darien Raymond
1a1383c2ea
simplify random 2016-11-18 21:34:42 +01:00
Darien Raymond
a14795e1e6
optimize udp hub 2016-11-18 21:30:03 +01:00
Darien Raymond
4ee758c4d2
simplify kcp logic 2016-11-18 16:19:13 +01:00
Darien Raymond
ad3f450bce
fix usage of io.EOF 2016-11-17 23:21:44 +01:00
Darien Raymond
e72f8a26c8
min timeout 2016-11-13 22:29:31 +01:00
Darien Raymond
0cd9f5165f
update kcp sending worker 2016-11-13 22:27:58 +01:00
Darien Raymond
9471b5b066
refine dispatcher 2016-11-13 14:33:00 +01:00
Darien Raymond
5dc05d6352
allow outbound to be proxied 2016-11-10 23:41:28 +01:00
Darien Raymond
d343cb1ee6
proxy connection 2016-11-09 00:17:09 +01:00
Darien Raymond
7a09fcdc2f
increase kcp ack frequency 2016-11-08 00:35:14 +01:00
Darien Raymond
b0d009664a
Fix HTTP serialization 2016-11-07 10:47:30 +01:00
Darien Raymond
dc0cbce6e1
optimize pickString 2016-11-06 14:04:44 +01:00
Darien Raymond
66e8090d3a
update http header 2016-11-06 13:38:32 +01:00
Darien Raymond
f108633e2e
ssr compatibility 2016-11-05 01:50:51 +01:00
Darien Raymond
13dde1799d
comments 2016-11-05 01:01:46 +01:00
Darien Raymond
bae0de7d95
test case for http auth 2016-11-04 21:59:19 +01:00
Darien Raymond
010f34c76c
allow single side auth 2016-11-03 23:14:27 +01:00
Darien Raymond
0747203132
refine http header 2016-11-02 22:26:21 +01:00
Darien Raymond
aabb9137e1
remove unused code 2016-11-01 12:34:07 +01:00
Darien Raymond
33d2513e3c
reduce memory allocation in kcp 2016-11-01 12:07:20 +01:00
Darien Raymond
5b58066345
use local buffer in UDP hub 2016-11-01 11:46:34 +01:00
Darien Raymond
d3f323e24b
response factory 2016-11-01 00:42:55 +01:00
Darien Raymond
187688cacb
fix type def 2016-11-01 00:42:44 +01:00
Darien Raymond
72339a3509
fix TCP conn reuse with tls 2016-11-01 00:41:46 +01:00
Darien Raymond
ac3b91a877
http authenticator 2016-10-31 22:26:46 +01:00
Darien Raymond
97dc7b30de
remove test cases depending on external resources 2016-10-24 16:48:16 +02:00
Darien Raymond
e13c97d162
rename IP to CIDR in router 2016-10-18 16:42:22 +02:00
Darien Raymond
2320bc3304
remove unused code 2016-10-18 15:31:48 +02:00
Darien Raymond
751a105324
comments 2016-10-18 15:31:39 +02:00
Darien Raymond
b81d091fb8
comments 2016-10-18 00:09:49 +02:00
Darien Raymond
9bd8822668
unused proto 2016-10-18 00:09:41 +02:00
Darien Raymond
5a311cbe08
json config parser 2016-10-17 14:35:13 +02:00
Darien Raymond
e33b7df34c
remove use of any 2016-10-16 14:22:21 +02:00
Darien Raymond
be026870f7
protogen update 2016-10-16 00:23:27 +02:00
Darien Raymond
f488a63d97
check nil config 2016-10-14 21:19:26 +02:00
Darien Raymond
d26ee5441e
fix authenticator config 2016-10-12 22:43:17 +02:00
Darien Raymond
ab3173039b
increase ping interval 2016-10-11 21:21:06 +02:00
Darien Raymond
b5910dccae
simplify fast resend 2016-10-11 13:17:57 +02:00
Darien Raymond
f8ad1f4a3e
update predicate syntax 2016-10-11 12:44:17 +02:00
Darien Raymond
da9f1a8013
predicate.Not 2016-10-11 12:30:53 +02:00
Darien Raymond
f3a83c57ab
optimize ping and updater logic 2016-10-11 12:24:19 +02:00
Darien Raymond
78f87c4f60
test case for cmd only segment 2016-10-11 11:44:30 +02:00
Darien Raymond
e023859ef0
stop data updating thread when there is no data 2016-10-10 16:50:54 +02:00
Darien Raymond
67793eb3e0
fix config creator cache 2016-10-03 12:25:36 +02:00
Darien Raymond
1d13f47f9c
protobuf for stream settings 2016-10-02 23:43:58 +02:00
Darien Raymond
5ec948f690
integrate tls settings in ws 2016-09-30 16:53:40 +02:00
Darien Raymond
af6abfa3e3
update proto generated code 2016-09-26 15:14:39 +02:00
Darien Raymond
91f2a40dae
refine proto package names 2016-09-26 15:14:16 +02:00
Darien Raymond
dc6b7e2e75
protobuf for blackhole config 2016-09-22 12:01:36 +02:00
Darien Raymond
b28d718b79
optional field in kcp config 2016-09-21 21:08:05 +02:00
Darien Raymond
1a3f51ade7
protobuf for kcp config 2016-09-21 14:39:07 +02:00
Darien Raymond
8f6a972970
refactor config cache 2016-09-21 13:52:16 +02:00
Darien Raymond
7de7588ec2
proto for destination 2016-09-20 11:53:05 +02:00
Darien Raymond
c518726910
network proto 2016-09-20 10:44:44 +02:00
Darien Raymond
fbdb1e09d7
remove incorrect check on config name 2016-09-19 23:54:48 +02:00
Darien Raymond
9ade07db03
remove IsTCP() and IsUDP() 2016-09-19 16:39:11 +02:00