Skip to content

Commit c9b3cb2

Browse files
committed
set discard asap
1 parent 18346a8 commit c9b3cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/org/asynchttpclient/netty/channel/ChannelManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ public void operationComplete(io.netty.util.concurrent.Future<?> future) throws
367367
public void closeChannel(Channel channel) {
368368

369369
LOGGER.debug("Closing Channel {} ", channel);
370-
removeAll(channel);
371370
Channels.setDiscard(channel);
371+
removeAll(channel);
372372
Channels.silentlyCloseChannel(channel);
373373
openChannels.remove(channel);
374374
}

0 commit comments

Comments
 (0)