mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 07:50:02 +00:00
ngtcp2 has merged BBR and BBRv2 under BBR
This commit is contained in:
parent
e37fe5543f
commit
775e4f1bad
@ -4116,10 +4116,8 @@ int parse_config(Config *config, int optid, const StringRef &opt,
|
||||
config->quic.upstream.congestion_controller = NGTCP2_CC_ALGO_CUBIC;
|
||||
} else if (util::strieq_l("bbr", optarg)) {
|
||||
config->quic.upstream.congestion_controller = NGTCP2_CC_ALGO_BBR;
|
||||
} else if (util::strieq_l("bbrv2", optarg)) {
|
||||
config->quic.upstream.congestion_controller = NGTCP2_CC_ALGO_BBR_V2;
|
||||
} else {
|
||||
LOG(ERROR) << opt << ": must be one of cubic, bbr, and bbrv2";
|
||||
LOG(ERROR) << opt << ": must be either cubic or bbr";
|
||||
return -1;
|
||||
}
|
||||
#endif // ENABLE_HTTP3
|
||||
|
Loading…
Reference in New Issue
Block a user