You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!scheme.equalsIgnoreCase("http") && !scheme.equalsIgnoreCase("https")) {
259
259
thrownewIllegalArgumentException("The request scheme is invalid. Only http or https are valid schemes. The X-Forwarded-Proto header has a value of [" + getHeader(Headers.XForwardedProto) + "], this is likely an issue in your proxy configuration.");
// Note that I am only tracing this, because this exception is mostly expected. Use closeSocketOnError so we can attempt to write a response.
238
-
logger.trace("[{}] Closing socket with status [{}]. An unhandled [{}] exception was taken. Reason [{}].", Thread.currentThread().threadId(), e.getStatus(), e.getClass().getSimpleName(), e.getMessage());
237
+
// These are expected, but are things the client may want to know about. Use closeSocketOnError so we can attempt to write a response.
238
+
logger.debug("[{}] Closing socket with status [{}]. An unhandled [{}] exception was taken. Reason [{}].", Thread.currentThread().threadId(), e.getStatus(), e.getClass().getSimpleName(), e.getMessage());
239
239
closeSocketOnError(response, e.getStatus());
240
240
} catch (TooManyBytesToDrainExceptione) {
241
241
// The request handler did not read the entire InputStream, we tried to drain it but there were more bytes remaining than the configured maximum.
0 commit comments