STAT_STATUS_INIT = 0,
STAT_STATUS_DENY, /* action denied */
STAT_STATUS_DONE, /* the action is successful */
- STAT_STATUS_ERRP, /* an error occured due to invalid values in parameters */
- STAT_STATUS_EXCD, /* an error occured because the buffer couldn't store all data */
+ STAT_STATUS_ERRP, /* an error occurred due to invalid values in parameters */
+ STAT_STATUS_EXCD, /* an error occurred because the buffer couldn't store all data */
STAT_STATUS_NONE, /* nothing happened (no action chosen or servers state didn't change) */
STAT_STATUS_PART, /* the action is partially successful */
- STAT_STATUS_UNKN, /* an unknown error occured, shouldn't happen */
+ STAT_STATUS_UNKN, /* an unknown error occurred, shouldn't happen */
STAT_STATUS_SIZE
};
* During parsing, it points to last header seen
* for states after START. When in HTTP_MSG_BODY,
* eoh points to the first byte of the last CRLF
- * preceeding data. Relative to buffer's origin.
+ * preceding data. Relative to buffer's origin.
* This value then remains unchanged till the end
* so that we can rewind the buffer to change some
* headers if needed (eg: http-send-name-header).
}
}
- /* nothing to fail, let's reply normaly */
+ /* nothing to fail, let's reply normally */
txn->status = 200;
http_reply_and_close(s, txn->status, http_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)) {
/* We must trim any excess data from the response buffer, because we
* may have blocked an invalid response from a server that we don't
- * want to accidentely forward once we disable the analysers, nor do
+ * want to accidently forward once we disable the analysers, nor do
* we want those data to come along with next response. A typical
* example of such data would be from a buggy server responding to
* a HEAD with some data, or sending more than the advertised