]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: qpack: fix a build issue on older compilers
authorWilly Tarreau <w@1wt.eu>
Thu, 26 Jun 2025 16:09:24 +0000 (18:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Jun 2025 16:09:24 +0000 (18:09 +0200)
commit543b62942739de6eb52370e4e9023e19bb47fe15
tree8db96591701e279ee707ab30cbe5b84dfb486e90
parent20110491d3f98d5fa1f3a6e19a8c7ffb01efb121
BUILD: qpack: fix a build issue on older compilers

Got this on gcc-4.8:

  src/qpack-enc.c: In function 'qpack_encode_method':
  src/qpack-enc.c:168:3: error: 'for' loop initial declarations are only allowed in C99 mode
     for (size_t i = 0; i < istlen(other); ++i)
     ^

This came from commit a0912cf914 ("MINOR: h3: complete HTTP/3 request
method encoding"), no backport is needed.
src/qpack-enc.c