http request with a keep-alive agent leads to an assertion failed error #13545
Labels
async_hooks
Issues and PRs related to the async hooks subsystem.
duplicate
Issues and PRs that are duplicates of other issues or PRs.
http
Issues or PRs related to the http subsystem.
I have an express application that uses http-proxy module. The proxy gets initialized with a custom http agent:
http-proxy opens downstream with the standard http module, eg.:
See: https://github.com/nodejitsu/node-http-proxy/blob/master/lib/http-proxy/passes/web-incoming.js#L119
So there isn't any black magic, just standard node http with keep-alive configured. I worked with previous node versions but with 8.0.0 I get:
Error and of course node crashes.
https://github.com/nodejs/node/blob/master/src/env-inl.h#L131
Since those variables has recently been changed to double, maybe there is an overflow when keep alive gets enabled, that's why we get a failed positive check there.
The text was updated successfully, but these errors were encountered: