1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
Commit Graph

43 Commits

Author SHA1 Message Date
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
Shelikhoo
65174fa487
rename buf type adaptor into FromBytes 2021-11-13 14:24:43 +00:00
Shelikhoo
802780e9e1
rename buf pool membership status to unmanaged 2021-11-13 14:23:29 +00:00
世界
dbc26775c9
Add quic sniffer 2021-11-13 14:21:57 +00:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
Chinsyo
32e0e6e484
Some minor fix (#430)
* fix typo pading to padding

* reorder common/buf/buffer.go code layout

* delete unused common/stack

Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-18 04:23:30 +08:00
ghost
8da0a53845 properly propagate Reader errors 2019-11-22 10:11:23 +08:00
Darien Raymond
db5259e75b
avoid heap allocation for buffer variables 2018-11-16 10:30:26 +01:00
Darien Raymond
a20262ef20
allocate buffer on stack 2018-11-15 21:32:27 +01:00
Darien Raymond
6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond
ff7e5a7cdb
benchmark mux frame 2018-11-14 22:11:05 +01:00
Darien Raymond
f7b96507f9
simplify buffer extension 2018-11-02 21:34:04 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
2621305413
more test cases 2018-10-24 13:16:08 +02:00
Darien Raymond
cfe7e7843b
shortcut the free operation too 2018-09-04 09:29:00 +02:00
Darien Raymond
ff0b0b1640
GetPool() API 2018-09-03 20:57:40 +02:00
Darien Raymond
b3b0649dd6
check size in Reset 2018-09-01 21:19:15 +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
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
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
Jinqiu Yu
eb38f4865e Fix another typo 2018-03-23 23:17:29 +08:00
Darien Raymond
b4e1240160
comments 2018-03-13 09:02:21 +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
7f1e9c85c9
more effecient auth reader and writer 2017-04-27 13:31:09 +02:00
Darien Raymond
0ebebfa458
cleanup 2017-04-19 16:29:36 +02:00
Darien Raymond
b1dfff2fdd
remove 8k buffer pool 2017-04-15 21:19:21 +02:00
Darien Raymond
cb0e29ccdb
merging reader 2017-03-27 11:12:34 +02:00
Darien Raymond
020b436827
merge bufio into buf 2017-02-15 22:51:01 +01:00
Darien Raymond
a44d556667
test case for tls connection 2016-12-30 23:12:00 +01:00
Darien Raymond
ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond
ff87377acf
comments 2016-12-11 09:43:20 +01:00
Darien Raymond
055023fdd5
refactor buffer 2016-12-09 12:08:25 +01:00
Darien Raymond
7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00