return (blk ? htx_get_blk_type(blk) : HTX_BLK_UNUSED);
}
-/* Returns the position of block immediatly before the one pointed by <pos>. If
+/* Returns the position of block immediately before the one pointed by <pos>. If
* the message is empty or if <pos> is the position of the head, -1 returned.
*
* An signed 32-bits integer is returned to handle -1 case. Blocks position are
return ((pos == -1) ? NULL : htx_get_blk(htx, pos));
}
-/* Returns the position of block immediatly after the one pointed by <pos>. If
+/* Returns the position of block immediately after the one pointed by <pos>. If
* the message is empty or if <pos> is the position of the tail, -1 returned.
*
* An signed 32-bits integer is returned to handle -1 case. Blocks position are
}
}
- /* nothing to fail, let's reply normaly */
+ /* nothing to fail, let's reply normally */
txn->status = 200;
htx_reply_and_close(s, txn->status, htx_error_message(s));
if (!(s->flags & SF_ERR_MASK))
}
break;
- /* other flags exists, but normaly, they never be matched. */
+ /* other flags exists, but normally, they never be matched. */
default:
break;
}
}
break;
- /* other flags exists, but normaly, they never be matched. */
+ /* other flags exists, but normally, they never be matched. */
default:
break;
}
* - delete the complete cookie if we're in insert+indirect mode, so that
* the server never sees it ;
* - remove the server id from the cookie value, and tag the cookie as an
- * application cookie so that it does not get accidentely removed later,
+ * application cookie so that it does not get accidently removed later,
* if we're in cookie prefix mode
*/
if ((s->be->ck_opts & PR_CK_PFX) && (delim != val_end)) {
/* Formats the start line of the request (without CRLF) and puts it in <str> and
- * return the written lenght. The line can be truncated if it exceeds <len>.
+ * return the written length. The line can be truncated if it exceeds <len>.
*/
static size_t htx_fmt_req_line(const struct htx_sl *sl, char *str, size_t len)
{
}
/* Formats the start line of the response (without CRLF) and puts it in <str> and
- * return the written lenght. The line can be truncated if it exceeds <len>.
+ * return the written length. The line can be truncated if it exceeds <len>.
*/
static size_t htx_fmt_res_line(const struct htx_sl *sl, char *str, size_t len)
{