Skip to content

Commit

Permalink
fix bug where overlapping encoder rejects in a back-pressure scenario…
Browse files Browse the repository at this point in the history
… could cause the last one to be written.
  • Loading branch information
RichardWarburton committed Mar 14, 2022
1 parent 6d84f6f commit 7cb1a3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ abstract class GatewaySessions
protected final SequenceNumberIndexReader sentSequenceNumberIndex;
protected final SequenceNumberIndexReader receivedSequenceNumberIndex;
protected ErrorHandler errorHandler;
protected ByteBuffer rejectEncodeBuffer;
protected MutableAsciiBuffer rejectAsciiBuffer;

GatewaySessions(
final EpochClock epochClock,
Expand Down Expand Up @@ -276,6 +274,8 @@ protected abstract class PendingAcceptorLogon implements AbstractAuthenticationP
protected long requiredPosition = NO_REQUIRED_POSITION;
protected long lingerTimeoutInMs;
protected long lingerExpiryTimeInMs;
protected ByteBuffer rejectEncodeBuffer;
protected MutableAsciiBuffer rejectAsciiBuffer;

PendingAcceptorLogon(
final GatewaySession gatewaySession,
Expand Down

0 comments on commit 7cb1a3e

Please sign in to comment.