Home
last modified time | relevance | path

Searched refs:hd_table_bufsize_max (Results 1 – 9 of 9) sorted by relevance

/third_party/nghttp2/tests/
Dnghttp2_hd_test.c735 CU_ASSERT(4096 == deflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
737 CU_ASSERT(8000 == inflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
748 CU_ASSERT(4096 == deflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
753 CU_ASSERT(4096 == inflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
763 CU_ASSERT(1024 == deflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
765 CU_ASSERT(1024 == inflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
775 CU_ASSERT(1024 == deflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
780 CU_ASSERT(1024 == inflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
792 CU_ASSERT(0 == deflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
796 CU_ASSERT(0 == inflater.ctx.hd_table_bufsize_max); in test_nghttp2_hd_change_table_size()
[all …]
Dnghttp2_session_test.c3489 CU_ASSERT(2048 == session->hd_deflater.ctx.hd_table_bufsize_max); in test_nghttp2_session_on_settings_received()
5723 CU_ASSERT(1023 == session->hd_inflater.ctx.hd_table_bufsize_max); in test_nghttp2_submit_settings()
/third_party/nghttp2/doc/sources/
Dpython-apiref.rst21 .. py:class:: HDDeflater(hd_table_bufsize_max=DEFLATE_MAX_HEADER_TABLE_SIZE)
24 *hd_table_bufsize_max* limits the usage of header table in the
30 availability. In that case, *hd_table_bufsize_max* can be used to
49 .. py:method:: change_table_size(hd_table_bufsize_max)
51 Changes header table size to *hd_table_bufsize_max* byte. if
52 *hd_table_bufsize_max* is strictly larger than
53 ``hd_table_bufsize_max`` given in constructor,
54 ``hd_table_bufsize_max`` is used as header table size instead.
87 .. py:method:: change_table_size(hd_table_bufsize_max)
89 Changes header table size to *hd_table_bufsize_max* byte.
/third_party/nghttp2/lib/
Dnghttp2_hd.c673 context->hd_table_bufsize_max = NGHTTP2_HD_DEFAULT_MAX_BUFFER_SIZE; in hd_context_init()
676 context->hd_table_bufsize_max / NGHTTP2_HD_ENTRY_OVERHEAD, mem); in hd_context_init()
709 deflater->ctx.hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2()
1106 while (context->hd_table_bufsize + room > context->hd_table_bufsize_max && in add_hd_table_incremental()
1127 if (room > context->hd_table_bufsize_max) { in add_hd_table_incremental()
1224 while (context->hd_table_bufsize > context->hd_table_bufsize_max && in hd_context_shrink_table_size()
1245 deflater->ctx.hd_table_bufsize_max = next_bufsize; in nghttp2_hd_deflate_change_table_size()
1273 if (inflater->ctx.hd_table_bufsize_max > settings_max_dynamic_table_size) { in nghttp2_hd_inflate_change_table_size()
1282 inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size; in nghttp2_hd_inflate_change_table_size()
1329 deflater->ctx.hd_table_bufsize_max * 3 / 4) { in hd_deflate_decide_indexing()
[all …]
Dnghttp2_hd.h204 size_t hd_table_bufsize_max; member
/third_party/node/deps/nghttp2/lib/
Dnghttp2_hd.c673 context->hd_table_bufsize_max = NGHTTP2_HD_DEFAULT_MAX_BUFFER_SIZE; in hd_context_init()
676 context->hd_table_bufsize_max / NGHTTP2_HD_ENTRY_OVERHEAD, mem); in hd_context_init()
709 deflater->ctx.hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2()
1106 while (context->hd_table_bufsize + room > context->hd_table_bufsize_max && in add_hd_table_incremental()
1127 if (room > context->hd_table_bufsize_max) { in add_hd_table_incremental()
1224 while (context->hd_table_bufsize > context->hd_table_bufsize_max && in hd_context_shrink_table_size()
1245 deflater->ctx.hd_table_bufsize_max = next_bufsize; in nghttp2_hd_deflate_change_table_size()
1273 if (inflater->ctx.hd_table_bufsize_max > settings_max_dynamic_table_size) { in nghttp2_hd_inflate_change_table_size()
1282 inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size; in nghttp2_hd_inflate_change_table_size()
1329 deflater->ctx.hd_table_bufsize_max * 3 / 4) { in hd_deflate_decide_indexing()
[all …]
Dnghttp2_hd.h204 size_t hd_table_bufsize_max; member
/third_party/nghttp2/python/
Dnghttp2.pyx52 |hd_table_bufsize_max| parameter, which limits the usage of header
58 |hd_table_bufsize_max| can be used to cap the upper limit of table
60 The default value of |hd_table_bufsize_max| is 4096 bytes.
75 def __cinit__(self, hd_table_bufsize_max = DEFLATE_MAX_HEADER_TABLE_SIZE): argument
77 hd_table_bufsize_max)
134 def change_table_size(self, hd_table_bufsize_max): argument
135 '''Changes header table size to |hd_table_bufsize_max| byte.
142 hd_table_bufsize_max)
210 def change_table_size(self, hd_table_bufsize_max): argument
211 '''Changes header table size to |hd_table_bufsize_max| byte.
[all …]
Dcnghttp2.pxd301 size_t hd_table_bufsize_max)
315 size_t hd_table_bufsize_max)