Skip to content

Commit

Permalink
FISH-464 Added logging for pruning streams
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatej committed Jan 26, 2021
1 parent 5f574cb commit 9ccaef8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ private GoAwayFrame setGoAwayLocally(final ErrorCode errorCode,

// Must be locked by sessionLock
private void pruneStreams() {
LOGGER.log(Level.FINE, "pruneStreams()");
// close streams that rank above the last stream ID specified by the GOAWAY frame.
// Allow other streams to continue processing. Once the concurrent stream count reaches zero,
// the session will be closed.
Expand Down Expand Up @@ -1190,6 +1191,7 @@ FilterChain getHttp2SessionChain() {
* Called from {@link Http2Stream} once stream is completely closed.
*/
void deregisterStream() {
LOGGER.fine("deregisterStream()");
final boolean isCloseSession;
synchronized (sessionLock) {
decStreamCount();
Expand Down

0 comments on commit 9ccaef8

Please sign in to comment.