Skip to content
Snippets Groups Projects
Commit b13bff84 authored by Andy Green's avatar Andy Green
Browse files

h2: avoid problems with ffox by setting max hpack size to 65536

parent 5494128f
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ const struct http2_settings lws_h2_defaults = { { ...@@ -87,7 +87,7 @@ const struct http2_settings lws_h2_defaults = { {
const struct http2_settings lws_h2_stock_settings = { { const struct http2_settings lws_h2_stock_settings = { {
1, 1,
/* H2SET_HEADER_TABLE_SIZE */ 4096, /* H2SET_HEADER_TABLE_SIZE */ 65536, /* ffox */
/* *** This controls how many entries in the dynamic table *** /* *** This controls how many entries in the dynamic table ***
* Allows the sender to inform the remote endpoint of the maximum * Allows the sender to inform the remote endpoint of the maximum
* size of the header compression table used to decode header * size of the header compression table used to decode header
...@@ -102,7 +102,7 @@ const struct http2_settings lws_h2_stock_settings = { { ...@@ -102,7 +102,7 @@ const struct http2_settings lws_h2_stock_settings = { {
/* H2SET_MAX_CONCURRENT_STREAMS */ 24, /* H2SET_MAX_CONCURRENT_STREAMS */ 24,
/* H2SET_INITIAL_WINDOW_SIZE */ 65535, /* H2SET_INITIAL_WINDOW_SIZE */ 65535,
/* H2SET_MAX_FRAME_SIZE */ 16384, /* H2SET_MAX_FRAME_SIZE */ 16384,
/* H2SET_MAX_HEADER_LIST_SIZE */ 4096, /* H2SET_MAX_HEADER_LIST_SIZE */ 4096,
/*< This advisory setting informs a peer of the maximum size of /*< This advisory setting informs a peer of the maximum size of
* header list that the sender is prepared to accept, in octets. * header list that the sender is prepared to accept, in octets.
* The value is based on the uncompressed size of header fields, * The value is based on the uncompressed size of header fields,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment