Rename max_header_set_size as max_header_list_size
This commit is contained in:
parent
4d93dd9d91
commit
49b8d1d88c
|
@ -293,7 +293,7 @@ static void init_settings(nghttp2_settings_storage *settings)
|
||||||
settings->max_concurrent_streams = NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS;
|
settings->max_concurrent_streams = NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS;
|
||||||
settings->initial_window_size = NGHTTP2_INITIAL_WINDOW_SIZE;
|
settings->initial_window_size = NGHTTP2_INITIAL_WINDOW_SIZE;
|
||||||
settings->max_frame_size = NGHTTP2_MAX_FRAME_SIZE_MIN;
|
settings->max_frame_size = NGHTTP2_MAX_FRAME_SIZE_MIN;
|
||||||
settings->max_header_set_size = UINT32_MAX;
|
settings->max_header_list_size = UINT32_MAX;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void active_outbound_item_reset(nghttp2_active_outbound_item *aob)
|
static void active_outbound_item_reset(nghttp2_active_outbound_item *aob)
|
||||||
|
@ -3441,7 +3441,7 @@ int nghttp2_session_update_local_settings(nghttp2_session *session,
|
||||||
session->local_settings.max_frame_size = iv[i].value;
|
session->local_settings.max_frame_size = iv[i].value;
|
||||||
break;
|
break;
|
||||||
case NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE:
|
case NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE:
|
||||||
session->local_settings.max_header_set_size = iv[i].value;
|
session->local_settings.max_header_list_size = iv[i].value;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3578,7 +3578,7 @@ int nghttp2_session_on_settings_received(nghttp2_session *session,
|
||||||
break;
|
break;
|
||||||
case NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE:
|
case NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE:
|
||||||
|
|
||||||
session->remote_settings.max_header_set_size = entry->value;
|
session->remote_settings.max_header_list_size = entry->value;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -6005,7 +6005,7 @@ uint32_t nghttp2_session_get_remote_settings(nghttp2_session *session,
|
||||||
case NGHTTP2_SETTINGS_MAX_FRAME_SIZE:
|
case NGHTTP2_SETTINGS_MAX_FRAME_SIZE:
|
||||||
return session->remote_settings.max_frame_size;
|
return session->remote_settings.max_frame_size;
|
||||||
case NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE:
|
case NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE:
|
||||||
return session->remote_settings.max_header_set_size;
|
return session->remote_settings.max_header_list_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(0);
|
assert(0);
|
||||||
|
|
|
@ -121,7 +121,7 @@ typedef struct {
|
||||||
uint32_t max_concurrent_streams;
|
uint32_t max_concurrent_streams;
|
||||||
uint32_t initial_window_size;
|
uint32_t initial_window_size;
|
||||||
uint32_t max_frame_size;
|
uint32_t max_frame_size;
|
||||||
uint32_t max_header_set_size;
|
uint32_t max_header_list_size;
|
||||||
} nghttp2_settings_storage;
|
} nghttp2_settings_storage;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
Loading…
Reference in New Issue