You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/10/10 23:17:15 UTC
[GitHub] heyile commented on a change in pull request #947: [SCB-837] make
http2 production ready
heyile commented on a change in pull request #947: [SCB-837] make http2 production ready
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/947#discussion_r224271531
##########
File path: foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/metrics/DefaultHttpClientMetrics.java
##########
@@ -77,8 +83,13 @@ public void dequeueRequest(DefaultClientEndpointMetric endpointMetric, Object ta
@Override
public void endpointConnected(DefaultClientEndpointMetric endpointMetric, DefaultHttpSocketMetric socketMetric) {
- socketMetric.setEndpointMetric(endpointMetric);
- endpointMetric.onConnect();
+ //only http1.1 will invoke this method, just make a check
+ if (endpointMetric != null) {
Review comment:
ok, I see
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services