We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7899fe7 commit 1f6a075Copy full SHA for 1f6a075
1 file changed
src/HttpsProxySocket.ts
@@ -44,13 +44,6 @@ export class HttpsProxySocket {
44
debug('creating new HttpsProxyAgent instance: %o', sanitizedOptions);
45
46
this.proxyConfig = proxyConfig || {};
47
-
48
- // ALPN is supported by Node.js >= v5.
49
- // attempt to negotiate http/1.1 for proxy servers that support http/2
50
- if (!('ALPNProtocols' in sanitizedOptions)) {
51
- sanitizedOptions.ALPNProtocols = ['http 1.1'];
52
- }
53
54
this.proxy = sanitizedOptions;
55
}
56
0 commit comments