Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/eg-socks5-proxy-server

Package Overview
Dependencies
Maintainers
30
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/eg-socks5-proxy-server - npm Package Compare versions

Comparing version 0.2.0-debug to 0.2.0-debug-2

2

package.json
{
"name": "@applitools/eg-socks5-proxy-server",
"version": "0.2.0-debug",
"version": "0.2.0-debug-2",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -18,2 +18,3 @@ module.exports = {

REMOTE_PROXY_DATA_TIMEOUT: 'remote-proxy-data-timeout',
REMOTE_PROXY_ORIGIN_DATA_TIMEOUT: 'remote-proxy-origin-data-timeout',

@@ -20,0 +21,0 @@ ORIGIN_SOCKET_ERROR: 'orgin-socket-error',

@@ -44,2 +44,4 @@ const net = require('net')

const dataTimeoutId = setTimeout(() => proxyServer.onDataTimeout(), 5000)
const dataTimeoutId2 = setTimeout(() => proxyServer.onOriginDataTimeout(), 5000)
originalSocket.once('data', () => clearTimeout(dataTimeoutId2))
destination.once('data', () => clearTimeout(dataTimeoutId))

@@ -46,0 +48,0 @@

@@ -309,2 +309,9 @@ const {

proxyServer.onOriginDataTimeout = () => {
self.server.emit(EVENTS.REMOTE_PROXY_ORIGIN_DATA_TIMEOUT, {
originInfo,
destinationInfo,
proxyInfo,
})
destination = executeRequestThroughRemoteProxy({

@@ -311,0 +318,0 @@ originalSocket: socket,

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