Socket
Socket
Sign inDemoInstall

proxying-agent

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.1.5

LICENSE.md

8

lib/proxying-agent.js

@@ -119,6 +119,6 @@ 'use strict';

}
var tlsOptions = {
socket: response.socket,
servername: host
}
var tlsOptions = this.options.tlsOptions || {};
tlsOptions.socket = response.socket;
tlsOptions.servername = host;
// upgrade the socket to TLS

@@ -125,0 +125,0 @@ var tlsSocket = tls.connect(tlsOptions, function() {

{
"name": "proxying-agent",
"version": "0.1.4",
"version": "0.1.5",
"description": "Node HTTP/HTTPS Forward Proxy Agent",

@@ -5,0 +5,0 @@ "keywords": [

@@ -27,6 +27,7 @@ # Node HTTP/HTTPS Forward Proxy Agent

This should usually be ``true`` only if the target server protocol is ``https``
* ``tlsOptions`` - TLS connection options to use when the target server protocol is ``https``. See http://nodejs.org/api/tls.html#tls_tls_connect_options_callback for a list of available options.
* ``authType`` - Proxy authentication type. Possible values are ``basic`` and ``ntlm`` (default is ``basic``).
* ``ntlm`` - (beta) applicable only if ``authType`` is ``ntlm``. Supported fields:
* ``domain`` (required) - the NTLM domain
* ``hostname`` (optional) - the local machine hostname
* ``workstation`` (optional) - the local machine hostname (os.hostname() is not specified)

@@ -112,1 +113,5 @@ ### HTTP Server

* NTLM Authentication Scheme for HTTP - http://www.innovation.ch/personal/ronald/ntlm.html
## Copyright and License
Copyright 2013-2014 Capriza. Code released under the [MIT license](LICENSE.md)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc