MCPcopy Index your code
hub / github.com/apache/tomcat / checkSwallowInput

Method checkSwallowInput

java/org/apache/catalina/connector/Request.java:2490–2495  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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 {

Callers 4

finishRequestMethod · 0.95
parsePartsMethod · 0.95
doParseParametersMethod · 0.95
readChunkedPostBodyMethod · 0.95

Calls 3

getContextMethod · 0.95
actionMethod · 0.65

Tested by

no test coverage detected