shadyzoz
8f3e54b1c5
fix: move cache to os.tmpdir() ( #562 )
...
* fix: move cache to os.tmpdir()
* revert snapshot
2020-06-18 23:25:45 +08:00
xiaofeng.mxf
5a1af37614
fix https proxy server for ip host
2020-01-23 11:02:23 +08:00
Otto Mao
28108d4c78
introduce jest and travis-ci ( #541 )
...
introduce jest and travis-ci
2020-01-21 10:59:14 +08:00
silentcloud
e003c887fa
fix: default wss port will cause service close
2020-01-01 19:36:05 +08:00
xiaofeng.mxf
68188c9cd6
fix #419 #291 #258 #206
2020-01-01 19:32:30 +08:00
xiaofeng.mxf
8951fb68ef
update eslint config
2020-01-01 16:45:58 +08:00
xiaofeng.mxf
d9f2e7528c
fix #508
2020-01-01 16:18:54 +08:00
xiaofeng.mxf
01e0b01949
Merge branch 'download_cer' of git://github.com/guox191/anyproxy into guox191-download_cer
2019-03-26 20:40:33 +08:00
guox191
7f02664079
add CA download page
2019-03-26 14:47:37 +08:00
guox191
67151c071b
support select CA file extension
2019-03-25 22:58:44 +08:00
xiaofeng.mxf
f900904a44
Merge branch 'master' of git://github.com/guox191/anyproxy into guox191-master
2019-03-25 14:00:59 +08:00
guox191
3a310b0c0e
test deflate content
2019-03-23 14:56:02 +08:00
guox191
c040ae4578
add test cases for compressed response
2019-03-21 18:18:20 +08:00
yuanqin.wyq
9a9c076554
fix: prevent path crossing #391
...
fix: compatibility with node version
2019-03-18 22:22:29 +08:00
guox191
59e05850fa
fix #468
2019-03-13 21:26:40 +08:00
xiaofeng.mxf
9682926e67
fix #427
2019-02-26 23:26:50 +08:00
砚然
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