Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Comment thread
the-thing marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -760,19 +760,19 @@ synchronized protected void store_pending_error(SSLException sslException) {
}

protected void forward_received(NextFilter next) {
//synchronized (mReceiveQueue) {
synchronized (mReceiveQueue) {
IoBuffer x;
while ((x = mReceiveQueue.poll()) != null) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("{} forward_received() - received {}", toString(), x);
}
next.messageReceived(mSession, x);
}
//}
}
}

protected void forward_writes(NextFilter next) {
//synchronized (mWriteQueue) {
synchronized (mWriteQueue) {
EncryptedWriteRequest x;
while ((x = mWriteQueue.poll()) != null) {
if (LOGGER.isDebugEnabled()) {
Expand All @@ -781,19 +781,19 @@ protected void forward_writes(NextFilter next) {
mAckQueue.add(x);
next.filterWrite(mSession, x);
}
//}
}
}

protected void forward_events(NextFilter next) {
//synchronized (mEventQueue) {
synchronized(mEventQueue) {
FilterEvent x;
while((x = mEventQueue.poll()) != null) {
while ((x = mEventQueue.poll()) != null) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("{} forward_events() - dispatching event {}", toString(), x);
}
next.event(mSession, x);
}
//}
}
}

/**
Expand Down
Loading
Loading