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

160 Commits

Author SHA1 Message Date
Darien Raymond
6a06908456
optimize encryption read/write operations 2018-07-31 12:37:59 +02:00
Darien Raymond
206f52affc
refine buffer interface 2018-07-30 22:45:06 +02:00
Darien Raymond
47f1399995
check errors 2018-07-29 13:19:03 +02:00
Darien Raymond
ebea255c74
eliminate partial writes 2018-07-28 15:03:40 +02:00
Darien Raymond
c15184d904
optimize readv on windows 2018-07-27 23:40:12 +02:00
Darien Raymond
f99fb3d87d
reduce readv alloc count 2018-07-27 23:35:50 +02:00
Darien Raymond
28ccd4ddd5
write all content 2018-07-27 23:35:02 +02:00
Darien Raymond
8d689fb92d
fix reader test 2018-07-27 23:34:49 +02:00
Darien Raymond
720aca16d5
remove buffer pool of 512k 2018-07-27 17:24:26 +02:00
Darien Raymond
20a08111ff
fix windows build 2018-07-25 11:51:42 +02:00
Darien Raymond
b1e07d2f6e
fix comments 2018-07-25 11:46:21 +02:00
Darien Raymond
232e715b8b
don't build readv for windows 2018-07-25 11:19:16 +02:00
Darien Raymond
ecb460b16a
better memory management 2018-07-24 22:17:30 +02:00
Darien Raymond
82ee23e6d0
make readv optional 2018-07-24 21:58:47 +02:00
Darien Raymond
a941ef5392
try readv 2018-07-24 21:48:28 +02:00
Darien Raymond
b05597df3a
fix passive connection in mux. fix #1167 2018-06-27 12:21:22 +02:00
Darien Raymond
adade2bffd
fix lint warnings 2018-05-31 11:55:11 +02:00
Darien Raymond
8f6e162142
fix lint warnings 2018-05-28 23:05:11 +02:00
Darien Raymond
e3508fffc6
deal with empty input in ReadAllToBytes. 2018-05-28 15:38:29 +02:00
Darien Raymond
b24e808a8a
fix pipe related tests 2018-05-25 12:50:33 +02:00
Darien Raymond
148a7d064d
simplify buf.BufferedReader 2018-04-21 00:54:53 +02:00
Darien Raymond
3997d13b97
rename Slice and Slice from to Resize and Advance 2018-04-19 23:48:38 +02:00
Darien Raymond
1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +02:00
Darien Raymond
e6446d43c8
fix multibuf len 2018-04-18 11:45:40 +02:00
Darien Raymond
ef1d9d24cd
fix test break 2018-04-17 00:40:27 +02:00
Darien Raymond
5d23604713
rewrite ray -> pipe 2018-04-17 00:31:10 +02:00
Darien Raymond
64ebba3cff
implement transport.pipe 2018-04-16 14:57:13 +02:00
Darien Raymond
f751bb610c
refine ctlcmd 2018-04-13 13:54:36 +02:00
Darien Raymond
48e825567a
fix error detection for pipeline 2018-04-13 11:25:41 +02:00
Darien Raymond
9d7f43a299
fix lint errors 2018-04-11 16:15:29 +02:00
Darien Raymond
b7f2f30244
support fetching config from http 2018-04-08 23:22:55 +02:00
Darien Raymond
8f7bdede4e
add check for largeSize in case there is just one pool 2018-04-06 21:13:29 +02:00
Darien Raymond
27ccc9d726
comments 2018-04-03 22:34:59 +02:00
Darien Raymond
c5bd23105e
change uint32 to int32 2018-04-02 22:01:55 +02:00
Darien Raymond
08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
Darien Raymond
4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Darien Raymond
03512a6a9b
read size to multi buffer 2018-04-02 00:25:42 +02:00
Darien Raymond
3d919a6a93
optimize auth reader 2018-04-01 23:31:53 +02:00
Darien Raymond
b3ecb9f766
align large size 2018-04-01 12:20:32 +02:00
Darien Raymond
fa6ff77cee
prevent appending nil buffer 2018-03-29 21:40:23 +02:00
Darien Raymond
bb46a96f04
refine handling for empty read 2018-03-29 18:15:50 +02:00
Darien Raymond
babd0107cf
prevent empty read in Reader 2018-03-29 10:40:18 +02:00
Darien Raymond
141b31eb19
simplify code 2018-03-28 22:23:49 +02:00
Darien Raymond
47c92fafc8
clear leftOver after write 2018-03-28 22:23:38 +02:00
Darien Raymond
eeed65f826
fix #999 2018-03-28 14:33:34 +02:00
DarienRaymond
1dadd54502
Merge pull request #985 from yujinqiu/yet-another-typo
Fix another typo
2018-03-24 20:42:01 +01:00
Jinqiu Yu
eb38f4865e Fix another typo 2018-03-23 23:17:29 +08:00
Darien Raymond
b2d9364cb5
release buffer if payload becomes small 2018-03-16 22:32:03 +07:00
Darien Raymond
000e0804e8
fix buffer recycling 2018-03-16 16:22:22 +07:00
Darien Raymond
b4e1240160
comments 2018-03-13 09:02:21 +01:00