vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
15.77k stars 2.94k forks source link

[Bug] 某个网站cookies长度影响能否访问 #3941

Open huajideshutiao opened 4 days ago

huajideshutiao commented 4 days ago

Verify Steps

OpenClash Version

v0.46.016-beta

Bug on Environment

Official OpenWrt

OpenWrt Version

OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.073.29889-cd7e519

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

使用我自己写的配置文件,会导致程序无法在晚上访问某个网站。 抓包之后发现可能与cookies大小有关,将请求缩减到1.8kB左右就能正常收到响应(也可能是与cookies中的某一项有关,但是网站应该不验证cookies的)。 这个网站我是直接用match进行处理了,直接用浏览器(无cookies)也能正常打开。

To Reproduce

使用我自己的配置文件并全部切换为direct就有可能出现这个问题,使用机场的配置文件就正常。

OpenClash Log

放在下面了

OpenClash Config

No response

Expected Behavior

能像没打开openclash一样正常连接

Additional Context

openclash_debug.log