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

42 Commits

Author SHA1 Message Date
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
Darien Raymond
e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond
538b0720d5
simplified Release() 2016-12-27 21:06:55 +01:00
Darien Raymond
ea33b7691b
remove lock on bytes reader and writer 2016-12-27 20:53:29 +01:00
Darien Raymond
ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond
582438ce5e
gofmt 2016-12-12 21:54:28 +01:00
Darien Raymond
1948d0738f
refactor io package 2016-12-09 13:17:34 +01:00