avwo / whistle

HTTP, HTTP2, HTTPS, Websocket debugging proxy
https://wproxy.org/
MIT License
13.99k stars 1.08k forks source link

TypeError: Cannot convert undefined or null to object crash #1098

Closed microstudent closed 2 weeks ago

microstudent commented 2 weeks ago

最新的whistle版本,运行一段时间后会间歇性crash,用w2 run看到崩溃日志如下:

From: whistle@2.9.73
Node: v20.4.0
Host: C02G42WBMD6V
Date: 2024/6/15 19:23:35
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at ClientHttp2Stream.<anonymous> (/usr/local/lib/node_modules/whistle/lib/inspectors/res.js:1297:38)
    at ClientHttp2Stream.emit (node:events:524:35)
    at endReadableNT (node:internal/streams/readable:1378:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
avwo commented 2 weeks ago

上个版本引入的 bug,已修复,重现安装 Whistle 并重启