[Cronet] Check whether request is done before spinning up message loop
When client writes to OutputStream, the request might have already completed.
If that is the case, do not spin up the message loop since that will block
the calling thread forever.
This CL also adds tests.
R=kapishnikov@chromium.orgR=mef@chromium.org
BUG=626653
Committed: https://crrev.com/b08d71cee8ab485bc4bf6872d01be9fe8b4df296
Cr-Commit-Position: refs/heads/master@{#404652}
4 years, 5 months ago
(2016-07-08 17:29:36 UTC)
#1
Patchset #1 (id:1) has been deleted
xunjieli
Andrei, Misha: Paul usually reviews HttpURLConnection wrapper CL, but since he is out, could you ...
4 years, 5 months ago
(2016-07-08 17:31:06 UTC)
#2
Andrei, Misha: Paul usually reviews HttpURLConnection wrapper CL, but since he
is out, could you review this CL? This is blocking our embedder's
experimentation. I am hoping we can get this in next week's release. Thanks!
xunjieli
Description was changed from ========== [Cronet] Check whether request is done before spinning up message ...
4 years, 5 months ago
(2016-07-08 17:35:34 UTC)
#3
Description was changed from
==========
[Cronet] Check whether request is done before spinning up message loop
When client writes to OutputStream, the request might have already completed.
If that is the case, do not spin up the message loop since that will block
the calling thread forever.
This CL also adds regression tests.
R=kapishnikov@chromium.orgR=mef@chromium.org
BUG=626653
==========
to
==========
[Cronet] Check whether request is done before spinning up message loop
When client writes to OutputStream, the request might have already completed.
If that is the case, do not spin up the message loop since that will block
the calling thread forever.
This CL also adds tests.
R=kapishnikov@chromium.orgR=mef@chromium.org
BUG=626653
==========
mef
https://codereview.chromium.org/2131323002/diff/20001/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java File components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java (right): https://codereview.chromium.org/2131323002/diff/20001/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java#newcode74 components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java:74: super.write(oneByte); Maybe just explicitly call checkNotClosed() here and elsewhere.
4 years, 5 months ago
(2016-07-08 17:39:10 UTC)
#4
Description was changed from ========== [Cronet] Check whether request is done before spinning up message ...
4 years, 5 months ago
(2016-07-11 14:17:26 UTC)
#17
Message was sent while issue was closed.
Description was changed from
==========
[Cronet] Check whether request is done before spinning up message loop
When client writes to OutputStream, the request might have already completed.
If that is the case, do not spin up the message loop since that will block
the calling thread forever.
This CL also adds tests.
R=kapishnikov@chromium.orgR=mef@chromium.org
BUG=626653
==========
to
==========
[Cronet] Check whether request is done before spinning up message loop
When client writes to OutputStream, the request might have already completed.
If that is the case, do not spin up the message loop since that will block
the calling thread forever.
This CL also adds tests.
R=kapishnikov@chromium.orgR=mef@chromium.org
BUG=626653
==========
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 5 months ago
(2016-07-11 14:17:27 UTC)
#18
Message was sent while issue was closed.
Committed patchset #3 (id:80001)
commit-bot: I haz the power
Description was changed from ========== [Cronet] Check whether request is done before spinning up message ...
4 years, 5 months ago
(2016-07-11 14:18:33 UTC)
#19
Message was sent while issue was closed.
Description was changed from
==========
[Cronet] Check whether request is done before spinning up message loop
When client writes to OutputStream, the request might have already completed.
If that is the case, do not spin up the message loop since that will block
the calling thread forever.
This CL also adds tests.
R=kapishnikov@chromium.orgR=mef@chromium.org
BUG=626653
==========
to
==========
[Cronet] Check whether request is done before spinning up message loop
When client writes to OutputStream, the request might have already completed.
If that is the case, do not spin up the message loop since that will block
the calling thread forever.
This CL also adds tests.
R=kapishnikov@chromium.orgR=mef@chromium.org
BUG=626653
Committed: https://crrev.com/b08d71cee8ab485bc4bf6872d01be9fe8b4df296
Cr-Commit-Position: refs/heads/master@{#404652}
==========
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b08d71cee8ab485bc4bf6872d01be9fe8b4df296 Cr-Commit-Position: refs/heads/master@{#404652}
4 years, 5 months ago
(2016-07-11 14:18:34 UTC)
#20
Issue 2131323002: [Cronet] Check whether request is done before spinning up message loop
(Closed)
Created 4 years, 5 months ago by xunjieli
Modified 4 years, 5 months ago
Reviewers: kapishnikov, mef
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 8