Skip to content

Commit

Permalink
found one place where the UNACK was calculated wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-valliere committed Feb 20, 2024
1 parent ec93bb7 commit d393ad7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ synchronized protected void flush_start(NextFilter next) throws SSLException {

WriteRequest current = null;

while ((mAckQueue.size() < MAX_UNACK_MESSAGES) && (current = mEncodeQueue.poll()) != null) {
while ((mWriteQueue.size() + mAckQueue.size() < MAX_UNACK_MESSAGES) && (current = mEncodeQueue.poll()) != null) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("{} flush() - {}", toString(), current);
}
Expand Down

0 comments on commit d393ad7

Please sign in to comment.