-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always close HttpURLConnections in HurlStack. (#176)
If we are finished with the connection (on network error or empty response), close it before returning/throwing. If not (because the response body still needs to be read), wrap the returned InputStream in one which disconnects when the stream is closed. Fixes #138
- Loading branch information
Showing
3 changed files
with
147 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 0 additions & 74 deletions
74
src/test/java/com/android/volley/mock/MockHttpURLConnection.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.