151 Commits

Author SHA1 Message Date
砚然
e7732049db guide to the homepage when there are more info to visit 2018-07-11 15:20:39 +08:00
砚然
0241b90e4d add ca helper when run anyproxy -i
check and help to generate the root CA when run in https interception mode, and install the CA after user's confirmation (Mac only for now)
2018-07-03 21:14:00 +08:00
砚然
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
砚然
5412a70627 create the wsServer based on webserver, no need for a seperate wsPort 2018-01-28 13:51:36 +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
a925cbed55 fix the issue about duplicated cert serial number #70 2016-06-06 00:05:55 +08:00
OttoMao
c4d8002701 Merge branch 'master' of https://github.com/wuchangming/anyproxy into wuchangming-master 2016-05-26 17:47:51 +08:00
jiangxiang89
0f7f0608cc 修复windows下 home路径不正确的问题 2016-05-26 16:54:06 +08:00
wuchangming
3ac3cec079 modify notBefore
证书时间戳notBefore
的时间最好设置早点。当用户使用其它设备安装ca证书连接代理时,可能由于该设备的时间设置比生成证书的设备慢,会导致系统判定证书还未生效。
2016-05-26 14:27:51 +08:00
OttoMao
5fb212d8d4 Merge branch 'remove_cors' 2016-05-02 15:44:28 +08:00
OttoMao
56961301c6 remove some extentions for certificate 2016-05-02 14:23:01 +08:00
OttoMao
e0ecd528cb invoke node-forge to generator certs 2016-05-02 00:18:35 +08:00
OttoMao
a174f36f42 remove cors config in default rule 2016-04-27 19:52:44 +08:00
OttoMao
b76610576a optimized tips for global proxy 2016-04-05 22:09:07 +08:00
沈辰
c3e67ebcb1 enable global proxy depends on options.type 2016-04-05 20:04:11 +08:00
沈辰
bdca110890 tweak 2016-04-04 22:52:31 +08:00
沈辰
052a75f120 update comments 2016-04-04 22:42:20 +08:00
沈辰
a467f23ab0 disable global proxy when user exit anyproxy by pressing ctrl/cmd + c 2016-04-03 02:10:48 +08:00
沈辰
5b52859900 add global proxy 2016-04-03 02:04:27 +08:00
OttoMao
225edd2317 bugfix for web gui 2015-11-19 14:03:40 +08:00
OttoMao
cfc817cb1f move response data from memory to local cache file 2015-10-24 23:37:43 +08:00
OttoMao
31daeebdd5 bugfix for #36, ready to release v3.7.7 2015-10-02 14:06:18 +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
130610fed6 update changelog, do some tiny adjustment 2015-08-12 20:05:47 +08:00
OttoMao
531f4d0421 bugfix for records sorting 2015-08-12 19:26:29 +08:00
OttoMao
ae070c90ab optimize top btn 2015-08-07 14:27:57 +08:00
OttoMao
39ae0f4648 optimize recorder 2015-08-06 23:13:17 +08:00
OttoMao
edaf638f3c save map config to local file 2015-08-06 17:26:22 +08:00
OttoMao
13b0db906a bugfix for issue #29 2015-07-31 14:00:34 +08:00
OttoMao
6975138c96 fix a bug about deflate compression 2015-07-28 21:53:42 +08:00
OttoMao
b31adf1df3 bugfix for the rule description in web ui 2015-07-20 11:19:36 +08:00
OttoMao
0868ee248c bugfix for map local in windows 2015-07-20 10:36:44 +08:00