Commit Graph

592 Commits (eda72624e289c83c1f4287381c94c7411e4427bf)

Author SHA1 Message Date
Darien Raymond 52ed93408b
prevent double close in tcp hub 2017-02-21 23:18:25 +01:00
Darien Raymond e480091388
smart error propagation 2017-02-21 23:14:07 +01:00
Darien Raymond c220f9cb3e
sync for tcp hub 2017-02-19 22:29:31 +01:00
Darien Raymond 7a97d73737
fix race condition in transport 2017-02-18 00:28:50 +01:00
Darien Raymond ebed271a92
fix race conditions in kcp 2017-02-18 00:04:25 +01:00
Darien Raymond 949a74edfa
fix a nil reference issue in tls listener 2017-02-17 10:33:42 +01:00
Darien Raymond 38014efdee
refactor websocket 2017-02-16 17:13:20 +01:00
Darien Raymond 935620104d
refactor websocket 2017-02-16 16:53:31 +01:00
Darien Raymond 48eb40ff39
dice.RandomUint16 2017-02-14 22:29:44 +01:00
Darien Raymond 8d6a4d0a8a
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-02-14 10:13:13 +01:00
Darien Raymond 9ca520893b
comments 2017-02-14 09:26:17 +01:00
Darien Raymond 520e3ea9e6
signal.semaphore 2017-02-13 23:29:34 +01:00
Darien Raymond 90200fbecb
remove signal.Once 2017-02-13 23:12:27 +01:00
Darien Raymond 48639ddb98
fix a bug in udp hub 2017-02-13 23:03:36 +01:00
Darien Raymond 5040817a7b
apply contex in udp hub 2017-02-13 22:39:50 +01:00
Darien Raymond 237ccf505c
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-02-10 17:19:16 +01:00
Darien Raymond 5ccc915f8f
typo 2017-02-10 16:50:45 +01:00
Darien Raymond 6888093197
gofmt 2017-02-10 16:42:24 +01:00
Darien Raymond 2ba59428c9
remove lock in websocket connection 2017-02-10 16:41:54 +01:00
Darien Raymond cfcf16feed
fix typo 2017-02-10 11:57:59 +01:00
Darien Raymond 1aeab3dd96
normalized path in websocket 2017-02-10 11:47:53 +01:00
Darien Raymond 5e7fb6d0dd
refine error handling in retry logic 2017-02-10 11:41:50 +01:00
Darien Raymond d270a99d4f
simplify code 2017-02-09 12:31:40 +01:00
Darien Raymond 0d68293ef8
fix test break 2017-02-09 12:31:26 +01:00
Darien Raymond cdb0b94046
cleanup websocket code 2017-02-09 11:42:17 +01:00
Darien Raymond 5ec3fe093d
fix test break 2017-02-08 19:00:13 +01:00
Darien Raymond 3be6c72211
cleanup websocket code 2017-02-08 18:30:16 +01:00
Darien Raymond 6bcce77afb
fix import 2017-02-07 23:33:40 +01:00
Darien Raymond d72029211f
completely remove allow passive connection 2017-02-07 17:37:26 +01:00
Darien Raymond 3643dc37e0
refine kcp output 2017-02-07 00:38:46 +01:00
Darien Raymond ce34a25e66
fix build break 2017-02-06 13:49:03 +01:00
Darien Raymond e665de182d
dispatcher test 2017-02-04 23:40:10 +01:00
Darien Raymond 9978cf07e6
fix udp dispatcher 2017-02-04 21:55:59 +01:00
Darien Raymond b5d14b6823
update java options 2017-02-03 23:15:10 +01:00
Darien Raymond c4d0227977
simplify dialer and dispatcher parameters 2017-02-03 22:35:09 +01:00
Darien Raymond f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond 9139a87865
closw conn in the same routine 2017-01-28 16:28:18 +01:00
Darien Raymond 18e1ca85aa
rename udp.Server 2017-01-27 14:45:16 +01:00
Darien Raymond 55fb18b6e1
reduce websocket buffer size 2017-01-27 13:50:38 +01:00
Darien Raymond ea728d5112
update 2017-01-26 23:51:06 +01:00
Darien Raymond fcd34014bb
fix java class name 2017-01-26 23:41:48 +01:00
Darien Raymond d2764d8776
fix test break 2017-01-26 20:55:01 +01:00
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond 6eff0acc0b
rename transportsettings to transportconfig 2017-01-16 14:18:33 +01:00
Darien Raymond 8b00d6fc30
clean imports 2017-01-14 00:27:45 +01:00
Darien Raymond 0a91893a26
handle IPv6 address in tproxy 2017-01-13 17:10:07 +01:00
Darien Raymond f7e1f00c88
rename dispatcher.Interface 2017-01-13 13:53:44 +01:00
Darien Raymond 289c467a12
remove unnecessary code 2017-01-13 13:47:44 +01:00
Darien Raymond db1c9131f0
global config creator 2017-01-12 22:47:10 +01:00
Darien Raymond d4c471c967
generate TLS certificate on the fly 2017-01-12 16:10:03 +01:00
Darien Raymond d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00
Darien Raymond 3a8eef2dec
don't do normal close in error case 2017-01-11 15:10:30 +01:00
Darien Raymond 72992c7478
able to close ray stream with error 2017-01-10 14:22:42 +01:00
Darien Raymond f75d94817a
fix #356 2017-01-08 16:01:28 +01:00
Darien Raymond 43cc81e5a8
better locking in udp server 2017-01-06 11:40:59 +01:00
Darien Raymond 5e7e549ec1
comments 2017-01-05 12:14:48 +01:00
Darien Raymond a8e274f4c4
remove unused code 2017-01-05 12:09:28 +01:00
Darien Raymond f7721029c7
fix #355 2017-01-04 17:23:41 +01:00
Darien Raymond 4afad8d31c
simpify websocket connection 2017-01-04 15:34:21 +01:00
Darien Raymond 5684beed8c
fix websocket conn reuse 2017-01-04 15:34:11 +01:00
Darien Raymond e35e271708
cleanup internet connection 2017-01-04 13:29:41 +01:00
Darien Raymond e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond 49210d8362
refine stream handling 2017-01-04 12:34:01 +01:00
Darien Raymond 723207158f
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-01-04 11:10:52 +01:00
Darien Raymond aefa53f827
refine http header 2017-01-03 23:09:51 +01:00
Darien Raymond 588c43f291
kcp header as wechat video 2017-01-03 22:46:22 +01:00
Darien Raymond 21a15bbf74
registerable dialer and listener 2017-01-03 15:16:48 +01:00
Darien Raymond 31d6e74482
remove rawtcp 2017-01-03 14:53:59 +01:00
Darien Raymond c9a421fba6
remove generate package comments in .pb.go files. 2017-01-03 14:17:44 +01:00
Darien Raymond 20fe6d10a4
rollback gitignore change 2017-01-02 20:52:45 +01:00
Darien Raymond 52e1dfaeac
remove all generated files 2017-01-02 08:15:31 +01:00
Darien Raymond 19e0cb40e9
locker protected connection 2017-01-02 07:43:02 +01:00
Darien Raymond 48bddb25d7
fix lint warnings 2017-01-01 22:12:44 +01:00
Darien Raymond 58ae7e4967
refine proto settings 2017-01-01 21:19:12 +01:00
Darien Raymond 2a52ae9e96
default next protos 2016-12-31 23:22:26 +01:00
Darien Raymond 3cc0783d9c
fix test break 2016-12-30 23:30:35 +01:00
Darien Raymond a44d556667
test case for tls connection 2016-12-30 23:12:00 +01:00
Darien Raymond f6aa7a0053
fix usage of ray stream. 2016-12-30 00:51:39 +01:00
Darien Raymond 609dbc1f13
task engine for all proxies 2016-12-30 00:32:20 +01:00
Darien Raymond f7379bc1c3
skip empty payload in ray 2016-12-27 00:44:11 +01:00
Darien Raymond 38e4cad8d1
remove unused variable 2016-12-26 16:49:36 +01:00
Darien Raymond 29d62185cf
notify read and write on remote close 2016-12-26 08:22:25 +01:00
Darien Raymond 620561bcaf
remove recover on stream write 2016-12-25 00:42:03 +01:00
Darien Raymond f1a9647c8a
lint warnings 2016-12-25 00:01:24 +01:00
Darien Raymond 4e224d64c6
Fix #337 2016-12-24 22:04:09 +01:00
Darien Raymond a4dfca0ef7
accommodate protobuf compiler change 2016-12-23 12:42:25 +01:00
Darien Raymond 7dc7937443
rename ws to websocket 2016-12-23 00:30:46 +01:00
Darien Raymond eb782436b3
proto option for C# namespace 2016-12-23 00:24:28 +01:00
Darien Raymond 06c92e492d
fix ray stream 2016-12-22 17:28:06 +01:00
Darien Raymond c3942fd5f0
fix lint warnings 2016-12-21 15:48:39 +01:00
Darien Raymond ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond cdcccb4590
simplify segment writer 2016-12-20 22:53:58 +01:00
Darien Raymond bccf11c12c
fix tls over kcp 2016-12-20 13:03:20 +01:00
Darien Raymond 0f0f01ddf6
return error when header too long 2016-12-19 12:16:57 +01:00
Darien Raymond 68164d46f9
limit max http header length 2016-12-16 17:01:47 +01:00
Darien Raymond b17f06bb4e
test case for http header 2016-12-16 16:52:11 +01:00
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage 2016-12-15 11:51:09 +01:00
Darien Raymond d6a6e0aaf8
send back http response on error 2016-12-14 12:25:22 +01:00
Darien Raymond 42417cab17
fix compile warning 2016-12-12 21:58:13 +01:00
Darien Raymond a67d525fc2
try fix connection reuse settings 2016-12-12 13:08:31 +01:00