Skip to content

Commit 795362a

Browse files
authored
add comment
1 parent bc0bd86 commit 795362a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/microsoft/graph/concurrency/ChunkedUploadProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ public void upload(final List<Option> options,
170170
while (this.readSoFar < this.streamSize) {
171171
int buffRead = 0;
172172

173+
// inner loop is to work-around the case where read buffer size is limited to less than chunk size by a global setting
173174
while (buffRead < chunkSize) {
174175
int read = 0;
175176
read = this.inputStream.read(buffer, buffRead, chunkSize - buffRead);

0 commit comments

Comments
 (0)