Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path
2022-01-02 15:16:23 +00:00
Machtergreifung
25ae87aad2
fix typo ( #1512 )
...
* fix typo
* fix typo
* fix typo
* fix typo
* fix typo
* fix typo
* fic typo
2022-01-02 13:36:07 +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
database64128
c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 ( #1215 )
...
* ⬆ Update to Go 1.17
* 🏗 Update workflows and add windows-arm64
* 💾 Update generated files
* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Loyalsoldier
6f8979d017
Style: format code by gofumpt ( #1022 )
2021-05-20 05:28:52 +08: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
loyalsoldier
784775f689
Refine code according to golangci-lint results
2020-10-11 19:22:46 +08:00
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH
2020-10-04 13:06:12 +08:00
DuckSoft
1525712214
some typo fixes
...
note: there are other typos in external/ folder.
considering the fact that the folder "will be removed in future", I skipped those typos.
2020-07-17 18:09:24 +08:00
Araragi Hokuto
2a96605138
Fix build failure on illumos
...
Previously v2ray can not be built on illumos due to following reasons:
1. missing build tags in transport/internet/sockopt_other.go
2. many definitions in syscall does not exist on illumos
This commit addresses these problems by adding missing build tags, and
updates those missing syscall deps on illumos to use x/sys/unix.
2020-05-31 12:37:24 +08:00
vcptr
47660bfee2
fix win test error; dont use ReadV on file
2019-11-27 11:24:40 +08:00
vcptr
c060f9f11f
fix test read buf
2019-11-27 09:12:02 +08:00
vcptr
905ac82bb1
more test to common/buf
2019-11-22 17:40:24 +08:00
ghost
8da0a53845
properly propagate Reader errors
2019-11-22 10:11:23 +08:00
ghost
f7abe353df
fix ReadBuffer()
2019-11-03 17:37:44 +08:00
Kslr
be27720c74
fix codestyle
2019-05-18 15:13:49 +08:00
Kslr
c6f3ab48ee
fixed ReadV issue for windows
...
sync 847b289798
2019-05-18 15:09:58 +08:00
Darien Raymond
98950d5ada
remove dep of assert lib
2019-02-10 15:02:28 +01:00
Darien Raymond
a84897b4b6
simplify ReadBuffer
2019-02-10 10:53:16 +01:00
Darien Raymond
b0a015c7cc
comments
2019-02-10 10:53:06 +01:00
Darien Raymond
932e09a388
remove dep of assert lib
2019-02-09 15:46:48 +01:00
Darien Raymond
b234cfb4c4
unify NewPacketReader
2019-02-07 19:14:37 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib
2019-02-02 22:19:30 +01:00
Darien Raymond
8e131bcd1f
remove dependency on assert lib
2019-01-18 15:59:39 +01:00
Darien Raymond
d26700a2fe
remove common/compare package
2019-01-07 00:12:04 +01:00
Darien Raymond
4e77570f36
fix connection reading in UDP
2019-01-06 00:34:38 +01:00
Darien Raymond
ce91e92435
fix #1496
2019-01-04 00:24:28 +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
cf1705267e
switch to errgroup
2018-12-06 10:22:14 +01:00
Darien Raymond
c49b93b39e
simplify buffer allocation
2018-12-04 11:07:33 +01:00
Darien Raymond
0f63be6340
open ReadBuffer for quic connections
2018-12-03 16:01:14 +01:00
Darien Raymond
3340f81d03
fix reader/writer for packet conn
2018-12-03 14:20:57 +01:00
Darien Raymond
e392f8ed3d
use WriteByte instead of copy
2018-12-03 12:50:24 +01:00
Darien Raymond
844f6937a4
reduce memory consumption on readOne
2018-12-03 12:40:38 +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