@grpc/grpc-js
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -215,2 +215,6 @@ "use strict"; | ||
else { | ||
trace('Successfully established a plaintext connection to ' + | ||
options.path + | ||
' through proxy ' + | ||
proxyAddressString); | ||
resolve({ | ||
@@ -217,0 +221,0 @@ socket, |
@@ -221,2 +221,8 @@ "use strict"; | ||
var _a, _b, _c; | ||
if (proxyConnectionResult.realTarget) { | ||
trace(this.subchannelAddressString + ' creating HTTP/2 session through proxy to ' + proxyConnectionResult.realTarget); | ||
} | ||
else { | ||
trace(this.subchannelAddressString + ' creating HTTP/2 session'); | ||
} | ||
const targetAuthority = resolver_1.getDefaultAuthority((_a = proxyConnectionResult.realTarget) !== null && _a !== void 0 ? _a : this.channelTarget); | ||
@@ -305,2 +311,3 @@ let connectionOptions = this.credentials._getConnectionOptions() || {}; | ||
if (this.session === session) { | ||
trace(this.subchannelAddressString + ' connection closed'); | ||
this.transitionToState([channel_1.ConnectivityState.CONNECTING], channel_1.ConnectivityState.TRANSIENT_FAILURE); | ||
@@ -307,0 +314,0 @@ /* Transitioning directly to IDLE here should be OK because we are not |
{ | ||
"name": "@grpc/grpc-js", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "gRPC Library for Node - pure JS implementation", | ||
@@ -5,0 +5,0 @@ "homepage": "https://grpc.io/", |
@@ -257,2 +257,8 @@ /* | ||
} else { | ||
trace( | ||
'Successfully established a plaintext connection to ' + | ||
options.path + | ||
' through proxy ' + | ||
proxyAddressString | ||
); | ||
resolve({ | ||
@@ -259,0 +265,0 @@ socket, |
@@ -306,2 +306,7 @@ /* | ||
private createSession(proxyConnectionResult: ProxyConnectionResult) { | ||
if (proxyConnectionResult.realTarget) { | ||
trace(this.subchannelAddressString + ' creating HTTP/2 session through proxy to ' + proxyConnectionResult.realTarget); | ||
} else { | ||
trace(this.subchannelAddressString + ' creating HTTP/2 session'); | ||
} | ||
const targetAuthority = getDefaultAuthority( | ||
@@ -407,2 +412,3 @@ proxyConnectionResult.realTarget ?? this.channelTarget | ||
if (this.session === session) { | ||
trace(this.subchannelAddressString + ' connection closed'); | ||
this.transitionToState( | ||
@@ -409,0 +415,0 @@ [ConnectivityState.CONNECTING], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
981109
20289