Commit eb8138bf authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttp: Advance next stream ID only when --idle-dep is used

parent 5180eb93
......@@ -794,10 +794,11 @@ struct HttpClient {
dep_stream_id = stream_id;
}
}
rv = nghttp2_session_set_next_stream_id(session, ANCHOR_ID_LOWEST + 2);
if (rv != 0) {
return -1;
rv = nghttp2_session_set_next_stream_id(session, ANCHOR_ID_LOWEST + 2);
if (rv != 0) {
return -1;
}
}
assert(settings_timerev == nullptr);
......
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