ADB socket泄露导致Windows缓冲区空间不足
问题描述
该应用在运行过程中会导致 ADB socket 泄露。在开启 ADB 抓包或使用 Frida 进行长时间流量拦截后,Windows 系统会出现以下报错:
[WinError 10055] 由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作。 该错误表明系统的 socket 资源已被耗尽,影响应用的正常运行。
影响范围
- 长时间执行 ADB 抓包,ablout 12h+
- 使用 Frida 进行流量拦截
- 导致无法创建新的网络连接,影响其他网络功能
Hi @EucalyZ. Can you confirm you're using the latest version of HTTP Toolkit server? You can check this by hovering your mouse over the logo in the top left in the app - it should show server v1.23.0 if it's up to date. If not, it should update automatically in the background, but you can download the latest version from httptoolkit.com instead if that's not working.
I have heard a previous report about this, but I didn't hear any more info and it seemed to be resolved by a fix a little while ago, so that was closed. If updating doesn't fix this for you, can you please answer the questions here: https://github.com/httptoolkit/httptoolkit/issues/764#issuecomment-3020230632.