Commit Graph

1362 Commits

Author SHA1 Message Date
Micooz
23b54d0ca1 test: move src/core/__tests__ to test/core 2018-02-16 17:01:36 +08:00
Micooz
cb6e3b5837 test: move src/utils/__tests__ to test/utils 2018-02-16 17:01:36 +08:00
Micooz
1fcf4e2f6c core: fix onCache 2018-02-16 17:01:36 +08:00
Micooz
4b7c2e091c src,test: isolate config among presets 2018-02-16 17:01:36 +08:00
Micooz
89b8392eb3 presets: remove stats.js, implement it later in core 2018-02-16 17:01:36 +08:00
Micooz
9a6ea38777 test: move src/presets/__tests__/* to test/presets/ 2018-02-16 17:01:36 +08:00
Indexyz
d355ed9065 refactor: replace ctx with config
refactor: set static config for preset
2018-02-16 17:01:36 +08:00
Indexyz
d63f0bfddc refactor: replace object with config prototype 2018-02-16 17:01:36 +08:00
Indexyz
6ba9db3ab0 fix: remove commited function 2018-02-16 17:01:36 +08:00
Indexyz
59902609ae refactor(config): dynamic config 2018-02-16 17:01:36 +08:00
Indexyz
48c3a2d70e core,transports: remove global object 2018-02-16 17:01:36 +08:00
Micooz Lee
69a3d34c2f Update Crowdin configuration file 2018-02-14 12:47:03 +08:00
Micooz
062612d8dd ci: include commit hash in package version 2018-02-10 10:52:31 +08:00
Micooz
a43004ed52 ci: do not make tag when increase package version 2018-02-09 16:04:25 +08:00
Micooz
1a6cee6912 docs: add link to blinksocks-nightly-releases 2018-02-09 16:03:36 +08:00
Micooz
4c48b71d5f ci: try to keep previous builds 2018-02-09 15:29:29 +08:00
Micooz
9afa626059 ci: change package.version as well when nightly release 2018-02-09 15:05:26 +08:00
Micooz
28799a5db7 ci: setup nightly releases 2018-02-09 14:26:39 +08:00
Micooz
a0862b2675 chore: remove .gitignore from sub directories 2018-02-09 12:03:55 +08:00
Micooz
4682bb3478 docs: add config.json example 2018-02-08 13:40:30 +08:00
Micooz
6249092dd5 core/mux-relay: fix cannot read property 'remoteInfo' of null 2018-02-07 22:56:51 +08:00
Micooz
2ae6d9df80 core: remove Hub::onRelayClose() and Relay::getContext() 2018-02-06 22:50:53 +08:00
Micooz
7426a5d3ab presets/mux: prevent print non-ascii characters to log 2018-02-06 21:29:54 +08:00
Micooz
af5ae5036a core: refactor mux sub relay self-closing 2018-02-06 21:28:59 +08:00
Micooz
326eb29771 core,transports: improve log 2018-02-06 17:30:08 +08:00
Micooz
b2ec6ccaf9 core: refactor mux relay creation on client 2018-02-06 10:44:31 +08:00
Micooz
f24100b8f7 benchmark: use json output of iperf 2018-02-05 19:26:49 +08:00
Micooz
a8ff3c535f package: add filesize 2018-02-05 19:22:29 +08:00
Micooz
b785e20612 core,utils: move core/dns-cache.js to utils/, and refactor it 2018-02-05 14:23:26 +08:00
Micooz
b66e14d1cb core: fix sub connection id collision 2018-02-05 11:55:52 +08:00
Micooz
6d2ae7ef15 src/constants: set APP_ID randomly when application startsup 2018-02-04 22:34:31 +08:00
Micooz
80bb1ede28 presets/mux: change cid to a random and discrete structure 2018-02-04 22:33:01 +08:00
Micooz
12a21658b8 src: fix "send() is not a function" when enable mux feature though http proxy 2018-02-04 22:30:46 +08:00
Micooz
db56c0119a transports/mux: handle preset errors 2018-02-04 22:26:54 +08:00
Micooz
f47032c854 package: bump to v2.9.0 2018-02-03 23:48:25 +08:00
Micooz
5e7cb89a10 changlog: update 2018-02-03 23:47:10 +08:00
Micooz
847d33f037 lib: regen 2018-02-03 23:46:56 +08:00
Micooz
811235df2c benchmark: add 2018-02-03.txt 2018-02-03 23:46:40 +08:00
Micooz
85acfee4b0 package: update 2018-02-03 22:44:39 +08:00
Micooz
772ac9b3f6 docs: update 2018-02-03 22:43:37 +08:00
Micooz
172b894ebc src: minor fix 2018-02-03 22:42:58 +08:00
Micooz
63bee4f0a8 lib: regen 2018-02-03 22:19:58 +08:00
Micooz
7cd1bc3da9 Merge branch 'fix-multiplexer-benchmark'
* fix-multiplexer-benchmark: (26 commits)
  benchmark/reports: archive reports of 2017
  core: add mux-relay and refactor multiplexing
  transports: use this.ctx
  transports: add mux
  core: remove multiplexer.js
  core/hub: hook listening event
  core/multiplexer: log remaining number of sub connections when a sub connection closed
  core/transports: updatePresets() is now called via event emitter
  core/relay: pass down DNSCache instance from relay to outbound
  core: make injectMethodsToBounds() more explicit
  transports/websocket: rename websocket.js to ws.js
  test: fix ci
  core/multiplexer: improve overall performance
  transports/tcp: add onDrain()
  presets/mux: check hostname and port of CMD_NEW_CONN frame
  utils/crypto: implement a faster version of randomBytes()
  src: extract several constants to constants.js
  package: add lodash.minby
  core/multiplexer: randomly reuse mux connection even if we haven't exceed mux_concurrency
  core/relay: log request info on client side when enable mux feature
  ...
2018-02-03 22:18:26 +08:00
Micooz
fd199e1969 benchmark/reports: archive reports of 2017 2018-02-03 22:17:35 +08:00
Micooz
8d0fa29891 core: add mux-relay and refactor multiplexing 2018-02-03 21:38:47 +08:00
Micooz
1ec6cfca94 transports: use this.ctx 2018-02-03 21:36:33 +08:00
Micooz
456e5e6ce4 transports: add mux 2018-02-03 21:33:44 +08:00
Micooz
6c92d184e6 core: remove multiplexer.js 2018-02-02 21:44:44 +08:00
Micooz
be1efb80a0 core/hub: hook listening event 2018-01-27 11:47:22 +08:00
Micooz
a005bcca4e package: compile before run pkg 2018-01-26 22:00:09 +08:00