1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 09:26:21 -05:00
Commit Graph

56 Commits

Author SHA1 Message Date
Darien Raymond
0f324a613e
remove MultiBuffer.Release 2018-11-17 22:45:07 +01:00
Darien Raymond
48cac1733f
remove NewMultiBufferCap 2018-11-16 11:29:16 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
e7345f079e
comments 2018-10-24 15:02:19 +02:00
Darien Raymond
de4072a65a
more test cases 2018-10-24 13:51:04 +02:00
Darien Raymond
8c841a05fb
use readv reader by default 2018-08-25 10:41:39 +02:00
Darien Raymond
2e11653694
remove BufferedReader.Direct 2018-08-17 20:45:23 +02:00
Darien Raymond
fdb3a7b57d
remove use of buf.NewSize() 2018-08-16 12:05:33 +02:00
Darien Raymond
b3cf1f70d7
optimize readv reader 2018-07-31 13:04:55 +02:00
Darien Raymond
6a06908456
optimize encryption read/write operations 2018-07-31 12:37:59 +02:00
Darien Raymond
47f1399995
check errors 2018-07-29 13:19:03 +02:00
Darien Raymond
148a7d064d
simplify buf.BufferedReader 2018-04-21 00:54:53 +02:00
Darien Raymond
64ebba3cff
implement transport.pipe 2018-04-16 14:57:13 +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
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
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
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
47c92fafc8
clear leftOver after write 2018-03-28 22:23:38 +02:00
Darien Raymond
b2d9364cb5
release buffer if payload becomes small 2018-03-16 22:32:03 +07:00
Darien Raymond
5bbece14af
simplify pool creation 2018-03-12 16:21:39 +01:00
Darien Raymond
f97e6fa3d2
refine buffer allocation 2018-03-11 23:06:04 +01:00
Darien Raymond
ccb2a9f168
comments 2018-02-13 11:15:04 +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
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
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
594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond
66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond
d5fd7efa7e
fast read on first packet 2017-11-08 22:23:21 +01:00
Darien Raymond
2f5d501643 fix length calculation in bufferToBytesReader.WriteTo 2017-11-03 13:19:48 +01:00
Darien Raymond
08a72b7eb6
go generate 2017-07-24 21:41:12 +02:00
Darien Raymond
939fae00e9
packet mode reader and writer 2017-05-02 00:28:16 +02:00
Darien Raymond
5a30e27f04
use normal byte array 2017-04-19 23:30:18 +02:00
Darien Raymond
6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond
0ebebfa458
cleanup 2017-04-19 16:29:36 +02:00
Darien Raymond
7e2246907b
refactor bytes reader 2017-04-19 11:52:27 +02:00
Darien Raymond
14c75e5035
more test code 2017-04-18 12:32:24 +02:00
Darien Raymond
8868fe68ed
optimize http server 2017-04-17 22:35:20 +02:00
Darien Raymond
abe790181e
multi reader 2017-04-15 22:22:29 +02:00
Darien Raymond
f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond
891b8a03de
refactor 2017-04-03 01:07:01 +02:00
Darien Raymond
bf7906c7f0
clean lint warnings 2017-02-20 10:33:35 +01:00
Darien Raymond
4e8e15d528
refine error handling in byte reader 2017-02-07 00:39:07 +01:00