Commit Graph

1035 Commits (3eac22c27d49cd49cac7271aa194353b3080a213)

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
Darien Raymond d6513ee4ec
test case for 0 timeout
7 years ago
Darien Raymond 6dbe2644a9
fix activity timer on timeout = 0
7 years ago
Darien Raymond ac6a0f7511
update activity timer
7 years ago
Darien Raymond 13f3c356ca
unified task package
7 years ago
Darien Raymond 7fa4bb434b
fix pipe closing logic for inbound proxies.
7 years ago
Darien Raymond 483a56c847
adjust lint settings
7 years ago
Darien Raymond 67f5292f38
fix lint errors
7 years ago
Darien Raymond b24e808a8a
fix pipe related tests
7 years ago
Darien Raymond 68da956fc4
re-generate code
7 years ago
Darien Raymond 8eb84a2025
Close outbound output stream properly. fix #1082
7 years ago
Darien Raymond f1f4a796cf
Set correct remote addr for h2 request. Fixes #1068.
7 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond d7aeb51904
merge http.Connection into net.Connection
7 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond e6446d43c8
fix multibuf len
7 years ago
Darien Raymond ef1d9d24cd
fix test break
7 years ago
Darien Raymond 5d23604713
rewrite ray -> pipe
7 years ago
Darien Raymond 64ebba3cff
implement transport.pipe
7 years ago
Darien Raymond d6dc88860b
simplify done api
7 years ago
Darien Raymond e5122a4c2d
remove test case for next
7 years ago
Darien Raymond 67c7d6da4a
move uuid.Next to protocol
7 years ago
Darien Raymond 0caf2a004b
reduce memory usage of vmess internal objects
7 years ago
Darien Raymond 66ed1bab2a
simplify BytesGenerator
7 years ago
Darien Raymond f175d322ae
fix lint warnings
7 years ago
Darien Raymond 320e1554bd
update issue template
7 years ago
wuxiangzhou2010 e986217ed6 fix uinitTest failure on win10
7 years ago
Darien Raymond f751bb610c
refine ctlcmd
7 years ago
Darien Raymond 48e825567a
fix error detection for pipeline
7 years ago
Darien Raymond 0e1d2a924b
support organization in TLS cert gen
7 years ago
Darien Raymond 666a1a17f2
fix test
7 years ago
Darien Raymond 0caf92726b
better way to run tasks in parallel
7 years ago
Darien Raymond 9d7f43a299
fix lint errors
7 years ago
Darien Raymond 318a36fe58
automatic issuing certificates from provided CA
7 years ago
Darien Raymond 8ba8ce7d6a
more options for generating certificate
7 years ago
Darien Raymond b7fc1f0bd6
scenario test for domain socket
7 years ago
Darien Raymond a320196b77
refine domain socket transport
7 years ago
Darien Raymond 4b45174650
fix handling of empty buffer
7 years ago
DarienRaymond 61d9b04ca5
Merge pull request #1019 from v2ray/domainsocket
7 years ago
Darien Raymond 88133aa4a6
move cert generation code to common
7 years ago
Darien Raymond b7f2f30244
support fetching config from http
7 years ago
Darien Raymond 8f7bdede4e
add check for largeSize in case there is just one pool
7 years ago
Shelikhoo c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
7 years ago
Darien Raymond 61a1cce972
reduce size of TransferType
7 years ago
Darien Raymond 9f198d7e3d
fix lint errors
7 years ago
Darien Raymond 27ccc9d726
comments
7 years ago
Darien Raymond 074dfbb78c
add network list to shadowsocks server
7 years ago
DarienRaymond 8bc20c8656
Merge pull request #1013 from wuxiangzhou2010/master
7 years ago
Darien Raymond 7bafd7a1ab
migrate int to int32
7 years ago
wuxiang 3f19d09878 update some comments
7 years ago