Commit Graph

634 Commits

Author SHA1 Message Date
micooz
4d7fc4e272 package: upgrade deps 2019-02-13 13:18:11 +08:00
micooz
d26d71af5f lint: fix 2018-11-03 11:22:19 +08:00
Micooz
993eb2687d proxies(http): fix parsing error and 401 status code 2018-08-04 21:09:01 +08:00
Micooz
e0d86ed328 core,presets: load libsoduium-wrappers on demand 2018-07-28 21:16:25 +08:00
Micooz
f9ba393c26 core(mux-relay): reduce "MaxListenersExceededWarning"s 2018-07-22 17:06:23 +08:00
Micooz
a1ef787309 core(mux-relay): fix TypeError: Cannot read property 'push' of null 2018-07-22 17:04:08 +08:00
Micooz
8198e3d06e src: weakly dependent on http2 module 2018-07-14 22:14:08 +08:00
Micooz
7be5bbe780 src: reduce memory usage for multiplexing 2018-07-14 21:37:13 +08:00
Micooz
c236329079 presets(ss-aead-cipher): add aes-128-ccm, aes-192-ccm and aes-256-ccm 2018-07-07 18:48:27 +08:00
Micooz
d608255ddd core: fix connection status 2018-07-07 11:21:03 +08:00
Micooz
1d852ee514 core: decouple mux stuff from pipe 2018-07-07 10:23:19 +08:00
Micooz
1e61c6dab0 presets: export * from defs.js as well 2018-07-07 10:21:15 +08:00
Micooz
6ac8ee463f utils: refactor speed-tester.js 2018-07-05 18:28:16 +08:00
Micooz
ab2e09952b transports: minor refactor for tcp 2018-07-05 18:27:47 +08:00
Micooz
3229bdfb12 transports: remove dependency on http2session 2018-07-03 16:37:32 +08:00
Micooz
8408e3df67 transports: decouple "drain" event from other bounds 2018-07-03 15:07:22 +08:00
Micooz
ea224f052b src: move speed-tester.js to utils/ 2018-07-03 15:06:09 +08:00
Micooz
d830a8e416 transports: refactor bind expression to assign expression 2018-07-03 10:14:14 +08:00
Micooz
babfa8307a transports: add bufferSize getters for h2 and ws 2018-07-02 20:05:11 +08:00
Micooz
e96a304659 core: check inbound writable before using it 2018-07-02 20:01:54 +08:00
Micooz
9fdc0cb842 src: move MAX_BUFFERED_SIZE from constants.js to tcp.js 2018-07-02 20:01:54 +08:00
Micooz
d9050efc1d transports: add "error" event handler for http2 stream 2018-07-02 15:11:11 +08:00
Micooz
fd0a51123f transports: remove unnecessary logic 2018-07-01 17:37:59 +08:00
Micooz
09937f33e5 transports: disables the Nagle algorithm, enable keep-alive functionality of tcp 2018-07-01 17:36:32 +08:00
Micooz
e850b20b4b transports: rewrite websocket 2018-07-01 17:35:18 +08:00
Micooz
33cbd02976 presets: fail() should return undefined 2018-06-24 13:31:41 +08:00
Micooz
d76f13b465 transports: refactor 2018-06-24 13:30:56 +08:00
Micooz
d223c7b002 core: refactor multiplexing 2018-06-24 13:30:03 +08:00
Micooz
d2ba238ed2 transports: remove mux 2018-06-23 21:20:38 +08:00
Micooz
a9ec378a42 core: refactor server creation 2018-06-17 18:29:39 +08:00
Micooz
79882e1421 core,test: fix multiplxing for wss and h2 2018-06-17 14:31:26 +08:00
Micooz
7b664cbc12 transports/h2: fix value of HTTP2_HEADER_METHOD 2018-06-17 11:30:50 +08:00
Micooz
2b3cdf7923 transports: http2 now supported 2018-06-16 23:33:39 +08:00
Micooz
f2540497f7 transports/tcp: fix log 2018-06-16 23:32:18 +08:00
Micooz
c0312b4837 src: refactor PRESET_FAILED handling 2018-06-16 22:23:13 +08:00
Micooz
20f634713c proxies: fix a vulnerability in log output 2018-06-16 22:20:19 +08:00
Micooz
07e3e73426 src: rename "remoteInfo" to "sourceAddress" 2018-06-16 20:18:21 +08:00
Micooz
9c3cf648e8 Merge branch 'master' into feature-http2-transport
* master: (39 commits)
  docs: update
  package: bump to v3.3.1
  bin: should delete more items in simple mode
  docs: add examples
  transports: set handshake timeout of ws to 10s
  lib: regen
  config: fix new URL() default port issue
  lint: fix
  package: upgrade eslint to v5.2.0
  docs: add "Test Using curl"
  docs: update
  src: add client side https proxy support
  package: upgrade winston to v3.0.0
  build: keep comments in lib/*.js
  ci: change NEXT_VERSION to 3.3.1
  docs: update
  lib: regen
  package: bump to v3.3.0
  docs: update
  transports,test: add "wss" transport
  ...

# Conflicts:
#	src/core/config.js
2018-06-15 23:12:07 +08:00
Micooz
138636da69 transports: set handshake timeout of ws to 10s 2018-06-15 10:33:28 +08:00
Micooz
ad934bf6c6 config: fix new URL() default port issue 2018-06-13 22:34:22 +08:00
Micooz
b7798e1e60 lint: fix 2018-06-13 22:33:15 +08:00
Micooz
142f8f5d77 src: add client side https proxy support 2018-06-13 20:52:18 +08:00
Micooz
c42c618095 transports,test: add "wss" transport 2018-06-12 18:05:56 +08:00
Micooz
4e4addff55 config: remove "https" from supported client proxy protocol 2018-06-12 17:48:55 +08:00
Micooz
a6b877dd10 bin,src,test: add "tls_cert_self_signed" 2018-06-12 17:47:52 +08:00
Micooz
55f6f59607 proxies: fix a security bug of authorization bypass 2018-06-10 15:10:23 +08:00
Micooz
74ea2eb09f src,test: websocket now support pathname 2018-06-10 15:06:23 +08:00
Micooz
b4abe01b20 presets: refactor index.js 2018-06-02 09:55:11 +08:00
Micooz
a706f42f7d WIP: http2 transport 2018-05-06 18:34:41 +08:00
Micooz
be9dd7adcc core: minor refactor 2018-05-06 18:32:31 +08:00