Commit Graph

998 Commits (d1deebb6a92a8099c76c0bc507382586a6a7c4c9)

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
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
Darien Raymond c5bd23105e
change uint32 to int32
7 years ago
Darien Raymond 81a147e540
Merge branch 'master' of https://github.com/v2ray/v2ray-core
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
wuxiangzhou2010 5a08411ee2 fix typo
7 years ago
wuxiangzhou2010 a58063e7ac fix typo, first sound of user is not a vowel, but the consonant /j/
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond 03512a6a9b
read size to multi buffer
7 years ago
Darien Raymond 5af3580bcf
correct magic number
7 years ago
Darien Raymond 3d919a6a93
optimize auth reader
7 years ago
Darien Raymond 8d0a74b3fa
refine auth writer
7 years ago
Darien Raymond b3ecb9f766
align large size
7 years ago
Darien Raymond fa6ff77cee
prevent appending nil buffer
7 years ago
Darien Raymond bb46a96f04
refine handling for empty read
7 years ago
Darien Raymond babd0107cf
prevent empty read in Reader
7 years ago
Darien Raymond fc7da93d06
less cap
7 years ago
Darien Raymond 141b31eb19
simplify code
7 years ago
Darien Raymond 47c92fafc8
clear leftOver after write
7 years ago
Darien Raymond eeed65f826
fix #999
7 years ago
DarienRaymond 1dadd54502
Merge pull request #985 from yujinqiu/yet-another-typo
7 years ago
Jinqiu Yu eb38f4865e Fix another typo
7 years ago
Jinqiu Yu 2d5aa9514f consistent ServerSpec var
7 years ago
Darien Raymond b2d9364cb5
release buffer if payload becomes small
7 years ago
Darien Raymond 000e0804e8
fix buffer recycling
7 years ago
DarienRaymond a8a68c2e70
Merge pull request #962 from yujinqiu/fix-typo
7 years ago
Darien Raymond b5b9a83823
reorder fields in Destination for faster hashing
7 years ago
Jinqiu Yu 855925a805 Fix typo
7 years ago
Darien Raymond 087c0c1499
refine address family type
7 years ago
Darien Raymond b4e1240160
comments
7 years ago
Darien Raymond 1cbfeea0cd
simplify NewSize calls
7 years ago
Darien Raymond 0c213ccd20
reset buffer when free
7 years ago
Darien Raymond 5bbece14af
simplify pool creation
7 years ago
Darien Raymond 34c12c1af6
extend buffer
7 years ago
Darien Raymond 931c8597ca
fix len -> cap
7 years ago
Darien Raymond 994aecd13c
rename NewLocal to NewSize
7 years ago
Darien Raymond f97e6fa3d2
refine buffer allocation
7 years ago
Jinqiu Yu 87dd1ed877 Fix receivced, InboundBound, tranport, Enpoint typo
7 years ago
Darien Raymond eaf043f1b3
reduce memory usage of Buffer
7 years ago