monkeyWie / proxyee

HTTP proxy server,support HTTPS&websocket.MITM impl,intercept and tamper HTTPS traffic.
MIT License
1.52k stars 572 forks source link

开启SSL解析,网络连接一直pending,关闭SSL解析则正常 #224

Closed cnsky2016 closed 2 years ago

cnsky2016 commented 2 years ago
cnsky2016 commented 2 years ago

之前一段时间是可以的,最近一段时间才出现该问题

monkeyWie commented 2 years ago

有异常日志吗

cnsky2016 commented 2 years ago

无异常日志

cnsky2016 commented 2 years ago

看网站证书,好像最近更新过

cnsky2016 commented 2 years ago

测试方式:启动proxyee,浏览器配置代理访问,浏览器开发者模式下,网络连接一直pending

monkeyWie commented 2 years ago

试了下确实不行,等我找找原因吧

monkeyWie commented 2 years ago

可以了,是响应里的header太大了,升级到1.6.7之后配置下max header size就行:

HttpProxyServerConfig config = new HttpProxyServerConfig();
config.setMaxHeaderSize(8192 * 2);
cnsky2016 commented 2 years ago

确认可以了,感谢。大佬666

cnsky2016 commented 2 years ago

问题解决,关闭