Check the configuration for aborted uploads and if configured to do so, disable the swallowing of any remaining input and close the connection once the response has been written.
()
| 2488 | * input and close the connection once the response has been written. |
| 2489 | */ |
| 2490 | protected void checkSwallowInput() { |
| 2491 | Context context = getContext(); |
| 2492 | if (context != null && !context.getSwallowAbortedUploads()) { |
| 2493 | coyoteRequest.action(ActionCode.DISABLE_SWALLOW_INPUT, null); |
| 2494 | } |
| 2495 | } |
| 2496 | |
| 2497 | @Override |
| 2498 | public boolean authenticate(HttpServletResponse response) throws IOException, ServletException { |
no test coverage detected