Commit Graph

1082 Commits (ec5680976b6888063747fbbc1da29447353e498d)

Author SHA1 Message Date
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
Darien Raymond 9de03d088e
improve performance on domain matcher
6 years ago
Darien Raymond 9f48a6d017
enable global padding for aead by default
6 years ago
Darien Raymond 41956e92a5
migrate to the new geoip matcher
6 years ago
Darien Raymond c73e899f54
prototype for high performance geoip matcher
6 years ago
Darien Raymond ff310d6bc6
detect underlying mux worker closed
6 years ago
Darien Raymond f1ab89d9d8
long running reverse test case
6 years ago
Darien Raymond 715ac9d267
test case for reverse proxy
6 years ago
Darien Raymond 2020bbe606
prototype for reverse proxy
6 years ago
Darien Raymond 6c89940e65
fix #1338
6 years ago
Darien Raymond 8595bce33b
better load balancing
6 years ago
Darien Raymond 42e4f06fe9
fix flaky test
6 years ago
Darien Raymond 53870f1ea7
refactor mux client worker
6 years ago
Darien Raymond a69217b584
test case
6 years ago
Darien Raymond 284923664a
split worker picker from client manager
6 years ago
Darien Raymond e7345f079e
comments
6 years ago
Darien Raymond de4072a65a
more test cases
6 years ago
Darien Raymond 2621305413
more test cases
6 years ago
Darien Raymond c8e11595f2
update interface test
6 years ago
Darien Raymond c272677065
better handle errors from copy
6 years ago
Darien Raymond c7f847c96e
categorize read and write error
6 years ago
Darien Raymond 04bbdfc426
refactor mux
6 years ago
Darien Raymond 838f2919ab
move mux to common
6 years ago
Darien Raymond dcae6c63dd
move size stats writer into vio
6 years ago
Darien Raymond 33becfe553
comments
6 years ago
Darien Raymond 595f3d685e
merge user info inbound metadata
6 years ago
Darien Raymond d730637239
Require Type() for Feature
6 years ago
Darien Raymond 273342d0b9
move stats and inbound to features directory
6 years ago
Darien Raymond b6dc31d3fe
first part to move feature interfaces into dedicated directory
6 years ago
Darien Raymond 0893de8901
use strings.Builder
6 years ago
Darien Raymond a3e189c822
rename error object
6 years ago
Darien Raymond 122c3e7a5d
use strings.Builder
6 years ago
Darien Raymond 091fa6ad23
use new errorgen
6 years ago
Darien Raymond f7a68fe4b8
simplify errorgen calling
6 years ago
Darien Raymond d55fbd7f8d
simplify error creation
6 years ago
Darien Raymond 00ea6e3cb2
update protobuf generated files
6 years ago
Darien Raymond 94b880d060
move session based info into session package
6 years ago
Darien Raymond f589769947
remove unused code
6 years ago
Darien Raymond 383b84e7dd
unified tproxy option
6 years ago
Darien Raymond 20251bf499
system listener for both TCP and UDP
6 years ago
Darien Raymond d068f357bd
update proto lib
6 years ago
Darien Raymond 81c9968188
simplify crypto related code
6 years ago
Darien Raymond 7b28a19013
improve domain matcher performance
6 years ago
Darien Raymond cfe7e7843b
shortcut the free operation too
6 years ago
Darien Raymond ff0b0b1640
GetPool() API
6 years ago
Darien Raymond 60ee80ca1b
don't write empty payload
6 years ago
Darien Raymond 475ffc8196
supress warning on ecryption packets
6 years ago
Darien Raymond b4f3106ad6
check msg size in writepacket
6 years ago
Darien Raymond 2f6a0d539d
dont write out empty payload
6 years ago
Darien Raymond b3b0649dd6
check size in Reset
6 years ago
Darien Raymond 834dc4ab7c
remove references after content is written
6 years ago
Darien Raymond 5c48d03fdf
revert rollback to 10.3
6 years ago