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/08/10 01:22:09 UTC

[GitHub] zhengyangyong commented on a change in pull request #862: [SCB-690] add check if connection is still connected before execute invocation

zhengyangyong commented on a change in pull request #862: [SCB-690] add check if connection is still connected before execute invocation
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/862#discussion_r209123004
 
 

 ##########
 File path: transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/RestServerVerticle.java
 ##########
 @@ -95,17 +99,21 @@ public void start(Future<Void> startFuture) throws Exception {
       HttpServer httpServer = createHttpServer();
       httpServer.requestHandler(mainRouter::accept);
       httpServer.connectionHandler(connection -> {
+        String address = connection.remoteAddress().toString();
 
 Review comment:
   I think the port in remote address is different

----------------------------------------------------------------
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