Skip to content

Commit 8ad200f

Browse files
committed
minor clean up
1 parent e4567e5 commit 8ad200f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

providers/netty3/src/main/java/org/asynchttpclient/providers/netty/request/NettyRequestSender.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ public <T> void writeRequest(NettyResponseFuture<T> future, Channel channel) {
335335
channel.write(httpRequest).addListener(new ProgressListener(config, future.getAsyncHandler(), future, true));
336336
}
337337

338-
// FIXME what happens to this second write if the first one failed? Should it be done in the ProgressListener?
339338
if (!future.isDontWriteBodyBecauseExpectContinue() && !httpRequest.getMethod().equals(HttpMethod.CONNECT)
340339
&& nettyRequest.getBody() != null)
341340
nettyRequest.getBody().write(channel, future, config);

0 commit comments

Comments
 (0)