From: Christopher Faulet Date: Thu, 23 Apr 2026 07:49:29 +0000 (+0200) Subject: CLEANUP: http-client: Fix typos in comments X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=03da32bbff9ad746c84c65be9e506543082b10bd;p=thirdparty%2Fhaproxy.git CLEANUP: http-client: Fix typos in comments Some minor typos in comments were fixed. --- diff --git a/src/http_client.c b/src/http_client.c index 410d384c3..be876c628 100644 --- a/src/http_client.c +++ b/src/http_client.c @@ -648,7 +648,7 @@ void httpclient_applet_io_handler(struct appctx *appctx) break; } - /* copy the start line in the hc structure,then remove the htx block */ + /* copy the start line in the hc structure, then remove the htx block */ htx = htxbuf(inbuf); if (htx_get_head_type(htx) != HTX_BLK_RES_SL) goto error; @@ -730,7 +730,7 @@ void httpclient_applet_io_handler(struct appctx *appctx) } else { /* first copy the headers in a local hdrs - * structure, once we the total numbers of the + * structure, once we have the total numbers of the * header we allocate the right size and copy * them. The htx block of the headers are * removed each time one is read */ @@ -790,7 +790,7 @@ void httpclient_applet_io_handler(struct appctx *appctx) /* * The IO handler removes the htx blocks in the response buffer and - * push them in the hc->res.buf buffer in a raw format. + * pushes them in the hc->res.buf buffer in a raw format. */ htx = htxbuf(inbuf); if (htx_is_empty(htx)) { @@ -804,7 +804,7 @@ void httpclient_applet_io_handler(struct appctx *appctx) } if (hc->options & HTTPCLIENT_O_RES_HTX) { - /* HTX mode transfers the header to the hc buffer */ + /* HTX mode transfers the body to the hc buffer */ struct htx *hc_htx; hc_htx = htxbuf(&hc->res.buf);