1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 10:26:01 -05:00
Commit Graph

195 Commits

Author SHA1 Message Date
Darien Raymond
7f4ff04483 test cases for Equals() 2016-01-21 12:05:28 +00:00
Darien Raymond
d75eeed25d format code 2016-01-21 12:05:16 +00:00
Darien Raymond
85feb725a5 BytesLiteral.All() 2016-01-21 11:52:09 +00:00
Darien Raymond
c78460df1e test case for ipv4 address in ipv6 format 2016-01-21 11:51:53 +00:00
Darien Raymond
23b6b987ca fix a bug in cmdkey generation 2016-01-20 16:45:50 +00:00
v2ray
baaef1dad5 handle switch account command in vmess out 2016-01-20 17:31:43 +01:00
v2ray
573d0a9c29 fix build break 2016-01-19 10:32:20 +01:00
v2ray
6eff759b05 more fields in switch account command 2016-01-19 01:21:07 +01:00
v2ray
65d5c07533 BytesLiteral.String 2016-01-18 12:58:04 +01:00
v2ray
4dd771170c lazy evaluation of access log 2016-01-18 12:31:27 +01:00
v2ray
eec0bb4db4 lazy evaluation of log fields 2016-01-18 12:24:33 +01:00
Darien Raymond
ae8121e633 remove json packages in app folder 2016-01-17 15:20:49 +00:00
v2ray
2d233295e6 simplify stringlist 2016-01-15 15:23:12 +01:00
v2ray
a403859105 move network to net 2016-01-15 14:34:33 +01:00
v2ray
393a64820f simplify port range 2016-01-15 13:39:36 +01:00
v2ray
5ceac7a6e2 move host from net/json to net 2016-01-15 13:17:04 +01:00
v2ray
1f1f79b90a simplify address 2016-01-15 13:16:07 +01:00
v2ray
1958a874cd remove unnecessary memory allocation in uuid generation 2016-01-12 13:38:47 +01:00
v2ray
559eadcaf1 test case for sized queue 2016-01-11 23:04:24 +01:00
v2ray
ea080b2ebf rewrite id hash queue 2016-01-11 22:51:35 +01:00
v2ray
adf5820286 futher reduce memory usage of uuid 2016-01-11 00:22:59 +01:00
v2ray
774095568f lazy initialization of uuid string 2016-01-10 23:00:40 +01:00
v2ray
e0b56528fc leverage sync.Pool for allocation boost 2016-01-10 10:50:36 +01:00
v2ray
4773a8f4ae exit faster in cleanup thread 2016-01-10 10:31:27 +01:00
v2ray
add1197cc9 typo 2016-01-10 10:24:21 +01:00
v2ray
d1fecba6e4 improve timed queue performance 2016-01-10 09:11:46 +01:00
v2ray
89175198ee remove unnecessary cleanup routine 2016-01-09 20:36:23 +01:00
v2ray
ca71c0300f avoid infinite loop in next uuid generation 2016-01-09 01:23:38 +01:00
v2ray
4ca43c3121 alternative user ids 2016-01-09 00:10:57 +01:00
v2ray
43a06e52de init timeout value 2016-01-04 22:57:17 +01:00
v2ray
c74091453c no op when new timeout setting is the same as previous 2016-01-04 22:01:46 +01:00
Darien Raymond
e6ad1d8518 format code 2016-01-04 14:16:52 +00:00
v2ray
8d6fdd014a dns cache command 2015-12-25 01:07:42 +01:00
v2ray
6543facd51 converting from host to address directly 2015-12-17 00:58:45 +01:00
v2ray
34a0cb0b70 move port out of address 2015-12-16 23:53:38 +01:00
v2ray
e2acec745c Add a bytes method to alloc.buffer 2015-12-15 00:53:27 +01:00
Darien Raymond
9e84519134 validity map 2015-12-14 13:14:10 +00:00
v2ray
fed5697dc3 SwitchAccount command 2015-12-12 13:11:49 +01:00
v2ray
47f35b1c3e uuid 2015-12-12 11:32:40 +01:00
v2ray
5b3e84ede6 dns config 2015-12-10 22:08:36 +01:00
Darien Raymond
ed09b4ea6a support domain as host in VMess outbound config. 2015-12-09 11:20:59 +00:00
Darien Raymond
c19341ffab chinaip 2015-12-08 16:31:31 +00:00
v2ray
c54c0218e0 simplify test 2015-12-06 20:38:01 +01:00
v2ray
e1c58fae2b dns cache 2015-12-06 11:00:10 +01:00
v2ray
db7d48e48f Refine log settings 2015-12-05 21:10:14 +01:00
Darien Raymond
3942679371 doc 2015-12-04 12:13:35 +00:00
v2ray
e42510aca5 more literals 2015-12-03 16:57:23 +01:00
Darien Raymond
9b830fc432 update end 2 end test 2015-12-02 23:41:34 +00:00
Darien Raymond
d22fed67ad format code 2015-12-02 20:58:46 +00:00
Darien Raymond
ae056714db refactor common/net.Port 2015-12-02 20:44:01 +00:00
Darien Raymond
fa7c1069bc more update 2015-12-02 16:27:55 +00:00
Darien Raymond
ec31c1fa7f remove common/net unit test back. 2015-12-02 16:18:12 +00:00
Darien Raymond
ab875000e0 fix build break 2015-12-02 15:59:15 +00:00
Darien Raymond
36848af749 leveral serial.String in code 2015-12-02 15:49:34 +00:00
Darien Raymond
3c12469ae5 leverage serial.String in assert 2015-12-02 15:41:19 +00:00
Darien Raymond
091f047ebb add assertions for net utilities 2015-12-02 15:19:39 +00:00
Darien Raymond
0a2e4343bc massive refactoring against unit test lib 2015-12-02 14:27:18 +00:00
V2Ray
cee85bdf26 Add Port as a type 2015-12-02 12:47:54 +01:00
V2Ray
e8e6cf1429 doc for retry 2015-12-02 09:58:00 +01:00
V2Ray
d45b867f98 Rename RetryStrategy to Strategy as suggested by lint 2015-12-02 09:46:19 +01:00
V2Ray
cc61e88eca Log timestamp 2015-11-28 23:13:45 +01:00
V2Ray
6626c22a8d refactor 2015-11-28 20:11:23 +01:00
V2Ray
d48ac4418f config for rule based router 2015-11-21 21:43:40 +01:00
V2Ray
794b5081e3 Simplify swap 2015-11-17 14:26:13 +01:00
V2Ray
346b6125f4 test cases for Destination 2015-11-04 22:48:54 +01:00
V2Ray
a46db069fb Refactor AES encryption/decryption 2015-11-03 21:26:16 +01:00
V2Ray
3f884ed924 More test case for stream logger 2015-11-03 20:30:14 +01:00
V2Ray
144141b3c3 test case for stream logger 2015-11-03 20:24:29 +01:00
V2Ray
d58384ced0 One more test case for retry 2015-11-03 00:12:25 +01:00
V2Ray
60b116fbde Test case for retry 2015-11-03 00:07:15 +01:00
V2Ray
1cec5ac643 Test case for inbound detour network 2015-11-01 23:01:15 +01:00
V2Ray
03b8c8f9e8 Port picker 2015-11-01 21:32:08 +01:00
V2Ray
1c09b70931 format code 2015-10-31 14:08:13 +01:00
V2Ray
46c0d457d9 User settings for trusted user 2015-10-31 09:39:45 +01:00
V2Ray
c56e17fff9 Dokodemo proxy 2015-10-30 15:56:46 +01:00
V2Ray
fdb41bbd50 Remove call to UTC() which is not necessary. 2015-10-29 12:04:14 +01:00
V2Ray
bbc41c5e63 Increase small buffer pool 2015-10-21 22:39:36 +02:00
V2Ray
2c710d6b1c Protect from DoS attack 2015-10-21 21:53:55 +02:00
V2 Ray
9071b3ea10 more comments 2015-10-15 11:15:59 +00:00
V2Ray
2a00e2c6e9 Fix for IPv4 address 2015-10-14 08:43:04 +02:00
V2Ray
3c946daf88 Fix infinate look in retry 2015-10-14 00:57:00 +02:00
V2Ray
7cc8d90f26 test case for wrong auth method 2015-10-13 21:55:12 +02:00
V2Ray
b9b1e3fe61 Fix line separator 2015-10-13 21:45:09 +02:00
V2Ray
3bd4238e88 Line separator 2015-10-13 21:41:53 +02:00
V2Ray
efb881d73c Remove log level detection during runtime 2015-10-13 18:27:29 +02:00
V2Ray
1d40220d31 Remove error defination 2015-10-13 13:55:06 +02:00
V2Ray
93625dd656 Add a retry mechanism 2015-10-13 12:27:50 +02:00
V2Ray
c7c493f20e Don't block main thread when writing access log. 2015-10-11 16:06:27 +02:00
V2Ray
702aaacac3 More doc 2015-10-11 14:46:12 +02:00
V2Ray
2a85c62e14 Use large buffer if download size is huge 2015-10-11 11:43:31 +02:00
V2Ray
a80093a727 Test case for access log 2015-10-10 23:41:45 +02:00
V2Ray
6d5d8b12cd More test case for address 2015-10-10 23:20:47 +02:00
V2Ray
1652b3f7f0 Test case for buffer 2015-10-10 22:15:10 +02:00
V2Ray
d4f3fc0c0f More accurate hash generation 2015-10-10 21:43:40 +02:00
V2Ray
7fe9683f28 Cleanup queue in time 2015-10-10 21:29:37 +02:00
V2Ray
d83ddb4fa7 Release element ealier 2015-10-10 20:52:23 +02:00
V2Ray
a77f62428a Use Buffer as a writer 2015-10-10 20:52:13 +02:00
V2Ray
bf6898539b Buffer pool is mistakenly generate more buffers under normal situation. 2015-10-10 16:50:55 +02:00
V2Ray
fc80d5e279 Access log 2015-10-09 17:43:27 +02:00
V2Ray
09c76de65f format code 2015-10-09 16:48:11 +02:00