Fix typos and spelling mistakes in sources files and in the BRANCHES.
These mistakes are harmless, no backport needed.
2014. As of 2019, 1.5 is still supported and widely used, even though it very
rarely receives updates. After a few years these LTS branches enter a
"critical fixes only" status, which means that they will rarely receive a fix
-but if that a critital issue affects them, a release will be made, with or
+but if that a critical issue affects them, a release will be made, with or
without any other fix. Once a version is not supported anymore, it will not
receive any fix at all and it will really be time for you to upgrade to a more
recent branch. Please note that even when an upgrade is needed, a great care is
* | HTX | PAYLOADS ==> | | <== HTX_BLKs |
* +-----+---------------+------------------------------+--------------+
* ^
- * blocks[] (the beginning of the bocks array)
+ * blocks[] (the beginning of the blocks array)
*
*
* The blocks part remains linear and sorted. You may think about it as an array
* At the end, if payload wrapping or blocks defragmentation is not enough, some
* free space may be get back with a full defragmentation. This way, the holes in
* the middle are not reusable but count in the available free space. The only
- * way to reuse this lost space is to fully defragmenate the HTX message.
+ * way to reuse this lost space is to fully defragment the HTX message.
*
* - * -
*
#define HTX_SL_F_HAS_AUTHORITY 0x00000400 /* The request authority is explicitly specified */
#define HTX_SL_F_NORMALIZED_URI 0x00000800 /* The received URI is normalized (an implicit absolute-uri form) */
#define HTX_SL_F_CONN_UPG 0x00001000 /* The message contains "connection: upgrade" header */
-#define HTX_SL_F_BODYLESS_RESP 0x00002000 /* The response to this message is bodyloess (only for request) */
+#define HTX_SL_F_BODYLESS_RESP 0x00002000 /* The response to this message is bodyless (only for request) */
#define HTX_SL_F_NOT_HTTP 0x00004000 /* Not an HTTP message (e.g "RTSP", only possible if invalid message are accepted) */
/* This function is used to report flags in debugging tools. Please reflect
/* The principle is to be able to change the type of a pointer by pointing
* it directly to an object type. The object type indicates the format of the
- * structure holing the type, and this is used to retrieve the pointer to the
+ * structure holding the type, and this is used to retrieve the pointer to the
* beginning of the structure. Doing so saves us from having to maintain both
* a pointer and a type for elements such as connections which can point to
* various types of objects.
}
/* Returns a trash chunk accordingly to the requested size. This function may
- * fail if the requested size is too big or if the large chubks are not
+ * fail if the requested size is too big or if the large chunks are not
* configured.
*/
struct buffer *get_trash_chunk_sz(size_t size)
if (!max || !b_data(srcbuf))
goto end;
- /* Realing input buffer if necessary */
+ /* Realign input buffer if necessary */
if (b_head(srcbuf) + b_data(srcbuf) > b_wrap(srcbuf))
b_slow_realign_ofs(srcbuf, trash.area, 0);
}
/*
- * remove a pid forom the olpid array and decrease nb_oldpids
+ * remove a pid from the olpid array and decrease nb_oldpids
* return 1 pid was found otherwise return 0
*/
old_detected = stop_detected;
/*
- * Check if ze're the first to detect the
+ * Check if we're the first to detect the
* stop
*/
while (old_detected == 0 &&
step_init_2(argc, argv);
RUN_INITCALLS(STG_INIT_2);
- /* Late init step: register signals for worker and standalon modes, apply
+ /* Late init step: register signals for worker and standalone modes, apply
* nofile and memory limits, apply capabilities from binary, if any.
*/
step_init_3();
/* set_identity() above might have dropped LSTCHK_NETADM or/and
* LSTCHK_SYSADM if it changed to a new UID while preserving enough
- * permissions to honnor LSTCHK_NETADM/LSTCHK_SYSADM.
+ * permissions to honor LSTCHK_NETADM/LSTCHK_SYSADM.
*/
if ((global.last_checks & (LSTCHK_NETADM|LSTCHK_SYSADM)) && getuid()) {
/* If global.uid is present in config, it is already set as euid
* and ruid by set_identity() just above, so it's better to
- * remind the user to fix uncoherent settings.
+ * remind the user to fix incoherent settings.
*/
if (global.uid > 0) {
ha_alert("[%s.main()] Some configuration options require full "
htx->data += delta;
htx->flags |= HTX_FL_FRAGMENTED;
}
- else { /* Do a degrag first (it is always an expansion) */
+ else { /* Do a defrag first (it is always an expansion) */
struct htx_blk tmpblk;
struct buffer *chunk = alloc_trash_chunk();
void *ptr;
/*****************************************************************/
/* functions below are dedicated to the mux setup and management */
/*****************************************************************/
-/* Set EOI on stream connector in DONE state iff:
+/* Set EOI on stream connector in DONE state if:
* - it is a response
* - it is a request and the response is DONE too
* - it is a request but no a protocol upgrade nor a CONNECT