Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1546)

Unified Diff: content/browser/loader/resource_scheduler.cc

Issue 893693002: Fix bug where requests to QUIC servers were throttled by the resource scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/http_server_properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_scheduler.cc
diff --git a/content/browser/loader/resource_scheduler.cc b/content/browser/loader/resource_scheduler.cc
index f643dafadd373895eff629504d35f99562f1637e..04b4d87119ebd79876f8936ce070aa703a0f74a0 100644
--- a/content/browser/loader/resource_scheduler.cc
+++ b/content/browser/loader/resource_scheduler.cc
@@ -617,7 +617,7 @@ class ResourceScheduler::Client {
net::HostPortPair::FromURL(request->url_request()->url());
net::HttpServerProperties& http_server_properties =
*request->url_request()->context()->http_server_properties();
- if (!http_server_properties.SupportsSpdy(host_port_pair) &&
+ if (!http_server_properties.SupportsRequestPriority(host_port_pair) &&
ContainsKey(in_flight_requests_, request)) {
return IN_FLIGHT_DELAYABLE_REQUEST;
}
@@ -723,7 +723,7 @@ class ResourceScheduler::Client {
// TODO(willchan): We should really improve this algorithm as described in
// crbug.com/164101. Also, theoretically we should not count a SPDY request
mmenke 2015/01/30 22:04:16 This now applies to QUIC, too
Ryan Hamilton 2015/01/30 22:53:47 Done.
// against the delayable requests limit.
- if (http_server_properties.SupportsSpdy(host_port_pair)) {
+ if (http_server_properties.SupportsRequestPriority(host_port_pair)) {
return START_REQUEST;
}
« no previous file with comments | « no previous file | net/http/http_server_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698