vkagamlyk commented on code in PR #2365:
URL: https://github.com/apache/tinkerpop/pull/2365#discussion_r1404621886


##########
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpBasicAuthorizationHandler.java:
##########
@@ -61,13 +61,14 @@ public void channelRead(final ChannelHandlerContext ctx, 
final Object msg) {
         if (msg instanceof FullHttpMessage){
             final FullHttpMessage request = (FullHttpMessage) msg;
             final boolean keepAlive = HttpUtil.isKeepAlive(request);
+            final RequestMessage requestMessage = 
HttpHandlerUtil.getRequestMessageFromHttpRequest((FullHttpRequest) request);

Review Comment:
   better to put inside try/catch



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to