Closed youginil closed 1 year ago
Looks like Node's built-in HTTP server will just silently drop those requests. I suppose we should do the same here.
The exception cannot be caught, and it affects user program, I think ignoring it is a decent solution.
Hey, have you been able to find a way to catch the error?
@realbillwong No
@realbillwong Maybe this will helps you. https://github.com/nodejs/node/issues/27711#issuecomment-494049324
Should be fixed in https-proxy-agent@6.2.1
.
https://github.com/TooTallNate/proxy-agents/blob/63adbcefdb4783cc67c0eb90200886b4064e8639/packages/https-proxy-agent/src/parse-proxy-response.ts#L74-L79
The exception cannot be caught, and it affects user program, I think ignoring it is a decent solution.