Commit Graph

1133 Commits (0c72d72f460204b0d73119178a040118a7d52459)

Author SHA1 Message Date
Darien Raymond 8d09d74224
release buffer in error case
6 years ago
Darien Raymond 4eb2b5e607
merge ext into core
6 years ago
Darien Raymond d84166ba35
remove unused testing package
6 years ago
Darien Raymond 5e6d0f7c71
fix test break
6 years ago
Darien Raymond 98950d5ada
remove dep of assert lib
6 years ago
Darien Raymond a84897b4b6
simplify ReadBuffer
6 years ago
Darien Raymond b0a015c7cc
comments
6 years ago
Darien Raymond 932e09a388
remove dep of assert lib
6 years ago
Darien Raymond b234cfb4c4
unify NewPacketReader
6 years ago
Darien Raymond 836440c61a
dns outbound proxy
6 years ago
Darien Raymond 66a60dbfa3
remove dep on assert lib
6 years ago
Darien Raymond bdd71a44b4
remove dep on assert lib
6 years ago
Darien Raymond 1ab94fed79
optimize v2ctl size
6 years ago
Darien Raymond c9958681f7
remove dependency on assert lib
6 years ago
Darien Raymond 9a7177c82c
test case for IPv6 any ip
6 years ago
Darien Raymond 8e131bcd1f
remove dependency on assert lib
6 years ago
Darien Raymond 5c37439dbb
fix broken test
6 years ago
Darien Raymond 163776b182
remove dependency on assert lib
6 years ago
Darien Raymond edd71de1c3
remove dependency on assert lib
6 years ago
Darien Raymond 5f53530cc1
fix broken test
6 years ago
Darien Raymond d26700a2fe
remove common/compare package
6 years ago
Darien Raymond 4e77570f36
fix connection reading in UDP
6 years ago
Darien Raymond 21f8bfe476
move udp packet to protocol
6 years ago
Darien Raymond ce91e92435
fix #1496
6 years ago
Darien Raymond d20f87da4b
comments
6 years ago
Darien Raymond 3de8389361
rename CloseError() to Interrupt()
6 years ago
Darien Raymond 1c830472b9
dns protocol package
6 years ago
Darien Raymond c72d853454
return correct error
6 years ago
Darien Raymond d670629651
more test case for tls sniffing
6 years ago
Darien Raymond 88e757e33f
merge duplicated code
6 years ago
Darien Raymond fc92b6295a
compact buffers
6 years ago
Darien Raymond 372da062d4
fix build break
6 years ago
Victoria Raymond ce412aec65
Merge branch 'master' into fix-sniff-http-ipv6
6 years ago
Darien Raymond 7e37d141e2
move parseHost to http protocol
6 years ago
comwrg e52b387483
fix sniff http ipv6 address
6 years ago
Darien Raymond b9450d8475
Revert "use default logger for android and ios"
6 years ago
Darien Raymond 9743380e2d
use default logger for android and ios
6 years ago
Darien Raymond 427679e66d
simplify task execution
6 years ago
Darien Raymond cf1705267e
switch to errgroup
6 years ago
Darien Raymond bea521537e
errors.Combine
6 years ago
Darien Raymond c49b93b39e
simplify buffer allocation
6 years ago
Darien Raymond a6d81cc56d
api doc
6 years ago
Darien Raymond 0f63be6340
open ReadBuffer for quic connections
6 years ago
Darien Raymond 3340f81d03
fix reader/writer for packet conn
6 years ago
Darien Raymond e392f8ed3d
use WriteByte instead of copy
6 years ago
Darien Raymond 844f6937a4
reduce memory consumption on readOne
6 years ago
Darien Raymond 057e271588
update proto lib
6 years ago
Darien Raymond 096bbd2c51
prototype of quic transport
6 years ago
Darien Raymond 234c8081f4
remove unused functions
6 years ago
Darien Raymond 769f770cf7
migrate NetworkList to []Network
6 years ago
Darien Raymond d1f318c82a
remove unused functions
6 years ago
Darien Raymond d675bb92df
update benchmark for address
6 years ago
Darien Raymond 83c4b20b6e
fix lint warnings
6 years ago
Darien Raymond b1b8cb5ef5
Fix SplitSize
6 years ago
Darien Raymond 5c4e33f759
rewrite SliceBySize
6 years ago
Darien Raymond bcd5d026fe
rewrite SplitFirst
6 years ago
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes
6 years ago
Darien Raymond 842a089dad
refactor multibuffer
6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release
6 years ago
Darien Raymond 27772a75a7
refactor MultiBuffer append
6 years ago
Darien Raymond 1089a887e0
consider closed worker is full. fixes #1414
6 years ago
Darien Raymond 48cac1733f
remove NewMultiBufferCap
6 years ago
Darien Raymond 2364f5f280
remove AddressFamily.Either()
6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond db5259e75b
avoid heap allocation for buffer variables
6 years ago
Darien Raymond deebb68597
update buf test
6 years ago
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond a5ed9e00ab
revert opt on copy
6 years ago
Darien Raymond bd7bc63fac
prevent stack copy
6 years ago
Darien Raymond 151f316c32
remove unnecessary buf allocation
6 years ago
Darien Raymond 6d770d6f30
remove unused members
6 years ago
Darien Raymond 9bc6a5813e
improve performance on copy
6 years ago
Darien Raymond 0fd7e9216a
fix test break
6 years ago
Darien Raymond 10b4bbf7c6
use stack allocated byte array
6 years ago
Darien Raymond 770a20d266
stack allocated buffer
6 years ago
Darien Raymond 24288a74a2
update tests
6 years ago
Darien Raymond ac4f868078
introduce go-cmp
6 years ago
Darien Raymond 7560a99d7b
check frame size for status new
6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes
6 years ago
Darien Raymond ff7e5a7cdb
benchmark mux frame
6 years ago
Darien Raymond 61b1013571
benchmark task
6 years ago
Darien Raymond 16102271dd
improve address serialization performance
6 years ago
Darien Raymond a14fae4b35
fix lint warnings
6 years ago
Darien Raymond c5ccbe6b63
cleanup serial package
6 years ago
Darien Raymond 953bfac572
remove unnecessary assignment
6 years ago
Darien Raymond 3f3d00298a
share rand reader across auth readers
6 years ago
Darien Raymond 440cf090d6
notify remote peer to close session
6 years ago
Wuxiang 557330808d
fix a typo
6 years ago
Darien Raymond 21e9a04dca
improve parse address performance
6 years ago
Darien Raymond db6d6a89df
fix infinite loop in mux dispatch
6 years ago
Darien Raymond fcce267e33
fix broken test
6 years ago
Darien Raymond 3ccdecaf8f
remove vio package
6 years ago
Darien Raymond 77c03f0da5
move back to serial
6 years ago
Darien Raymond 128a90b98b
move link to transport
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond 35ccc3a49c
cleanup unnecessary method in serial.
6 years ago
Darien Raymond ad462860e2
fix test
6 years ago
Darien Raymond 815c7f09ba
migrate to std lib
6 years ago
Darien Raymond ee489c95b3
remove Port.Bytes()
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago