Hysteria: prevent crash on cnc.Connection#6320
Conversation
|
有任何通向这个panic的实质路径吗? |
This panic occasionally occurs on the client side and has been observed in real-world user crash reports. Since it can destabilize the client and lead to crashes, it’s not merely a theoretical issue. |
|
panic抛出的栈呢 |
this will triggered when Hysteria is used with dialerProxy pointing to a SOCKS outbound. The stack trace points to dial() during the outbound dial path. |
|
当初没给 udphop 配链式是故意的,你要是想配就只加那一部分,panic 部分不要改动,因为不止这一处 |
|
唉,真要配链式结构又要调整,@hossinasaadi 我将直接push到你的branch,没问题吧? |
Thanks for checking. Sure, no problem. Feel free to push |
|
@LjhAUMEM I’ve fixed the chaining issue, although I’m not entirely sure whether it could affect other parts of the codebase. It works correctly in my testing, so it might be helpful. |
链式没问题啊,你修啥,还有一些不必要的 rename 一些变量... 当初没适配链式是因为使用场景有限,以及 sysconn 的问题,你今天提了加就加吧,等我这边提交 |
Thanks, I’ve reverted the unnecessary renamings. I fixed the Hysteria → SOCKS5 chaining issue when using either dialerProxy or proxySettings. This was the scenario that was triggering the panic I encountered. |
|
@RPRX 与这个 pr 无关,udpHop 可以加 |
No description provided.