Skip to content

Commit 97c8ec5

Browse files
committed
1 parent 84cf23d commit 97c8ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/request/body/FeedableBodyGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ public long read(final ByteBuffer buffer) throws IOException {
7979
case CLOSING:
8080
buffer.put(ZERO);
8181
buffer.put(END_PADDING);
82+
buffer.put(END_PADDING);
8283
finishState = FINISHED;
8384
return buffer.position();
8485
case FINISHED:
85-
buffer.put(END_PADDING);
8686
return -1;
8787
}
8888
}

0 commit comments

Comments
 (0)