Skip to content

Commit 04b3561

Browse files
authored
Update proxy.js
1 parent 61106d8 commit 04b3561

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

proxy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ function Pool(poolData){
192192
this.sendId = 1;
193193
this.sendLog = {};
194194
this.poolJobs = {};
195+
this.socket = null;
195196
this.allowSelfSignedSSL = true;
196197
// Partial checks for people whom havn't upgraded yet
197198
if (poolData.hasOwnProperty('allowSelfSignedSSL')){
@@ -204,6 +205,7 @@ function Pool(poolData){
204205
cluster.workers[worker].send({type: 'disablePool', pool: this.hostname});
205206
}
206207
}
208+
this.socket = null;
207209
this.active = false;
208210
if (this.ssl){
209211
this.socket = tls.connect(this.port, this.hostname, {rejectUnauthorized: this.allowSelfSignedSSL}).on('connect', ()=>{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy