#define PR_O_HTTP_MODE 0x07000000 /* MASK to retrieve the HTTP mode */
#define PR_O_TCPCHK_SSL 0x08000000 /* at least one TCPCHECK connect rule requires SSL */
-#define PR_O_CONTSTATS 0x10000000 /* continous counters */
+#define PR_O_CONTSTATS 0x10000000 /* continuous counters */
#define PR_O_HTTP_PROXY 0x20000000 /* Enable stream to use HTTP proxy operations */
#define PR_O_DISABLE404 0x40000000 /* Disable a server on a 404 response to a health-check */
#define PR_O_ORGTO 0x80000000 /* insert x-original-to with destination address */
return -1;
}
- /* Capture keywork is only avalaible in frontend. */
+ /* Capture keywork is only available in frontend. */
if (!(curpx->cap & PR_CAP_FE)) {
memprintf(err, "'%s' only avalaible in frontend or listen section", args[0]);
return -1;
return -1;
}
- /* Actually, declare is only avalaible for declaring capture
+ /* Actually, declare is only available for declaring capture
* slot, but in the future it can declare maps or variables.
- * So, this section permits to check and switch acording with
+ * So, this section permits to check and switch according with
* the second keyword.
*/
if (strcmp(args[1], "capture") == 0) {
return byname;
}
- /* remaining possiblities :
+ /* remaining possibilities :
* - name not set
* - name set but not found
* - name found, but ID doesn't match.
}
}
- /* remaining possiblities :
+ /* remaining possibilities :
* - name not set
* - name set but not found
*/
}
}
- /* All remaining possiblities will lead to NULL. If we can report more
+ /* All remaining possibilities will lead to NULL. If we can report more
* detailed information to the caller about changed types and/or name,
* we'll do it. For example, we could detect that "listen foo" was
* split into "frontend foo_ft" and "backend foo_bk" if IDs are forced.
if (killed) {
ha_warning("Some tasks resisted to hard-stop, exiting now.\n");
send_log(NULL, LOG_WARNING, "Some tasks resisted to hard-stop, exiting now.\n");
- /* Do some cleanup and explicitely quit */
+ /* Do some cleanup and explicitly quit */
deinit();
exit(0);
}
* are passed :
* - <proxy> is the proxy where the error was detected and where the snapshot
* needs to be stored
- * - <is_back> indicates that the error happend when receiving the response
+ * - <is_back> indicates that the error happened when receiving the response
* - <other_end> is a pointer to the proxy on the other side when known
* - <target> is the target of the connection, usually a server or a proxy
* - <sess> is the session which experienced the error