node-http-mitm-proxy
node-http-mitm-proxy copied to clipboard
httpsServer is not bound to options.host
Hi, according to https://github.com/joeferner/node-http-mitm-proxy/blob/f79fc04b51eebfe3c0156f8c24a98c3bb935142b/lib/proxy.js#L72 http-mitm-proxy allows to bind to host via options.host settings.
This directive is not followed by httpsServer created before requesting https connections, as well. https://github.com/joeferner/node-http-mitm-proxy/blob/f79fc04b51eebfe3c0156f8c24a98c3bb935142b/lib/proxy.js#L110