Commit Graph

985 Commits (ee489c95b33398942bb853ac440f6fdc26cbe443)

Author SHA1 Message Date
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
Darien Raymond 7053293347
fix sync issue in buffered writer
6 years ago
Darien Raymond f1374f9caf
add !wasm flag for go 1.10
6 years ago
Darien Raymond 0067d3c80f
temporarily rollback to go 1.10
6 years ago
Darien Raymond eaa420411d
fix a deadlock
6 years ago
Darien Raymond eb05a92592
dont start periodic task until necessary
6 years ago
Darien Raymond 5a0a9aa65e
reset cache if empty
6 years ago
Darien Raymond 1add59cd0d
actually start the cleanup task
6 years ago
Darien Raymond 0b388280ce
simplify writing
6 years ago
Darien Raymond 3df32aabbc
check empty payload
6 years ago
Darien Raymond 09824b9b1a
don't release buffer as it is written
6 years ago
Darien Raymond 20f10c78b3
add support for wasm
6 years ago
Darien Raymond 16051587b5
fix test break
6 years ago
Darien Raymond 54e1bb96cc
introduce in-memory user
6 years ago
Darien Raymond b4d065610a
fix windows reader
6 years ago
Darien Raymond 7c9c66601e
print error
6 years ago
Darien Raymond 5baf839fcf
trace readv test
6 years ago
Darien Raymond 66a391cafe
remove overlapped call
6 years ago
Darien Raymond d12148c0cd
try re-enable readv reader on windows
6 years ago
Darien Raymond 8899f985ce
Revert "enable readv reader on windows"
6 years ago
Darien Raymond 4bd1ef0650
enable readv reader on windows
6 years ago
Darien Raymond 8c841a05fb
use readv reader by default
6 years ago
Darien Raymond 9ad1e034e0
use gcm on arm64
6 years ago
Darien Raymond 128ec95218
merge stread reader from mux to crypto
6 years ago
Darien Raymond e6b5356ea9
don't alloc new maps until required
6 years ago
Darien Raymond 059dfdbb97
doc for strmatcher interface
6 years ago
Darien Raymond 44c759eeab
extract full matcher group
6 years ago
Darien Raymond 899b1399ee
check init state of DomainMatcherGroup. fixes #1238
6 years ago
Darien Raymond 26f52e61db
optimize CachedMatcherGroup
6 years ago
Darien Raymond e72d4d6c25
fix matcher group
6 years ago
Darien Raymond edcf564dd7
improve performance of domain matcher
6 years ago
Darien Raymond 2ab6da28ba
implement readv reader for windows
6 years ago
Darien Raymond 2e11653694
remove BufferedReader.Direct
6 years ago
Darien Raymond 1b39199adf
fix test case on arm
6 years ago
Darien Raymond b769e0cc5f
only create bufferedreader when necessary
6 years ago
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
6 years ago
Darien Raymond 4368edf87c
switch to pubsub in dns service
6 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
Darien Raymond ff0ae91b9b
update protobuf generated files
7 years ago
Darien Raymond e5f6554703
fix notifier for backward compatibility
7 years ago
Darien Raymond 2fb77d6911
consume context in local nameserver.
7 years ago
Darien Raymond 9cfb2bfd51
simplify classic dns server
7 years ago
Darien Raymond 9977eadf8c
remove dependency from errors to session
7 years ago
Darien Raymond ef4542e778
fix race condition in ActivityTimer
7 years ago
Darien Raymond 3b765a7b35
remove unused code
7 years ago
Darien Raymond 3620ebfc11
optimize for small number of tasks
7 years ago
Darien Raymond b01180b913
fix lint warnings
7 years ago
Darien Raymond 54e2244c5a
fix #1131
7 years ago
Darien Raymond adade2bffd
fix lint warnings
7 years ago
Darien Raymond 8f6e162142
fix lint warnings
7 years ago
Darien Raymond e3508fffc6
deal with empty input in ReadAllToBytes.
7 years ago