-
Notifications
You must be signed in to change notification settings - Fork 4.6k
HTTP inbound: Directly forward plain HTTP 1xx response header #4547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
HTTP proxy有两个模式 CONNECT方法代理4层流量 客户端还可以直接发送正常的GET PUT之类的方法让它代理7层 |
HTTP 代理客户端,通常除了 HTTPS 会使用 |
不到 56 字节时是不是 err == nil?会不会导致后面的代码 panic @Fangliding |
不到56字节是bufio.ErrBufferFull |
|
@xqzr |
|
我之前写过 其实被我去掉了 想让strings.Cut返回一个1开头的"状态码"最短也得 |
@Fangliding v2fly 的 QUIC sniffer 可能修好了,搬一下,我上次搬的时候发现多了个 err 类型,可以要 |
话说这部分代码是否有必要先判断一下是否 CONNECT? |
没事了,我刚看到这个函数叫 handlePlainHTTP,而 handleConnect 是另一个函数 |
fix #4545
将所有1xx response读取后直接转发给客户端 不再给其余部分处理