Commit Graph

49 Commits

Author SHA1 Message Date
Micooz
463c9d9e6c docs: add instructions of Service Authentication 2018-04-21 13:24:33 +08:00
Micooz
cb457e90cb docs: update 2018-03-07 10:32:42 +08:00
Micooz
232d470c92 docs: update 2018-02-27 12:08:32 +08:00
Micooz
4682bb3478 docs: add config.json example 2018-02-08 13:40:30 +08:00
Micooz
772ac9b3f6 docs: update 2018-02-03 22:43:37 +08:00
Micooz
28b0527a2c docs: update 2017-12-26 08:57:55 +08:00
Micooz Lee
80a6e69653
Add multiplexing support (#94)
* core,presets,transports: add initial mux support

* core,presets: holy shit

* core,transports: fix fix

* core: some fix to multiplexer

* still not working, too complex

* transports: add mux

* core: pass "extraArgs" as the second parameter during piping

* src: first working version of mux

* core,presets: properly close sub connection from client

* core/multiplexer: fix stuck at the second connection

* core/multiplexer: split class into MuxClient and MuxServer

* core/multiplexer: pick a random mux relay to transfer encoded data on server side

* core,transports: remove "mux" transport and make mux on TLS work

* presets/tracker: only dump result when preset destroyed

* lint: fix

* core: bring preparePresets() to module scope

* transports/tcp: fix inbound destroy behaviour for mux

* utils: fix getRandomInt()

* core/multiplexer: fix getRandomMuxRelay()

* core/multiplexer: distinguish relay self-close and protocol(mux)-close

* test: add test for "mux"

* transports/websocket: prevent calling "on()" on null this._socket

* presets: add class IPresetAddressing

* core: wrap mux protocol inside custom protocol stack

* core: pass remoteInfo to new Relay() to correct remote address in log

* core: fix bugs and improve stability

* src: add/remove TODOs

* core/relay: store remoteInfo rather than context

* core/relay: fix a bug

* docs: update
2017-12-25 16:42:01 +08:00
Micooz
975a81032b
docs: update 2017-12-19 11:54:52 +08:00
Micooz
b70635404a
docs: update 2017-12-19 11:52:35 +08:00
Micooz
ccc914372a
docs: update 2017-12-19 11:49:56 +08:00
Micooz
00921e6d07
docs: update 2017-10-27 15:06:35 +08:00
Micooz
21468707ec docs: update 2017-10-21 10:59:59 +08:00
Micooz
5f62383a46 docs: update 2017-10-15 12:50:13 +08:00
Micooz
8a06cfcd28
docs: update 2017-10-13 17:29:32 +08:00
Micooz
4fe7961b0b
docs: update 2017-09-26 11:12:49 +08:00
Micooz
983a4ad86b
docs: update 2017-09-20 13:35:27 +08:00
Micooz
97de63257e
docs: update 2017-09-19 14:46:54 +08:00
Micooz
1be6d0f0e1
docs: update 2017-09-05 14:36:33 +08:00
Micooz
2f47208574 docs: update 2017-08-22 10:54:50 +08:00
Micooz
487076d1af docs: update 2017-08-21 18:09:57 +08:00
Micooz
25f6a8d6cd docs: update 2017-08-20 17:13:57 +08:00
Micooz
c09282e1cf docs: update config 2017-08-16 10:48:22 +08:00
Micooz
4109e5f6ba core: add "log_path" option 2017-08-15 23:05:32 +08:00
Micooz
66aef07e9c core: disable cluster mode by default 2017-08-14 17:39:37 +08:00
Micooz
3975e913f9 docs: update 2017-08-14 17:24:33 +08:00
Micooz
d728156158 docs: add "workers" option 2017-08-14 15:54:48 +08:00
Micooz
2c39f76c61 docs: update 2017-08-10 14:34:58 +08:00
Micooz
cbb962d4d7 docs: update config and usage 2017-08-10 09:13:22 +08:00
Micooz
d397f28f7c docs: update config 2017-08-08 15:40:19 +08:00
Micooz
20ae64ee40 Merge branch 'feature-using-webpack' 2017-08-08 14:50:14 +08:00
Micooz
c60afe6d78 docs: update 2017-08-08 14:10:27 +08:00
Micooz
0c35190a85 docs: update config and architecture 2017-08-02 16:20:30 +08:00
Micooz
77a085d44a feat(core): allow to custom DNS servers
close: #66
2017-06-11 18:44:19 +08:00
Micooz
e71327cbd8 docs(readme): add presets.md 2017-04-22 21:49:06 +08:00
Micooz
2323cb82df docs(readme): update 2017-04-22 17:07:01 +08:00
Micooz
d9185a98d7 chore(cli-init): generate more common values 2017-04-17 14:30:58 +08:00
Micooz
37fecd5501 docs(readme): update 2017-04-16 17:39:28 +08:00
Micooz
54a88afe2f docs(config): add more comments 2017-04-13 21:43:22 +08:00
Micooz
452959b034 docs(readme): update 2017-04-13 17:12:37 +08:00
Micooz
b5195f1765 docs(config): fix a path 2017-04-13 16:51:22 +08:00
Micooz
e008115e1c docs(readme): update 2017-04-13 16:44:55 +08:00
Micooz
37611358ac docs(config): update 2017-04-12 16:08:46 +08:00
Micooz
13ea396456 feat(socket): add timeout mechanism
close: #45
2017-04-12 16:04:43 +08:00
Micooz
1ec330addf docs(readme): update 2017-04-07 16:04:19 +08:00
Micooz
5baf1e73d2 docs(readme): update 2017-03-29 16:20:51 +08:00
Micooz
ecbb741966 chore(docs): add description for "--watch" option 2017-03-29 11:03:55 +08:00
Micooz
13c6896375 docs(config): update 2017-03-28 14:08:30 +08:00
Micooz
a2fe895dc1 docs(config): update 2017-03-24 17:56:14 +08:00
Micooz
5649af6d44 docs(*): update 2017-03-24 17:09:37 +08:00