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")) {
270
270
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.
239
-
logger.trace("[{}] Closing socket with status [{}]. An unhandled [{}] exception was taken. Reason [{}].", Thread.currentThread().threadId(), e.getStatus(), e.getClass().getSimpleName(), e.getMessage());
238
+
// These are expected, but are things the client may want to know about. Use closeSocketOnError so we can attempt to write a response.
239
+
logger.debug("[{}] Closing socket with status [{}]. An unhandled [{}] exception was taken. Reason [{}].", Thread.currentThread().threadId(), e.getStatus(), e.getClass().getSimpleName(), e.getMessage());
240
240
closeSocketOnError(response, e.getStatus());
241
241
} catch (TooManyBytesToDrainExceptione) {
242
242
// 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