砚然
aae5c9b039
pass through all the valid headers when proxing the WebSocket, and adds related test cases
2018-03-23 15:42:38 +08:00
砚然
1fd69b3e87
stringify the error object in header
2018-02-08 22:42:30 +08:00
砚然
c2760e0bb0
include fast-json to enhance the stringify of ws message
2018-01-28 12:43:42 +08:00
砚然
b49d66a8ee
Merge branch 'master' into ws-proxy
2018-01-21 19:43:02 +08:00
砚然
ecb9a71eb1
add comment and replace the deprecated new Buffer()
with Buffer.from()
2017-12-30 13:34:38 +08:00
砚然
52582bee07
update dependency to brotli
2017-12-29 18:42:11 +08:00
砚然
6317098367
Support to decompress the brotli content-encoding
2017-12-28 21:57:10 +08:00
砚然
ee0f285e78
Only update the content-header
when the content is handled by AnyProxy
2017-12-28 21:31:13 +08:00
砚然
b6c7088965
do not unzip the response body when it's empty, such as 304
...
also remove the delete operatoin for 'accept-encoding' in the test utils, since AnyProxy will not remove the header now
2017-12-14 23:58:52 +08:00
砚然
c018c775c8
update the doc about websocket proxy
2017-12-12 21:41:16 +08:00
砚然
60bc1498ae
add basic support for websocket proxy
2017-12-12 21:19:36 +08:00
砚然
7b3d171a96
fix the "write after end" error when in stream mode
2017-12-11 10:24:21 +08:00
Otto Mao
4be5aa8954
update to 4.0
2017-12-01 21:30:49 +08:00
砚然
4461628e1b
fix the issue with TLS connection cache, when server doesn't recognize the cache, it will hang up the following request after the cached one.
...
refer to https://github.com/nodejs/node/issues/8368
2016-09-06 10:23:09 +08:00
Ya Zhuang
cc71812445
chore: npm testing script
2016-09-01 17:07:40 +08:00
Ya Zhuang
4144beecc1
change: discard decrpecated GLOBAL
2016-09-01 15:14:26 +08:00
砚然
e489e188f4
Add test cases for the proxy, and do some tiny fixes.
...
the fixes are:
1. add "content-type" in headers for when dealing with localresponse
2. make a more accurate tip for throttle rate when lower than 1
3. make the crtMgr funcionality a more independent one
4. uppercase the request header before sending it out
update the tip
2016-08-31 10:41:29 +08:00
OttoMao
cfc817cb1f
move response data from memory to local cache file
2015-10-24 23:37:43 +08:00
OttoMao
9fc48d5e36
update some comment for req.url
2015-09-03 10:51:17 +08:00
Nate
6b89a0b9d7
Get full url for https and http separately.
2015-09-01 11:14:58 +08:00
Nate
6a2803b7c1
Correctly parse url for https if port is not 443.
2015-08-31 18:30:35 +08:00
OttoMao
b513f1a5d7
bugfix for intercepting some https url
2015-08-19 11:03:33 +08:00
OttoMao
531f4d0421
bugfix for records sorting
2015-08-12 19:26:29 +08:00
OttoMao
6975138c96
fix a bug about deflate compression
2015-07-28 21:53:42 +08:00
OttoMao
ffd59eb055
optimze map icon
2015-07-08 17:55:14 +08:00
OttoMao
8a146f7373
reconstruct map local
2015-07-07 17:31:56 +08:00
OttoMao
68478cd162
invoke log util, console.log can be switched off
2015-03-23 10:20:04 +08:00
OttoMao
bdf5e4fabb
bugfix for https server
2015-03-20 11:42:54 +08:00
OttoMao
d7173b9d4f
update test script
2015-02-12 14:37:44 +08:00
OttoMao
e5d0b1bf4d
bugfix for internal https
2015-02-10 15:30:39 +08:00
OttoMao
d51cb0ce4b
using SNI when intercepting https requests
2015-02-10 12:03:21 +08:00
OttoMao
5a8d36b16f
add a sample for reverse proxy
2015-01-29 11:00:42 +08:00
OttoMao
d5b6958dd9
bugfix for https throttle
2015-01-12 10:43:20 +08:00
OttoMao
b35d058b7a
ignore https problem
2015-01-09 15:37:13 +08:00
OttoMao
d90c12f6fe
update doc
2015-01-05 17:12:50 +08:00
加里
a7ef1b2215
use custom port for test.js
2014-11-17 11:02:24 +08:00
加里
4e65353a29
add test unit
2014-11-14 17:26:49 +08:00
加里
6279982aaf
update
2014-11-14 14:24:52 +08:00
加里
8e0dc781d3
Merge remote-tracking branch 'origin'
2014-11-14 10:12:17 +08:00
加里
00faa677e7
update error display
2014-11-14 10:11:57 +08:00
想当当
08680a7fa7
userRule initialize
2014-11-13 13:12:13 +08:00
想当当
f6ac9a3228
add tcp-ping
2014-11-12 14:28:20 +08:00
OttoMao
0e387382c8
add experimental interface for saving traffic data
2014-11-10 17:09:44 +08:00
OttoMao
8582a3cd77
move some module to optionalDep
2014-11-10 15:08:50 +08:00
想当当
d54991da35
external http proxy support
2014-11-10 13:30:58 +08:00
OttoMao
f126ade929
add a lock icon for https request
2014-11-05 16:15:17 +08:00
加里
48e2304765
add throttling
2014-10-29 16:20:18 +08:00
加里
c6c2355d17
add replaceServerResDataAsync
2014-10-21 11:18:55 +08:00
加里
8cb2925dc3
try to fix https connection issue
2014-09-11 14:55:47 +08:00
加里
45433d6e0c
fix https issue
2014-09-11 14:17:48 +08:00