Skip to content

Commit

Permalink
4107: Cleared response body.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-qlogic committed Nov 29, 2018
1 parent a7703f2 commit da41028
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ public void write(String uploadId, byte[] toWrite, int toWriteOffset, long destO
HttpResponse response = httpRequest.execute();
code = response.getStatusCode();
message = response.getStatusMessage();
response.getContent().close();
} catch (HttpResponseException ex) {
exception = ex;
code = ex.getStatusCode();
Expand Down

0 comments on commit da41028

Please sign in to comment.