isaacs/npm — Issue #2026: Not issuing CONNECT to a HTTPS proxy
Author: david111
Created: 2012-01-12 18:18:05+00:00
State: open

Hi, we have a working HTTP/HTTPS Squid 2.6 proxy. It appears (through a tcpdump) that when npm is attempting to contact the registry over https, it doesn't connect to the proxy using the CONNECT method, sending instead directly encrypted content, thus failing to open the connection, while our proxy only works this way (as described in http://wiki.squid-cache.org/Features/HTTPS, using eg. curl as https client)

Currently we use the http registry as a workaround, but how to get npm to use CONNECT?