sohami commented on a change in pull request #1681: DRILL-7051: Upgrade jetty
URL: https://github.com/apache/drill/pull/1681#discussion_r262812856
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/auth/DrillSpnegoAuthenticator.java
##########
@@ -152,7 +153,7 @@ private Authentication authenticateSession(ServletRequest
request, ServletRespon
}
response.setContentLength(0);
- final HttpChannel channel = HttpChannel.getCurrentHttpChannel();
+ final HttpChannel channel =
HttpConnection.getCurrentConnection().getHttpChannel();
final Response base_response = channel.getResponse();
final Request base_request = channel.getRequest();
Review comment:
Please update this as below:
```
final Request base_request = Request.getBaseRequest(req);
final Response base_response = base_request.getResponse();
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services