Skip to content

Commit

Permalink
0004419: HTTP2 Connection response body not closed
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jun 9, 2020
1 parent 8ba3152 commit 139d64a
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ public String getUrl() {
}

@Override
public void close() {
public void close() {
if (connection != null) {
try {
connection.close();
} catch (Exception e) {
}
}
if (reader != null) {
try {
reader.close();
Expand Down

0 comments on commit 139d64a

Please sign in to comment.