We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd4f10 commit 66806a4Copy full SHA for 66806a4
client/src/main/java/org/asynchttpclient/netty/NettyResponseFuture.java
@@ -187,7 +187,7 @@ public boolean cancel(boolean force) {
187
return false;
188
}
189
190
- Channel ch = channel; //atomic read, so that it won't end up in TOCTOU
+ final Channel ch = channel; //atomic read, so that it won't end up in TOCTOU
191
if (ch != null) {
192
Channels.setDiscard(ch);
193
Channels.silentlyCloseChannel(ch);
0 commit comments