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

Method receiveReset

java/org/apache/coyote/http2/Stream.java:216–226  ·  view source on GitHub ↗
(long errorCode)

Source from the content-addressed store, hash-verified

214
215
216 final void receiveReset(long errorCode) {
217 if (log.isTraceEnabled()) {
218 log.trace(
219 sm.getString("stream.reset.receive", getConnectionId(), getIdAsString(), Long.toString(errorCode)));
220 }
221 // Set the new state first since read and write both check this
222 state.receivedReset();
223 // Reads wait internally so need to call a method to break the wait()
224 inputBuffer.receiveReset();
225 cancelAllocationRequests();
226 }
227
228
229 final void cancelAllocationRequests() {

Callers 2

closeMethod · 0.45
resetMethod · 0.45

Calls 8

getConnectionIdMethod · 0.95
getIdAsStringMethod · 0.80
receivedResetMethod · 0.80
isTraceEnabledMethod · 0.65
traceMethod · 0.65
getStringMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected