Chromium Code Reviews
Description[Cronet] In JavaUrlRequest avoid thread-unsafe access to HttpURLConnection
Executor passed into JavaUrlRequest is backed by a thread-pool so it can
concurrently run tasks which can lead to crashes in underlying
HttpURLConnection. Prevent this by serializing taskes passed to
underlying Executor.
BUG=664872
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
Review-Url: https://codereview.chromium.org/2613393002
Cr-Commit-Position: refs/heads/master@{#443307}
Committed: https://chromium.googlesource.com/chromium/src/+/16325c0ba632bc13701728830fe14a873ef8ab53
Patch Set 1 #
Total comments: 6
Patch Set 2 : address comments #
Total comments: 4
Patch Set 3 : address comments #Patch Set 4 : ignore RejectedExecutionException #
Messages
Total messages: 15 (5 generated)
|
||||||||||||||||||||||||||||