Skip to content

Commit

Permalink
agent pool
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect committed Jan 24, 2024
1 parent 0ea5f0f commit 8211ddc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/context/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,6 @@ class ZitiContext extends EventEmitter {
*
*/
async acquireTLSHandshakeLock(fd) {
debugger;
this.logger.trace(`ZitiContext.acquireTLSHandshakeLock() [${fd}] trying to acquire _tlsHandshakeLock`);
this._tlsHandshakeLockRelease = await this._tlsHandshakeLock.acquire();
this._tlsHandshakeLockFD = fd;
Expand Down
8 changes: 0 additions & 8 deletions src/http/ziti-inner-tls-socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ class ZitiInnerTLSSocket extends EventEmitter {
*/
async create() {

// await this._zitiContext.acquireTLSHandshakeLock(this.getWASMFD());

this._wasmInstance = await this._zitiContext.getWASMInstance();

this._sslContext = await this._zitiContext.ssl_CTX_new( this._wasmInstance );
Expand Down Expand Up @@ -191,12 +189,6 @@ class ZitiInnerTLSSocket extends EventEmitter {
throw error;
});

// if (success) {
// this._zitiContext.logger.trace(`ZitiInnerTLSSocket.create() wasmFD[${this.getWASMFD()}] TLS handshake completed pause start`);
// await this._zitiContext.delay(500); // allow the 'SSL negotiation finished successfully' work to complete
// this._zitiContext.logger.trace(`ZitiInnerTLSSocket.create() wasmFD[${this.getWASMFD()}] TLS handshake completed pause end`);
// this._zitiContext.releaseTLSHandshakeLock(this.getWASMFD());
// }
}


Expand Down

0 comments on commit 8211ddc

Please sign in to comment.