Commit 0b7b9592 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttp: Adjust relative priority with -a

parent e17f8889
...@@ -1003,7 +1003,7 @@ void update_html_parser(HttpClient *client, Request *req, ...@@ -1003,7 +1003,7 @@ void update_html_parser(HttpClient *client, Request *req,
fieldeq(uri.c_str(), u, req->uri.c_str(), req->u, UF_SCHEMA) && fieldeq(uri.c_str(), u, req->uri.c_str(), req->u, UF_SCHEMA) &&
fieldeq(uri.c_str(), u, req->uri.c_str(), req->u, UF_HOST) && fieldeq(uri.c_str(), u, req->uri.c_str(), req->u, UF_HOST) &&
porteq(uri.c_str(), u, req->uri.c_str(), req->u)) { porteq(uri.c_str(), u, req->uri.c_str(), req->u)) {
int32_t pri = adjust_pri(req->pri, p.second); int32_t pri = adjust_pri(req->pri, p.second * (1 << 26));
// No POST data for assets // No POST data for assets
if ( client->add_request(uri, nullptr, 0, pri, req->level+1) ) { if ( client->add_request(uri, nullptr, 0, pri, req->level+1) ) {
submit_request(client, config.headers, submit_request(client, config.headers,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment