Commit Graph

898 Commits (5f8b64c646ea840627ad8700483bbc50a008f6a4)

Author SHA1 Message Date
Darien Raymond 5f8b64c646
use SingleReader on low end devices
6 years ago
Darien Raymond 2594f7027a
remove ToNetBuffers
6 years ago
Darien Raymond 950612544b
simple write for single buffer
6 years ago
Darien Raymond fdb3a7b57d
remove use of buf.NewSize()
6 years ago
Darien Raymond 35129e6518
allocate copyHandler on stack
6 years ago
Darien Raymond e343fe80a2
test case for writer creation
6 years ago
Darien Raymond f27a381fe8
restrict multi-writer to syscall.conn only
6 years ago
Darien Raymond 8ed119e3f6
make sure err is propagated
6 years ago
Darien Raymond 7baa6977d3
cleanup buf interfaces
6 years ago
Darien Raymond b3cf1f70d7
optimize readv reader
6 years ago
Darien Raymond 6a06908456
optimize encryption read/write operations
6 years ago
Darien Raymond 8cfe77383f
writeHash
6 years ago
Darien Raymond 206f52affc
refine buffer interface
6 years ago
Darien Raymond d615adab36
optimize padding reading
6 years ago
Darien Raymond 47f1399995
check errors
6 years ago
Darien Raymond ebea255c74
eliminate partial writes
6 years ago
Darien Raymond 7a4b0fff07
ensure everything are written
6 years ago
Darien Raymond c15184d904
optimize readv on windows
6 years ago
Darien Raymond f99fb3d87d
reduce readv alloc count
6 years ago
Darien Raymond 28ccd4ddd5
write all content
6 years ago
Darien Raymond 8d689fb92d
fix reader test
6 years ago
Darien Raymond 720aca16d5
remove buffer pool of 512k
6 years ago
Darien Raymond e8959dff86
fix http sniffer
6 years ago
Darien Raymond 20a08111ff
fix windows build
6 years ago
Darien Raymond b1e07d2f6e
fix comments
6 years ago
Darien Raymond 232e715b8b
don't build readv for windows
6 years ago
Darien Raymond 4b63638dca
update protobuf lib
6 years ago
Darien Raymond ecb460b16a
better memory management
6 years ago
Darien Raymond 82ee23e6d0
make readv optional
6 years ago
Darien Raymond a941ef5392
try readv
6 years ago
Darien Raymond e3cc12995f
fix some lint errors
6 years ago
Darien Raymond 9a8488074e
env flag controlled global padding
6 years ago
Darien Raymond c52310cf54
optimize bounds check in bytes conversion
6 years ago
Darien Raymond 8912e4eb90
move sniffer to their own directory
6 years ago
Darien Raymond eafe580be4
accelerate one task execution
6 years ago
Darien Raymond 5e25741742
update tests
6 years ago
Darien Raymond 29ad2cbbdb
function to compare byte array
6 years ago
Darien Raymond 7efa7ee632
prepare to remove constructor of AuthenticationReader
6 years ago
Darien Raymond 81c9743ce0
fix auth test
6 years ago
Darien Raymond 8a879deac1
max padding len as variable
6 years ago
Darien Raymond 69774c99dc
fix padding value
6 years ago
Darien Raymond f54a8735ab
global padding in vmess protocol
6 years ago
Darien Raymond 0d94d25688
prototype of mtproto proxy
6 years ago
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182.
6 years ago
Darien Raymond 07e2592117
fix #1181
6 years ago
Darien Raymond b23b218a7e
map based subscriber list
7 years ago
Darien Raymond 4368edf87c
switch to pubsub in dns service
7 years ago
Darien Raymond 596d05bff5
check closed again before scheduling another task
7 years ago
Darien Raymond b05597df3a
fix passive connection in mux. fix #1167
7 years ago
Darien Raymond cb0eb91f2b
strmatcher
7 years ago