1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00
Commit Graph

155 Commits

Author SHA1 Message Date
Darien Raymond
f34ad57b58
refactor timer api 2017-03-31 21:45:43 +02:00
Darien Raymond
a57531ef5d
cancel context after finish 2017-03-31 21:10:33 +02:00
Darien Raymond
e39a67d5bc
log timeout in freedom 2017-03-31 17:45:55 +02:00
Darien Raymond
5e7fb6d0dd
refine error handling in retry logic 2017-02-10 11:41:50 +01:00
Darien Raymond
d04d92c187
update context functions 2017-02-09 22:49:38 +01:00
Darien Raymond
c4d0227977
simplify dialer and dispatcher parameters 2017-02-03 22:35:09 +01:00
Darien Raymond
f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond
c462e35aad
cancel sessions after inactivity 2017-01-31 12:42:05 +01:00
Darien Raymond
c09ca41161
handle close wait 2017-01-28 22:31:21 +01:00
Darien Raymond
fab20bb0cf
close outbound connections when context is done 2017-01-28 21:24:46 +01:00
Darien Raymond
9462f710a5
able to redirect to another destination in freedom 2017-01-26 23:05:24 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
b40a139310
simplify import 2017-01-13 23:42:39 +01:00
Darien Raymond
148e4832eb
leverage global object creator in proxies. 2017-01-13 00:56:21 +01:00
Darien Raymond
d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00
Darien Raymond
72992c7478
able to close ray stream with error 2017-01-10 14:22:42 +01:00
Darien Raymond
b11d48d73f
simplify app design 2017-01-06 15:32:36 +01:00
Darien Raymond
e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond
49210d8362
refine stream handling 2017-01-04 12:34:01 +01:00
Darien Raymond
31d6e74482
remove rawtcp 2017-01-03 14:53:59 +01:00
Darien Raymond
f6aa7a0053
fix usage of ray stream. 2016-12-30 00:51:39 +01:00
Darien Raymond
609dbc1f13
task engine for all proxies 2016-12-30 00:32:20 +01:00
Darien Raymond
7bc98503a8
remove buggy CloseWrite() 2016-12-29 00:56:17 +01:00
Darien Raymond
7d31c0641b
fix lint warnings 2016-12-28 00:58:53 +01:00
Darien Raymond
7c751fcca0
common.Must 2016-12-28 00:53:29 +01:00
Darien Raymond
a24b11af27
fix lint warnings 2016-12-22 13:33:28 +01:00
Darien Raymond
1ab02e0a6b
refactor proxy registry 2016-12-15 15:46:20 +01:00
Darien Raymond
50bc195f7f
rename TypedSettings to TypedMessage 2016-12-15 11:51:09 +01:00
Darien Raymond
1948d0738f
refactor io package 2016-12-09 13:17:34 +01:00
Darien Raymond
7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond
cf3eb0e77d
refine buffer usage 2016-12-05 15:19:14 +01:00
Darien Raymond
efb24a4d21
rewrite error lib 2016-12-04 09:10:47 +01:00
Darien Raymond
14829f67f0
refine outbound proxy handler interface 2016-11-27 23:57:19 +01:00
Darien Raymond
f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond
b9dde62ae7
fix import 2016-11-22 08:21:10 +01:00
Darien Raymond
6804d8f73a
better handling error from Pipe() 2016-11-22 00:17:49 +01:00
Darien Raymond
c041740940
remove ErrMissingApplication 2016-11-21 21:13:01 +01:00
Darien Raymond
30cd9e929d
add exponential backoff as retry logic 2016-11-20 21:47:51 +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
e33b7df34c
remove use of any 2016-10-16 14:22:21 +02:00
Darien Raymond
1d13f47f9c
protobuf for stream settings 2016-10-02 23:43:58 +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
9ade07db03
remove IsTCP() and IsUDP() 2016-09-19 16:39:11 +02:00
Darien Raymond
bbca180dba
try protobuf 2016-08-25 21:55:49 +02:00
Darien Raymond
e6e0419958
format private annotation 2016-08-24 11:17:42 +02:00
v2ray
07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray
89a876a6d4
rename proxy/internal to proxy/registry 2016-08-17 23:30:15 +02:00
v2ray
956b47f6ae
release connection after all data read in freedom 2016-08-15 14:31:46 +02:00
v2ray
66bb7879e0
handle empty payload in freedom and outbound 2016-08-15 12:23:35 +02:00
v2ray
4419f1e3d6
introduce address family in v2net 2016-08-14 18:14:12 +02:00
v2ray
7f661f5215
rename Error to Err 2016-06-27 08:53:35 +02:00
v2ray
9b6dc6bcea massive refactoring for kcp 2016-06-14 22:54:08 +02:00
v2ray
50ca869929 organize handler metadata 2016-06-04 14:25:13 +02:00
v2ray
a4d76dc394 support using specific address 2016-06-04 00:38:22 +02:00
v2ray
4b92e6b25b update log 2016-06-03 20:21:46 +02:00
v2ray
0a7deabd46 remove unnecessary log 2016-06-02 23:23:04 +02:00
v2ray
47338fba1e timeout setting for freedom 2016-06-02 23:18:44 +02:00
v2ray
0fac2084c7 reusable connection 2016-05-31 00:21:41 +02:00
v2ray
0ea2678e72 Allow freedom to consume DNS settings 2016-05-22 22:30:21 +02:00
v2ray
67db5830be agreesively close rays 2016-05-07 09:53:15 +02:00
v2ray
8d1f06ebaf clean up on error 2016-05-07 00:19:06 +02:00
v2ray
42907ff2e8 Remove v2net.Packet 2016-04-26 00:13:26 +02:00
v2ray
44bf412dfc release all adaptive readers and writers 2016-04-18 19:01:24 +02:00
v2ray
7407c8d561 use stream instead of raw chan 2016-04-18 18:44:10 +02:00
v2ray
c6df0fde19 clean up variable initialization 2016-02-03 21:36:52 +01:00
Darien Raymond
0d77139c24 fix udp issue in socks proxy 2016-02-01 15:36:33 +00:00
Darien Raymond
8006d0cfdc update version in install-release.sh 2016-02-01 14:06:03 +00:00
Darien Raymond
3b1f92b7e8 allow multiple UDP incoming packets in freedom 2016-02-01 11:38:38 +00:00
v2ray
d3ff2b3698 chunk stream in vmess 2016-02-01 12:22:29 +01:00
v2ray
2031c13a7f refactor app.Space 2016-01-31 17:01:28 +01:00
Darien Raymond
008c285324 move transport methods from net to io 2016-01-29 13:39:55 +00:00
v2ray
eec0bb4db4 lazy evaluation of log fields 2016-01-18 12:24:33 +01:00
v2ray
4a8ec6926b dialer 2015-12-17 01:19:04 +01:00
v2ray
34a0cb0b70 move port out of address 2015-12-16 23:53:38 +01:00
v2ray
24653aef21 still close connection agressively 2015-12-15 16:38:25 +01:00
v2ray
e12e5a0ecb barely working http proxy 2015-12-15 16:00:47 +01:00
Darien Raymond
dd81fc6f6a hide space implementations from interfaces 2015-12-11 11:01:20 +00:00
v2ray
e1c58fae2b dns cache 2015-12-06 11:00:10 +01:00
V2Ray
4046ee968c refactor code 2015-11-27 21:50:28 +01:00
V2Ray
890d185979 Cleanup root directory 2015-10-14 14:51:19 +02:00
V2Ray
efb881d73c Remove log level detection during runtime 2015-10-13 18:27:29 +02:00
V2Ray
7f6878fbc3 Ray is never nil 2015-10-10 20:52:31 +02:00
V2Ray
055c8f1833 Move goroutine one level above. 2015-10-10 01:25:12 +02:00
V2Ray
3cb1951dfc Use []byte in pool instead of buffer 2015-10-08 17:41:38 +02:00
V2Ray
9ee73c4f6b Maintain an internal buffer pool to accelerate allocation 2015-10-08 14:46:18 +02:00
V2Ray
e7daa4c21c Add size parameter to transport.ReadFrom 2015-10-07 21:17:11 +02:00
V2Ray
cd81e5531b reuse outbound connection handler 2015-10-07 00:30:44 +02:00
V2Ray
78daf8a879 format code 2015-10-06 17:24:57 +02:00
V2Ray
85311a95dd More logs 2015-10-06 17:24:31 +02:00
V2Ray
afb5448ffe test case for UDP in freedom 2015-10-04 20:22:52 +02:00
V2Ray
557f411f85 Update freedom connection for UDP 2015-10-04 00:58:07 +02:00
V2Ray
76563cb7c7 simplify udp handling 2015-10-02 15:32:26 +02:00
V2Ray
bb442b4f83 Fix usage of Mutex 2015-09-23 17:13:50 +02:00
V2Ray
3fbae6795a Switch to Mutex for better readability 2015-09-23 14:14:53 +02:00
V2Ray
53eff7bb3e format code 2015-09-22 18:43:30 +02:00
V2Ray
3f0f8f005d still need this goroutine 2015-09-22 18:43:12 +02:00
V2Ray
f30841019d simplify code 2015-09-22 18:31:06 +02:00
V2Ray
4874cd54a4 Introduce Packet to unify TCP and UDP communication 2015-09-22 14:45:03 +02:00