Commit Graph

591 Commits (c5bd23105ef2cb79d271645fc372bc47caaeb5db)

Author SHA1 Message Date
Darien Raymond c220f9cb3e
sync for tcp hub
8 years ago
Darien Raymond 7a97d73737
fix race condition in transport
8 years ago
Darien Raymond ebed271a92
fix race conditions in kcp
8 years ago
Darien Raymond 949a74edfa
fix a nil reference issue in tls listener
8 years ago
Darien Raymond 38014efdee
refactor websocket
8 years ago
Darien Raymond 935620104d
refactor websocket
8 years ago
Darien Raymond 48eb40ff39
dice.RandomUint16
8 years ago
Darien Raymond 8d6a4d0a8a
Merge branch 'master' of https://github.com/v2ray/v2ray-core
8 years ago
Darien Raymond 9ca520893b
comments
8 years ago
Darien Raymond 520e3ea9e6
signal.semaphore
8 years ago
Darien Raymond 90200fbecb
remove signal.Once
8 years ago
Darien Raymond 48639ddb98
fix a bug in udp hub
8 years ago
Darien Raymond 5040817a7b
apply contex in udp hub
8 years ago
Darien Raymond 237ccf505c
Merge branch 'master' of https://github.com/v2ray/v2ray-core
8 years ago
Darien Raymond 5ccc915f8f
typo
8 years ago
Darien Raymond 6888093197
gofmt
8 years ago
Darien Raymond 2ba59428c9
remove lock in websocket connection
8 years ago
Darien Raymond cfcf16feed
fix typo
8 years ago
Darien Raymond 1aeab3dd96
normalized path in websocket
8 years ago
Darien Raymond 5e7fb6d0dd
refine error handling in retry logic
8 years ago
Darien Raymond d270a99d4f
simplify code
8 years ago
Darien Raymond 0d68293ef8
fix test break
8 years ago
Darien Raymond cdb0b94046
cleanup websocket code
8 years ago
Darien Raymond 5ec3fe093d
fix test break
8 years ago
Darien Raymond 3be6c72211
cleanup websocket code
8 years ago
Darien Raymond 6bcce77afb
fix import
8 years ago
Darien Raymond 3643dc37e0
refine kcp output
8 years ago
Darien Raymond ce34a25e66
fix build break
8 years ago
Darien Raymond e665de182d
dispatcher test
8 years ago
Darien Raymond 9978cf07e6
fix udp dispatcher
8 years ago
Darien Raymond b5d14b6823
update java options
8 years ago
Darien Raymond c4d0227977
simplify dialer and dispatcher parameters
8 years ago
Darien Raymond f046f334cd
move common/log to app/log
8 years ago
Darien Raymond 9139a87865
closw conn in the same routine
8 years ago
Darien Raymond 18e1ca85aa
rename udp.Server
8 years ago
Darien Raymond 55fb18b6e1
reduce websocket buffer size
8 years ago
Darien Raymond ea728d5112
update
8 years ago
Darien Raymond fcd34014bb
fix java class name
8 years ago
Darien Raymond d2764d8776
fix test break
8 years ago
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context
8 years ago
Darien Raymond 6eff0acc0b
rename transportsettings to transportconfig
8 years ago
Darien Raymond 8b00d6fc30
clean imports
8 years ago
Darien Raymond 0a91893a26
handle IPv6 address in tproxy
8 years ago
Darien Raymond f7e1f00c88
rename dispatcher.Interface
8 years ago
Darien Raymond 289c467a12
remove unnecessary code
8 years ago
Darien Raymond db1c9131f0
global config creator
8 years ago
Darien Raymond d4c471c967
generate TLS certificate on the fly
8 years ago
Darien Raymond d24fe9dbfb
separate network and transport protocol
8 years ago
Darien Raymond 72992c7478
able to close ray stream with error
8 years ago
Darien Raymond f75d94817a
fix #356
8 years ago
Darien Raymond 43cc81e5a8
better locking in udp server
8 years ago
Darien Raymond 5e7e549ec1
comments
8 years ago
Darien Raymond a8e274f4c4
remove unused code
8 years ago
Darien Raymond f7721029c7
fix #355
8 years ago
Darien Raymond 4afad8d31c
simpify websocket connection
8 years ago
Darien Raymond 5684beed8c
fix websocket conn reuse
8 years ago
Darien Raymond e35e271708
cleanup internet connection
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 723207158f
Merge branch 'master' of https://github.com/v2ray/v2ray-core
8 years ago
Darien Raymond aefa53f827
refine http header
8 years ago
Darien Raymond 588c43f291
kcp header as wechat video
8 years ago
Darien Raymond 21a15bbf74
registerable dialer and listener
8 years ago
Darien Raymond 31d6e74482
remove rawtcp
8 years ago
Darien Raymond c9a421fba6
remove generate package comments in .pb.go files.
8 years ago
Darien Raymond 20fe6d10a4
rollback gitignore change
8 years ago
Darien Raymond 52e1dfaeac
remove all generated files
8 years ago
Darien Raymond 19e0cb40e9
locker protected connection
8 years ago
Darien Raymond 48bddb25d7
fix lint warnings
8 years ago
Darien Raymond 58ae7e4967
refine proto settings
8 years ago
Darien Raymond 2a52ae9e96
default next protos
8 years ago
Darien Raymond 3cc0783d9c
fix test break
8 years ago
Darien Raymond a44d556667
test case for tls connection
8 years ago
Darien Raymond 38e4cad8d1
remove unused variable
8 years ago
Darien Raymond 29d62185cf
notify read and write on remote close
8 years ago
Darien Raymond f1a9647c8a
lint warnings
8 years ago
Darien Raymond 4e224d64c6
Fix #337
8 years ago
Darien Raymond a4dfca0ef7
accommodate protobuf compiler change
8 years ago
Darien Raymond 7dc7937443
rename ws to websocket
8 years ago
Darien Raymond eb782436b3
proto option for C# namespace
8 years ago
Darien Raymond c3942fd5f0
fix lint warnings
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond cdcccb4590
simplify segment writer
8 years ago
Darien Raymond bccf11c12c
fix tls over kcp
8 years ago
Darien Raymond 0f0f01ddf6
return error when header too long
8 years ago
Darien Raymond 68164d46f9
limit max http header length
8 years ago
Darien Raymond b17f06bb4e
test case for http header
8 years ago
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage
8 years ago
Darien Raymond d6a6e0aaf8
send back http response on error
8 years ago
Darien Raymond 42417cab17
fix compile warning
8 years ago
Darien Raymond a67d525fc2
try fix connection reuse settings
8 years ago
Darien Raymond a11d2ce9d6
support server name override
8 years ago
Darien Raymond eee23e6718
fix api usage
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago
Darien Raymond a3cb770f77
clean up errors
8 years ago
Darien Raymond 41fcffbfab
fix data input and output signal
8 years ago
Darien Raymond 40249dfacb
change API
8 years ago
Darien Raymond 30d886fd6f
refresh protobuf
8 years ago
Darien Raymond 41258f19fc
comments
8 years ago
Darien Raymond 1431e32d01
comments
8 years ago
Darien Raymond 0917866f38
refine kcp header and security
8 years ago
Darien Raymond d716d02cd8
correctly handle sending window length
8 years ago
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer
8 years ago
Darien Raymond 4bf8288cc2
remove use of Buffer.Value
8 years ago
Darien Raymond e46bad3f18
format errors
8 years ago
Darien Raymond efb24a4d21
rewrite error lib
8 years ago
Darien Raymond a4019a6900
fast return on zero ack list
8 years ago
Darien Raymond 207c7aa8a7
flush acklist when dirty
8 years ago
Darien Raymond 60697e4e4f
fix test break
8 years ago
Darien Raymond 1186b0e733
fix label name
8 years ago
Darien Raymond a53808c83b
fix link
8 years ago
Darien Raymond fa0011c4c9
fix build break
8 years ago
Darien Raymond eb877fa808
remove unnecessary import
8 years ago
Darien Raymond 3ffef74d75
allocate in advance
8 years ago
Darien Raymond 8b07c39281
update default kcp bandwidth settings
8 years ago
Darien Raymond 31fbb62d0f
add back flush timeout
8 years ago
Darien Raymond 3be9519ed4
send more ack seg
8 years ago
Darien Raymond 2dc74faf19
send more ack numbers if not full
8 years ago
Darien Raymond 5ffabe1148
reduce time spent on kcp test
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago
Darien Raymond d00f8eef56
remove use of 'v' as a variable name
8 years ago
Darien Raymond b1f78a1ffc
enable conn reuse settings in mkcp
8 years ago
Darien Raymond d19ee4d408
connection reuse for mkcp
8 years ago
Darien Raymond b2e084c78c
recycler interface
8 years ago
Darien Raymond 22379e5a6b
refactor connection pool
8 years ago
Darien Raymond e8cde53975
fix tcp log
8 years ago
Darien Raymond e0116d3957
fix http read
8 years ago
Darien Raymond 15cb543abb
release memory in kcp connection
8 years ago
Darien Raymond 70c75038a2
small buffer
8 years ago
Darien Raymond 30cd9e929d
add exponential backoff as retry logic
8 years ago
Darien Raymond d6086e0e9b
remove buggy test case
8 years ago
Darien Raymond f64c79e239
log
8 years ago
Darien Raymond ac2f62b239
reduce memory footprint in kcp
8 years ago
Darien Raymond ed780951aa
save some goroutines
8 years ago
Darien Raymond 292176c57f
simplify udp payload queue
8 years ago
Darien Raymond 1a1383c2ea
simplify random
8 years ago
Darien Raymond a14795e1e6
optimize udp hub
8 years ago
Darien Raymond 4ee758c4d2
simplify kcp logic
8 years ago
Darien Raymond ad3f450bce
fix usage of io.EOF
8 years ago
Darien Raymond e72f8a26c8
min timeout
8 years ago
Darien Raymond 0cd9f5165f
update kcp sending worker
8 years ago
Darien Raymond 9471b5b066
refine dispatcher
8 years ago
Darien Raymond 5dc05d6352
allow outbound to be proxied
8 years ago
Darien Raymond d343cb1ee6
proxy connection
8 years ago
Darien Raymond 7a09fcdc2f
increase kcp ack frequency
8 years ago
Darien Raymond b0d009664a
Fix HTTP serialization
8 years ago
Darien Raymond dc0cbce6e1
optimize pickString
8 years ago
Darien Raymond 66e8090d3a
update http header
8 years ago
Darien Raymond f108633e2e
ssr compatibility
8 years ago
Darien Raymond 13dde1799d
comments
8 years ago
Darien Raymond bae0de7d95
test case for http auth
8 years ago
Darien Raymond 010f34c76c
allow single side auth
8 years ago
Darien Raymond 0747203132
refine http header
8 years ago
Darien Raymond aabb9137e1
remove unused code
8 years ago
Darien Raymond 33d2513e3c
reduce memory allocation in kcp
8 years ago
Darien Raymond 5b58066345
use local buffer in UDP hub
8 years ago
Darien Raymond d3f323e24b
response factory
8 years ago
Darien Raymond 187688cacb
fix type def
8 years ago
Darien Raymond 72339a3509
fix TCP conn reuse with tls
8 years ago
Darien Raymond ac3b91a877
http authenticator
8 years ago
Darien Raymond 97dc7b30de
remove test cases depending on external resources
8 years ago
Darien Raymond e13c97d162
rename IP to CIDR in router
8 years ago
Darien Raymond 2320bc3304
remove unused code
8 years ago
Darien Raymond 751a105324
comments
8 years ago
Darien Raymond b81d091fb8
comments
8 years ago
Darien Raymond 9bd8822668
unused proto
8 years ago
Darien Raymond 5a311cbe08
json config parser
8 years ago
Darien Raymond e33b7df34c
remove use of any
8 years ago
Darien Raymond be026870f7
protogen update
8 years ago
Darien Raymond d26ee5441e
fix authenticator config
8 years ago
Darien Raymond ab3173039b
increase ping interval
8 years ago
Darien Raymond b5910dccae
simplify fast resend
8 years ago
Darien Raymond f8ad1f4a3e
update predicate syntax
8 years ago
Darien Raymond da9f1a8013
predicate.Not
8 years ago
Darien Raymond f3a83c57ab
optimize ping and updater logic
8 years ago
Darien Raymond 78f87c4f60
test case for cmd only segment
8 years ago
Darien Raymond e023859ef0
stop data updating thread when there is no data
8 years ago
Darien Raymond 67793eb3e0
fix config creator cache
8 years ago
Darien Raymond 1d13f47f9c
protobuf for stream settings
8 years ago
Darien Raymond 5ec948f690
integrate tls settings in ws
8 years ago
Darien Raymond af6abfa3e3
update proto generated code
8 years ago
Darien Raymond 91f2a40dae
refine proto package names
8 years ago
Darien Raymond dc6b7e2e75
protobuf for blackhole config
8 years ago
Darien Raymond b28d718b79
optional field in kcp config
8 years ago
Darien Raymond 1a3f51ade7
protobuf for kcp config
8 years ago
Darien Raymond 8f6a972970
refactor config cache
8 years ago
Darien Raymond 7de7588ec2
proto for destination
8 years ago
Darien Raymond c518726910
network proto
8 years ago
Darien Raymond fbdb1e09d7
remove incorrect check on config name
8 years ago
Darien Raymond 9ade07db03
remove IsTCP() and IsUDP()
8 years ago
Darien Raymond 5f5d28009f
fix typo in utp def
8 years ago
Darien Raymond 04d956462c
fix test without -json tag
8 years ago
Darien Raymond 3fd66ad795
remove PingNecessary()
8 years ago
Darien Raymond e49fb2f50d
no compacting buffers
8 years ago
Darien Raymond fcad4aa212
adjust receiving buffer size
8 years ago
Darien Raymond 0da987ec43
refine buffer size
8 years ago
Darien Raymond 2ae8e5d033
rename buffer size
8 years ago
Darien Raymond 2839ce7a88
simplify receiving worker
8 years ago
Darien Raymond 5d20e3f70b
remove sending queue
8 years ago
Darien Raymond e6e0419958
format private annotation
8 years ago