alibaba / alibaba/anyproxy

在创建的时候 wsIntercept 设置成 false 但是在具体拦截列表中还有websocket 请求

Open
#484 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Plese fill the template when you reporting a new issue, thanks!

const proxyServer = new AnyProxy.ProxyServer({
port: 8001,
rule: require('./rule'),
webInterface: {
enable: true,
webPort: 8002
},
forceProxyHttps: false,
wsIntercept: false,
silent: false,
dangerouslyIgnoreUnauthorized: false
})
在创建的时候 wsIntercept 设置成 false
![image](https://user-images.githubusercontent.com/20510333/55059082-ff550300-50a8-11e9-87fe-dad46d9b67b9.png)
但是在具体拦截列表中还有websocket 请求

#### Which platform are you running AnyProxy

Windows

#### The version of the AnyProxy

4.x

#### Your expected behavior of AnyProxy

要怎么设置 才不拦截websocket 又要代理https

#### The actual behavior of AnyProxy

#### The log of the error

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the AnyProxy.ProxyServer entry point and the wsIntercept option shown in the issue, then reproduce the configuration on Windows with AnyProxy 4.x while HTTPS proxying is enabled. Confirm whether websocket requests still appear in the interception list; done means HTTPS remains proxied without websocket requests being intercepted when wsIntercept is false.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.