mirror of https://github.com/apache/nifi.git
NIFI-5065: HTTP Site-to-Site fails sending data more than 2GB at once
Int variables got overflown. This closes #5065 Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
This commit is contained in:
parent
274ed46d92
commit
b2fae5f56e
|
@ -773,8 +773,8 @@ public class SiteToSiteRestApiClient implements Closeable {
|
|||
|
||||
private final ByteBuffer buffer = ByteBuffer.allocate(DATA_PACKET_CHANNEL_READ_BUFFER_SIZE);
|
||||
|
||||
private int totalRead = 0;
|
||||
private int totalProduced = 0;
|
||||
private long totalRead = 0;
|
||||
private long totalProduced = 0;
|
||||
|
||||
private boolean requestHasBeenReset = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue