New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dynamic-reverse-proxy

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-reverse-proxy - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

lib/dynamicProxy.js

@@ -116,3 +116,3 @@ var httpProxy = require("http-proxy"),

if (!host) {
this.emit("proxyError", new Error("NOT_FOUND"), req, res);
this.emit("proxyError", new Error("NOT_FOUND"), null, req, res);

@@ -119,0 +119,0 @@ if (res.writable) {

{
"author": "Andrew Dunkman <andrew@dunkman.org>",
"name": "dynamic-reverse-proxy",
"version": "0.4.0",
"version": "0.4.1",
"repository": {

@@ -6,0 +6,0 @@ "url": "git://github.com/softek/dynamic-reverse-proxy.git"

@@ -67,4 +67,4 @@ # dynamic-reverse-proxy

- `proxyError` is passed `(error, request, response)` and is emitted when:
- A request is sent to a known host but the request could not be proxied (likely the host was unreachable). The host is availabe at `request.host`. If no handler ends the response back to the original client, `500 Internal Server Error` will be returned.
- `proxyError` is passed `(error, host, request, response)` and is emitted when:
- A request is sent to a known host but the request could not be proxied (likely the host was unreachable). If no handler ends the response back to the original client, `500 Internal Server Error` will be returned.
- No host could be found to handle the request. In this case, the `error` will be `NOT_FOUND`. If no handler ends the response back to the original client, `501 Not Implemented` will be returned.

@@ -71,0 +71,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc