diff --git a/src/backend.c b/src/backend.c index 6494912af6..35cf72787c 100644 --- a/src/backend.c +++ b/src/backend.c @@ -2253,7 +2253,7 @@ void back_handle_st_cer(struct stream *s) * redispatch). Thus we must release the SI endpoint on the server side * an close the attached connection. It is especially important to do it * now if the retry is not immediately performed, to be sure to release - * ressources as soon as possible and to not catch errors from the lower + * resources as soon as possible and to not catch errors from the lower * layers in an unexpected state (i.e < ST_CONN). * * Note: the stream-interface will be switched to ST_REQ, ST_ASS or diff --git a/src/cfgparse.c b/src/cfgparse.c index da4321a597..4fa5bcc59b 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -2155,7 +2155,7 @@ int readcfgfile(const char *file) } else if (strcmp(args[0], ".else") == 0) { if (*args[1]) { - ha_alert("parsing [%s:%d]: Unxpected argument '%s' for '%s'.\n", + ha_alert("parsing [%s:%d]: Unexpected argument '%s' for '%s'.\n", file, linenum, args[1], args[0]); err_code |= ERR_ALERT | ERR_FATAL | ERR_ABORT; break; @@ -2187,7 +2187,7 @@ int readcfgfile(const char *file) } else if (strcmp(args[0], ".endif") == 0) { if (*args[1]) { - ha_alert("parsing [%s:%d]: Unxpected argument '%s' for '%s'.\n", + ha_alert("parsing [%s:%d]: Unexpected argument '%s' for '%s'.\n", file, linenum, args[1], args[0]); err_code |= ERR_ALERT | ERR_FATAL | ERR_ABORT; break; diff --git a/src/h1_htx.c b/src/h1_htx.c index 878c45db8a..6ff69d0aa6 100644 --- a/src/h1_htx.c +++ b/src/h1_htx.c @@ -463,7 +463,7 @@ static const char hextable[] = { }; /* Generic function to parse the current HTTP chunk. It may be used to parsed - * any kind of chunks, including incomplete HTTP chunks or splitted chunks + * any kind of chunks, including incomplete HTTP chunks or split chunks * because the buffer wraps. This version tries to performed zero-copy on large * chunks if possible. */ @@ -547,7 +547,7 @@ static size_t h1_parse_chunk(struct h1m *h1m, struct htx **dsthtx, /* Parses full contiguous HTTP chunks. This version is optimized for small * chunks and does not performed zero-copy. It must be called in - * H1_MSG_CHUNK_SIZE state. Be carefull if you change something in this + * H1_MSG_CHUNK_SIZE state. Be careful if you change something in this * function. It is really sensitive, any change may have an impact on * performance. */ @@ -689,7 +689,7 @@ static size_t h1_parse_full_contig_chunks(struct h1m *h1m, struct htx **dsthtx, } /* Now check if the whole chunk is here (including the CRLF at - * the end), otherise we switch in H1_MSG_DATA stae. + * the end), otherwise we switch in H1_MSG_DATA state. */ if (chksz + 2 > -ridx) { h1m->curr_len = chksz; @@ -769,7 +769,7 @@ static size_t h1_parse_msg_chunks(struct h1m *h1m, struct htx **dsthtx, } /* If some data remains, try to parse it using the generic - * function handling incomplete chunks and splitted chunks + * function handling incomplete chunks and split chunks * because of a wrapping buffer. */ if (h1m->state < H1_MSG_TRAILERS && ofs < b_data(srcbuf)) {