We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e3d41 commit 0cb2890Copy full SHA for 0cb2890
Source/GTMSessionUploadFetcher.m
@@ -1507,7 +1507,7 @@ - (void)chunkFetcher:(GTMSessionFetcher *)chunkFetcher
1507
responseHeaders);
1508
#endif
1509
if (isUploadStatusStopped ||
1510
- _uploadFileLength == 0 ||
+ (!_uploadData && _uploadFileLength == 0) ||
1511
(_currentOffset > _uploadFileLength && _uploadFileLength > 0)) {
1512
// This was the last chunk.
1513
if (error == nil && uploadStatus == kStatusCancelled) {
0 commit comments