forked from google/volley
-
Notifications
You must be signed in to change notification settings - Fork 0
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.
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 google#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.