CLEANUP: assorted typo fixes in the code and comments

This is 24th iteration of typo fixes
This commit is contained in:
Ilya Shipitsin 2021-06-12 15:55:27 +05:00 committed by Willy Tarreau
parent 3a53707160
commit 213bb99f9e
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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;

View File

@ -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)) {