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

136 Commits

Author SHA1 Message Date
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
Darien Raymond
0c213ccd20
reset buffer when free 2018-03-12 16:24:31 +01:00
Darien Raymond
5bbece14af
simplify pool creation 2018-03-12 16:21:39 +01:00
Darien Raymond
34c12c1af6
extend buffer 2018-03-11 23:31:37 +01:00
Darien Raymond
931c8597ca
fix len -> cap 2018-03-11 23:30:51 +01:00
Darien Raymond
994aecd13c
rename NewLocal to NewSize 2018-03-11 23:29:17 +01:00
Darien Raymond
f97e6fa3d2
refine buffer allocation 2018-03-11 23:06:04 +01:00
Darien Raymond
eaf043f1b3
reduce memory usage of Buffer 2018-03-08 22:30:52 +01:00
Darien Raymond
b3e46f5d07
fix error handling in buf.Copy 2018-02-19 17:50:53 +01:00
Darien Raymond
ccb2a9f168
comments 2018-02-13 11:15:04 +01:00
Darien Raymond
ae4dece6b0
explictly use the io.Writer instance for writing net.Buffers 2018-02-12 14:35:42 +01:00
Darien Raymond
0959755d21
fix a buffer leak in buffered reader 2017-12-16 02:02:48 +01:00
Darien Raymond
123977e324
fix misspelling 2017-12-13 15:55:39 +01:00
Darien Raymond
4c7c42d39f
grow buffer size slower 2017-12-08 13:23:15 +01:00
Darien Raymond
7709ee9b7f
more interface test 2017-12-03 23:11:29 +01:00
Darien Raymond
d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond
519eb344db
handle data first and then error 2017-11-26 15:08:37 +01:00
Darien Raymond
41961dbd60
cleanup 2017-11-25 21:58:47 +01:00
Darien Raymond
052d2d8278
merge noOpBytesWriter into noOpWriter 2017-11-25 21:35:26 +01:00
Darien Raymond
6de4ef014a
read directly from underlying buffered reader in mux 2017-11-25 01:05:30 +01:00
Darien Raymond
2fdccb2424
handle read with data and error at same time 2017-11-24 23:16:01 +01:00
Darien Raymond
b0ac43a8fc
comments 2017-11-21 17:02:55 +01:00
Darien Raymond
fcc66704fa
comments 2017-11-21 16:55:22 +01:00
Darien Raymond
66ebeaa0ca
cleanup 2017-11-21 16:53:07 +01:00
Darien Raymond
ec8f8d4e10
remove check for ReaderFrom on underlying writer, as it may be badly implemented. 2017-11-20 11:13:27 +01:00