Commit 8df2c357 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttp: Adjust weight according to Firefox stable

parent 4c381611
......@@ -244,11 +244,11 @@ nghttp2_priority_spec resolve_dep(int res_type) {
case REQ_CSS:
case REQ_JS:
anchor_id = anchors[ANCHOR_LEADERS].stream_id;
weight = 2;
weight = 32;
break;
case REQ_UNBLOCK_JS:
anchor_id = anchors[ANCHOR_UNBLOCKED].stream_id;
weight = 2;
weight = 32;
break;
case REQ_IMG:
anchor_id = anchors[ANCHOR_FOLLOWERS].stream_id;
......@@ -256,7 +256,7 @@ nghttp2_priority_spec resolve_dep(int res_type) {
break;
default:
anchor_id = anchors[ANCHOR_FOLLOWERS].stream_id;
weight = 2;
weight = 32;
}
nghttp2_priority_spec_init(&pri_spec, anchor_id, weight, 0);
......
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