]> git.kaiwu.me - haproxy.git/commitdiff
CLEANUP: mux-h2: replace a non-UTF-8 character in a comment
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Sep 2026 04:40:12 +0000 (04:40 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Sep 2026 12:05:26 +0000 (14:05 +0200)
A comment in h2c_dec_hdrs() contains a section sign encoded in ISO-8859-1,
which is the only non-UTF-8 byte in the sources. Some tools consider the
whole file as binary because of it, e.g. "ugrep -I" silently skips it.
Let's spell it "section" instead.

src/mux_h2.c

index 7d05358844ff736d1e6dba91809aef4b78435fa5..ce246353e31d2aec392d011e984533bb30fb07be 100644 (file)
@@ -6347,7 +6347,7 @@ next_frame:
         * to convert 200 response to 101 htx response. We only support this if
         * the connection supports RFC8441.
         * On the backend, that means the origin server advertised the setting.
-        * On the frontend, RFC 8441 ยง3 only requires the server (us) to
+        * On the frontend, RFC 8441 section 3 only requires the server (us) to
         * advertise it; clients are not required to echo it back. Use whether
         * we ourselves advertised it as the gate.
         */