liubao68 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_r208783189
##########
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:
How about client established multi connections to this server?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services