> From: Owens, Stephen (ITD) [mailto:[email protected]]
> Subject: Question on Http11AprProcessor Error parsing HTTP request header
> error messages
> 2015-03-05 13:41:20,977 [http-apr-50881-exec-6] DEBUG
> org.apache.coyote.http11.Http11AprProcessor-
> Error parsing HTTP request header
> java.io.EOFException: Unexpected EOF read on the socket
> at
> org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:141)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1000)
> Are the DEBUG org.apache.coyote.http11.Http11AprProcessor- Error parsing HTTP
> request header signs
> of a problem or just messages popping up because the log4j level is DEBUG?
Just because of the log level. The relevant code in AbstractHttp11Processor is
this:
} catch (IOException e) {
if (getLog().isDebugEnabled()) {
getLog().debug(
sm.getString("http11processor.header.parse"), e);
}
setErrorState(ErrorState.CLOSE_NOW, e);
break;
}
If the log level were not DEBUG, the EOF would have been silently swallowed.
It's unfortunate that the message says "Unexpected EOF" since in this case it's
normal.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]