Commit Graph

123 Commits (d7aeb519041570dd639b9c9db00e9994fcb73b1e)

Author SHA1 Message Date
Darien Raymond 9f392eb506 avoid long domain names in mux 2017-10-22 19:48:19 +02:00
Darien Raymond 24089bfad0 remove duplicated address type def 2017-10-21 21:59:46 +02:00
Darien Raymond f1a15e92f5 apply bitmask to other packages 2017-10-21 21:04:24 +02:00
Darien Raymond 8c6f73f30b bitmask 2017-10-21 20:40:31 +02:00
Darien Raymond 948534f480 reduce memory consumption of mux.Writer 2017-10-21 20:21:51 +02:00
Darien Raymond 9df5ac6e4f fix frame meta 2017-10-21 19:29:27 +02:00
Darien Raymond aa5e06a26e reduce memory consumption of frame meta 2017-10-21 19:27:53 +02:00
Darien Raymond 7f4296cd78 assert meta is nil on error 2017-10-21 19:27:31 +02:00
Darien Raymond badc77a7f7 return proper error in drain 2017-10-21 19:27:20 +02:00
Darien Raymond 103cb48692 test case for SessionManager.Size() 2017-10-21 19:26:57 +02:00
Darien Raymond 95c469c1fd handle proxy error in mux client 2017-10-20 21:11:13 +02:00
Darien Raymond 06d4c37889
integrate mux in vmess server 2017-05-17 21:13:01 +02:00
Darien Raymond 5829b45bbe
close timer faster 2017-05-09 00:01:15 +02:00
Darien Raymond dc76e36ed7
close mux session on end 2017-05-02 23:53:39 +02:00
Darien Raymond d5f931ae8b
fix udp handling in dokodemo and mux 2017-05-02 23:36:37 +02:00
Darien Raymond 7a4bab4940
support packet transfer type in mux 2017-05-02 22:23:07 +02:00
Darien Raymond 6f3362fc4c
update activity 2017-04-27 22:30:48 +02:00
Darien Raymond f418b9bc20
swallow write error in mux 2017-04-27 22:20:29 +02:00
Darien Raymond 10ce629c02
close input on error 2017-04-26 21:43:53 +02:00
Darien Raymond 6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond a7abac2eaf
extend mux session timeout 2017-04-19 21:33:11 +02:00
Darien Raymond 6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond 1d761e30a9
cleanup 2017-04-19 18:00:11 +02:00
Darien Raymond 0ebebfa458
cleanup 2017-04-19 16:29:36 +02:00
Darien Raymond a624e50ffe
test case 2017-04-19 12:36:04 +02:00
Darien Raymond bb72264994
fix a typo in session manager 2017-04-19 12:11:59 +02:00
Darien Raymond 027270fd2c
cleanup 2017-04-19 11:20:08 +02:00
Darien Raymond ffa0787b09
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-04-19 11:18:00 +02:00
Darien Raymond bc58c3e14b
test case for mux 2017-04-19 11:17:41 +02:00
Darien Raymond 31a0951bd2
write by slice when buffer is too large 2017-04-19 10:14:52 +02:00
Darien Raymond ab9349ec31
rename buf.Copy 2017-04-17 22:50:02 +02:00
Darien Raymond e064ce65c8
handle error properly 2017-04-16 13:24:02 +02:00
Darien Raymond d6988f1a63
simplify code 2017-04-16 13:17:35 +02:00
Darien Raymond f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond 0a2547b285
cleanup handler functions 2017-04-14 10:03:10 +02:00
Darien Raymond 2cf809021b
force close session manage when main connection is finished 2017-04-13 20:56:32 +02:00
Darien Raymond 81d840699a
mutex protected close 2017-04-13 20:14:07 +02:00
Darien Raymond c9f661f018
refactor 2017-04-12 23:55:59 +02:00
Darien Raymond ad083989aa
split session manager out of mux client and server 2017-04-12 22:31:11 +02:00
Darien Raymond 9b834a2148
handle status keep alive 2017-04-12 11:52:10 +02:00
Darien Raymond 343417633a
fix build break 2017-04-12 10:41:02 +02:00
Darien Raymond c89cd8ae24
settings for mux concurrency 2017-04-12 10:40:21 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond b4cd497abf
update error messages 2017-04-06 22:00:32 +02:00
Darien Raymond 67956b9120
update error message 2017-04-06 21:44:20 +02:00
Darien Raymond 75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond 8acde086c3
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-04-05 17:36:18 +02:00
Darien Raymond babf7476ff
more logs 2017-04-05 17:36:15 +02:00
Darien Raymond 7682929c11
close main connection quicker 2017-04-05 15:22:21 +02:00
Darien Raymond 4ee1abdaff
refactor 2017-04-05 14:26:20 +02:00
Darien Raymond 9b1d20943f
clean up mux client in manager 2017-04-05 14:24:15 +02:00
Darien Raymond d10445d49a
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-04-05 14:13:28 +02:00
Darien Raymond 4d682c01e0
refactor mux 2017-04-05 14:13:26 +02:00
Darien Raymond 2a3facab5a
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-04-05 13:46:13 +02:00
Darien Raymond 55328921b5
wait for done 2017-04-05 13:46:11 +02:00
Darien Raymond 0a15bceb55
fix dead lock 2017-04-05 12:56:50 +02:00
Darien Raymond 947492a71c
close all sessions after main connection ends 2017-04-05 11:02:49 +02:00
Darien Raymond 7195c17af6
close server down link 2017-04-04 11:20:07 +02:00
Darien Raymond 18b0b87c52
no-op timer 2017-04-04 10:24:38 +02:00
Darien Raymond 55ecd92064
simplify mux code 2017-04-04 00:17:38 +02:00
Darien Raymond bf0a4c428e
refactor mux code 2017-04-03 23:43:33 +02:00
Darien Raymond 682235cacc
refactor server worker 2017-04-03 17:28:15 +02:00
Darien Raymond c4ba853887
refactor error messages 2017-04-03 13:07:12 +02:00
Darien Raymond 72d9cb8a74
bug fixes 2017-04-03 12:55:46 +02:00
Darien Raymond 5686566139
apply mux in client 2017-04-02 21:30:21 +02:00
Darien Raymond 1e06cf34d9
apply mux in inbound handler 2017-04-02 14:06:20 +02:00
Darien Raymond 3161c56aba
refactor 2017-04-02 13:43:24 +02:00
Darien Raymond 73c4696e00
mux io 2017-04-02 09:48:30 +02:00
Darien Raymond 9e6a57b2b8
mux client 2017-04-01 00:53:01 +02:00
Darien Raymond eab2f1effc
refactor 2017-03-27 01:47:01 +02:00
Darien Raymond 020b436827
merge bufio into buf 2017-02-15 22:51:01 +01:00
Darien Raymond b652032d9d
update for mux 2017-02-07 21:11:47 +01:00