Cancel redirects during preflight
Previously, when a redirect required a CORS preflight, the original request would be left pending until the preflight finished. Since the original request couldn't be reused, this tied up a socket unnecessarily. In extreme cases it could lead to deadlock. Instead, cancel the original request before issuing the preflight. BUG=1051357 Change-Id: I3f60a1cbfad2f6b6ff27ccad82b76a08ca747d00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2079726Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#746217}
Showing
Please register or sign in to comment