Skip to content

Commit

Permalink
Issue eclipse-ee4j#2016 Added logging for pruning streams
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatej committed Nov 19, 2020
1 parent d1bc9f4 commit 1d495fb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ private GoAwayFrame setGoAwayLocally(final ErrorCode errorCode, final String det

// 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 @@ -1060,6 +1061,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 1d495fb

Please sign in to comment.