Possible fix for the canceled download log spam problem.
The error with AJP messages comes up when a user closes connection on an ongoing GET request. Since this is not a problem for us (no modifications take place), we can just accept that it happened an go on with our lifes. git-svn-id: https://svn.libreccm.org/ccm/trunk@4794 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
e4f0ea268b
commit
9e8e20c322
|
|
@ -282,8 +282,19 @@ public abstract class BaseServlet extends HttpServlet {
|
|||
" with servlet " + getServletConfig().getServletName() +
|
||||
" (class: " + getClass().getName() + ")");
|
||||
}
|
||||
|
||||
try {
|
||||
internalService(sreq, sresp);
|
||||
} catch(IOException e) {
|
||||
if (e.getMessage().contains("Failed to send AJP message")) {
|
||||
if (s_log.isDebugEnabled()) {
|
||||
s_log.info("FAILED: Serving GET request path " + sreq.getPathInfo() +
|
||||
" with servlet " + getServletConfig().getServletName() +
|
||||
" (class: " + getClass().getName() + ") CAUSE: Failed to send AJP message");
|
||||
}
|
||||
} else {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue