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

54 Commits

Author SHA1 Message Date
Darien Raymond
4e77570f36
fix connection reading in UDP 2019-01-06 00:34:38 +01:00
Darien Raymond
c72d853454
return correct error 2018-12-27 19:59:49 +01:00
Darien Raymond
88e757e33f
merge duplicated code 2018-12-27 17:00:34 +01:00
Darien Raymond
fc92b6295a
compact buffers 2018-12-27 16:36:48 +01:00
Darien Raymond
83c4b20b6e
fix lint warnings 2018-11-19 00:33:00 +01:00
Darien Raymond
b1b8cb5ef5
Fix SplitSize 2018-11-18 22:12:31 +01:00
Darien Raymond
5c4e33f759
rewrite SliceBySize 2018-11-18 20:16:14 +01:00
Darien Raymond
bcd5d026fe
rewrite SplitFirst 2018-11-18 19:57:29 +01:00
Darien Raymond
cb7646f682
remove unnecessary err object from SplitBytes 2018-11-18 19:44:32 +01:00
Darien Raymond
842a089dad
refactor multibuffer 2018-11-18 19:36:36 +01:00
Darien Raymond
0f324a613e
remove MultiBuffer.Release 2018-11-17 22:45:07 +01:00
Darien Raymond
27772a75a7
refactor MultiBuffer append 2018-11-17 09:12:20 +01:00
Darien Raymond
48cac1733f
remove NewMultiBufferCap 2018-11-16 11:29:16 +01:00
Darien Raymond
a01fdc29a6
remove NewMultiBufferValue 2018-11-16 11:08:12 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
2594f7027a
remove ToNetBuffers 2018-08-17 11:51:59 +02:00
Darien Raymond
fdb3a7b57d
remove use of buf.NewSize() 2018-08-16 12:05:33 +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
e3508fffc6
deal with empty input in ReadAllToBytes. 2018-05-28 15:38:29 +02:00
Darien Raymond
e6446d43c8
fix multibuf len 2018-04-18 11:45:40 +02:00
Darien Raymond
5d23604713
rewrite ray -> pipe 2018-04-17 00:31:10 +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
b7f2f30244
support fetching config from http 2018-04-08 23:22:55 +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
fa6ff77cee
prevent appending nil buffer 2018-03-29 21:40:23 +02:00
Darien Raymond
eeed65f826
fix #999 2018-03-28 14:33:34 +02:00
Darien Raymond
123977e324
fix misspelling 2017-12-13 15:55:39 +01:00
Darien Raymond
6de4ef014a
read directly from underlying buffered reader in mux 2017-11-25 01:05:30 +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
2a96aaaf7b
comments 2017-11-08 18:14:44 +01:00
Darien Raymond
7cd2d62d06
release buffer on error 2017-11-07 16:53:02 +01:00
Darien Raymond
8554a5e0bf
fix buffer leak 2017-11-07 16:28:39 +01:00
Darien Raymond
1b6b39faad
comments 2017-11-07 15:02:21 +01:00
Darien Raymond
ccf1fb6616
fix buffer leak in multi buffer 2017-11-07 11:40:12 +01:00
Darien Raymond
4412d73b28 get rid off ioutil 2017-11-04 01:33:28 +01:00
Darien Raymond
939fae00e9
packet mode reader and writer 2017-05-02 00:28:16 +02:00
Darien Raymond
94405dd467
fix snifer 2017-04-25 01:56:08 +02:00
Darien Raymond
59a1e2d736
refactor 2017-04-23 19:16:56 +02:00
Darien Raymond
cea6e28634
refactor 2017-04-23 13:41:52 +02:00
Darien Raymond
6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond
31a0951bd2
write by slice when buffer is too large 2017-04-19 10:14:52 +02:00
Darien Raymond
d9ea65696a
increase multi buffer capacity 2017-04-16 22:33:20 +02:00
Darien Raymond
e5525715fb
optimize cfb stream writer 2017-04-16 22:30:29 +02:00
Darien Raymond
5c2cabb44e
clear reference on release 2017-04-16 13:12:58 +02:00