apify / proxy-chain

Node.js implementation of a proxy server (think Squid) with support for SSL, authentication and upstream proxy chaining.

Home Page:https://www.npmjs.com/package/proxy-chain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error at TCP.onStreamRead (internal/stream_base_commons.js:111:27)

scottk opened this issue · comments

Hi,

I'm consistently getting this error sometime after "target socket assigned" and I have no idea why the error handling isn't catching it. This is via CONNECT through the handler base/handler chain workflow

I found the issue, there's a socket in prepareRequestHandling that isn't properly error handled in a very tiny gap of time.

Great that you were able to fix it!