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

175 Commits

Author SHA1 Message Date
Darien Raymond
d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond
fd8db49dc9
generalized event handler 2017-11-28 23:41:20 +01:00
Darien Raymond
f90ec9fff0
rename interfaces 2017-11-27 22:18:39 +01:00
Darien Raymond
3214a5078c
customizable policy 2017-11-27 22:09:30 +01:00
Darien Raymond
f3ba1dbb8c
fix lint warnings 2017-11-15 18:28:39 +01:00
Darien Raymond
23f209075f
use ip if already resolved 2017-11-15 12:55:54 +01:00
Darien Raymond
0dbfb66126
clean up dns package 2017-11-15 00:36:14 +01:00
Darien Raymond
cab5c10fc2
remove use of KeepAlive 2017-11-07 22:31:47 +01:00
Darien Raymond
2ce1d8ffa2 Revert "support early terminition in Freedom"
This reverts commit 3d0b2e4c79.
2017-09-27 15:10:25 +02:00
Darien Raymond
3d0b2e4c79 support early terminition in Freedom 2017-09-27 14:09:38 +02:00
Darien Raymond
e149782025 simplify destination copy logic 2017-09-11 22:03:26 +02:00
Darien Raymond
6f3362fc4c
update activity 2017-04-27 22:30:48 +02:00
Darien Raymond
498c7dafdf
clean udp writer 2017-04-21 14:51:09 +02:00
Darien Raymond
ab9349ec31
rename buf.Copy 2017-04-17 22:50:02 +02:00
Darien Raymond
cdcf72cbe7
refine error messages 2017-04-16 22:48:51 +02:00
Darien Raymond
2f565bfd5e
simplify ray stream 2017-04-16 09:57:28 +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
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