Index: components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java |
diff --git a/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java b/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java |
index d420512f197629930ca7757076209938b3b743eb..191494fa5cd5ce7a00ffff5a9b5392340e7aa29a 100644 |
--- a/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java |
+++ b/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java |
@@ -506,6 +506,9 @@ public class CronetHttpURLConnection extends HttpURLConnection { |
if (mInputStream != null) { |
mInputStream.setResponseDataCompleted(exception); |
} |
+ if (mOutputStream != null) { |
+ mOutputStream.setRequestCompleted(exception); |
+ } |
mMessageLoop.quit(); |
} |
} |