Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimze http2 settings #4939

Merged
merged 16 commits into from
Dec 30, 2022
Prev Previous commit
Next Next commit
fix 2
  • Loading branch information
matyhtf committed Dec 23, 2022
commit 499fe898b9a7ead01b1f2b7e8186546f06ef57ef
2 changes: 1 addition & 1 deletion src/protocol/http2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static Settings default_settings = {
SW_HTTP2_DEFAULT_MAX_HEADER_LIST_SIZE,
};

void put_setting(enum swHttp2SettingId id, uint32_t value) {
void put_default_setting(enum swHttp2SettingId id, uint32_t value) {
switch (id) {
case SW_HTTP2_SETTING_HEADER_TABLE_SIZE:
default_settings.header_table_size = value;
Expand Down