CLEANUP: htx: fix a typo in an error message of http_str_to_htx
This fixes a typo in an error message about headers in the
http_str_to_htx function.
(cherry picked from commit 45b6b233359a95f95d98bb670a931d05907edd60)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit bfddb2aae3841fd27cbe999d247e05ddf6465684)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 8012c2c812c2d761748e7f2400f79f426af7fdec)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 6dd099017d88683c529c2d5391923dd3b8baa4af)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/src/http_htx.c b/src/http_htx.c
index 6cb895e..60525bb 100644
--- a/src/http_htx.c
+++ b/src/http_htx.c
@@ -921,7 +921,7 @@
ret = h1_headers_to_hdr_list(raw.ptr, raw.ptr + raw.len,
hdrs, sizeof(hdrs)/sizeof(hdrs[0]), &h1m, &h1sl);
if (ret <= 0) {
- memprintf(errmsg, "unabled to parse headers (error offset: %d)", h1m.err_pos);
+ memprintf(errmsg, "unable to parse headers (error offset: %d)", h1m.err_pos);
goto error;
}