Commit Graph

87 Commits (0959755d2104379e7a89bd71cc3ed0284f8dd6e7)

Author SHA1 Message Date
Darien Raymond d43a23aa96
move error generator to common
7 years ago
Darien Raymond fd8db49dc9
generalized event handler
7 years ago
Darien Raymond 6de4ef014a
read directly from underlying buffered reader in mux
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond ead3fa09e5
release buffer on error
7 years ago
Darien Raymond cab5c10fc2
remove use of KeepAlive
7 years ago
Darien Raymond c1eccb3a45
safe release buffer
7 years ago
Darien Raymond c3fc27f7a1 comments
7 years ago
Darien Raymond 27c099dd37 simplify metadata reader
7 years ago
Darien Raymond a1cf299848 reduce memory allocation in mux
7 years ago
Darien Raymond d6e9162f78 trace outstanding error only
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond 26818a2602 fix domain length issue for all proxies
7 years ago
Darien Raymond 9f392eb506 avoid long domain names in mux
7 years ago
Darien Raymond 24089bfad0 remove duplicated address type def
7 years ago
Darien Raymond f1a15e92f5 apply bitmask to other packages
7 years ago
Darien Raymond 8c6f73f30b bitmask
7 years ago
Darien Raymond 948534f480 reduce memory consumption of mux.Writer
7 years ago
Darien Raymond 9df5ac6e4f fix frame meta
7 years ago
Darien Raymond aa5e06a26e reduce memory consumption of frame meta
7 years ago
Darien Raymond 7f4296cd78 assert meta is nil on error
7 years ago
Darien Raymond badc77a7f7 return proper error in drain
7 years ago
Darien Raymond 103cb48692 test case for SessionManager.Size()
7 years ago
Darien Raymond 95c469c1fd handle proxy error in mux client
7 years ago
Darien Raymond 06d4c37889
integrate mux in vmess server
8 years ago
Darien Raymond 5829b45bbe
close timer faster
8 years ago
Darien Raymond dc76e36ed7
close mux session on end
8 years ago
Darien Raymond d5f931ae8b
fix udp handling in dokodemo and mux
8 years ago
Darien Raymond 7a4bab4940
support packet transfer type in mux
8 years ago
Darien Raymond 6f3362fc4c
update activity
8 years ago
Darien Raymond f418b9bc20
swallow write error in mux
8 years ago
Darien Raymond 10ce629c02
close input on error
8 years ago
Darien Raymond 6a90ce3c43
comments
8 years ago
Darien Raymond a7abac2eaf
extend mux session timeout
8 years ago
Darien Raymond 6d7aaa6535
bug fixes
8 years ago
Darien Raymond 1d761e30a9
cleanup
8 years ago
Darien Raymond 0ebebfa458
cleanup
8 years ago
Darien Raymond a624e50ffe
test case
8 years ago
Darien Raymond bb72264994
fix a typo in session manager
8 years ago
Darien Raymond 027270fd2c
cleanup
8 years ago
Darien Raymond ffa0787b09
Merge branch 'master' of https://github.com/v2ray/v2ray-core
8 years ago
Darien Raymond bc58c3e14b
test case for mux
8 years ago
Darien Raymond 31a0951bd2
write by slice when buffer is too large
8 years ago
Darien Raymond ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond e064ce65c8
handle error properly
8 years ago
Darien Raymond d6988f1a63
simplify code
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 0a2547b285
cleanup handler functions
8 years ago
Darien Raymond 2cf809021b
force close session manage when main connection is finished
8 years ago