1. 21 Jun, 2024 25 commits
  2. 03 Jun, 2024 2 commits
  3. 29 Apr, 2024 1 commit
  4. 09 Apr, 2024 1 commit
  5. 08 Apr, 2024 1 commit
  6. 04 Apr, 2024 4 commits
  7. 29 Mar, 2024 6 commits
    • Dridi Boukelmoune's avatar
      http2_hpack: Enforce h2_max_header_list_size · 62c525e8
      Dridi Boukelmoune authored
      This parameter has a new role that consists in interrupting connections
      when decoding an HPACK block leads to a header list so large that the
      client must be stopped.
      
      By default, too large is 150% of http_req_size.
      
      Conflicts:
      	include/tbl/params.h
      62c525e8
    • Dridi Boukelmoune's avatar
      http2_session: Advertise http_req_size to clients · cf444b4f
      Dridi Boukelmoune authored
      Since http_req_size was already established for this purpose, and is
      now enforced for h2 traffic, it should naturally become the basis for
      the MAX_HEADER_LIST_SIZE setting in the initial SETTINGS frame sent
      to clients.
      
      The h2_max_header_list_size parameter will grow a new purpose.
      
      Conflicts:
      	bin/varnishtest/tests/t02000.vtc
      	bin/varnishtest/tests/t02005.vtc
      	include/tbl/params.h
      cf444b4f
    • Dridi Boukelmoune's avatar
      param: Document mapping to HTTP/2 settings · 0e1e4ea9
      Dridi Boukelmoune authored
      With the exception of h2_max_header_list_size that is not advertised as
      such despite being ent as part of the initial SETTINGS frame. The same
      parameter also sees its default and maximum values updated to 2^32-1.
      
      This is based on this sentence from rfc9113:
      
      > The initial value of this setting is unlimited.
      
      This aligns the h2_max_header_list_size parameter with the values set in
      h2_settings.h for MAX_HEADER_LIST_SIZE.
      
      Conflicts:
      	include/tbl/params.h
      0e1e4ea9
    • Dridi Boukelmoune's avatar
      vtc: Add http_max_hdr coverage to r3709 · f69a70e7
      Dridi Boukelmoune authored
      For the sole purpose of having these limits tested in a single place.
      f69a70e7
    • Dridi Boukelmoune's avatar
      http2_hpack: Enforce http_req_size limit · 39e5c926
      Dridi Boukelmoune authored
      Refs #3709
      Refs #3892
      
      Conflicts:
      	bin/varnishd/http2/cache_http2_hpack.c
      39e5c926
    • Dridi Boukelmoune's avatar
      b4a5f99d