diff --git a/include/types/proxy.h b/include/types/proxy.h index b7c9038d6..8e181fada 100644 --- a/include/types/proxy.h +++ b/include/types/proxy.h @@ -121,7 +121,7 @@ enum PR_SRV_STATE_FILE { #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 */ diff --git a/src/proxy.c b/src/proxy.c index d0b06d8eb..c21ff9d12 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -362,7 +362,7 @@ static int proxy_parse_declare(char **args, int section, struct proxy *curpx, 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; @@ -374,9 +374,9 @@ static int proxy_parse_declare(char **args, int section, struct proxy *curpx, 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) { @@ -570,7 +570,7 @@ struct proxy *proxy_find_best_match(int cap, const char *name, int id, int *diff return byname; } - /* remaining possiblities : + /* remaining possibilities : * - name not set * - name set but not found * - name found, but ID doesn't match. @@ -594,7 +594,7 @@ struct proxy *proxy_find_best_match(int cap, const char *name, int id, int *diff } } - /* remaining possiblities : + /* remaining possibilities : * - name not set * - name set but not found */ @@ -611,7 +611,7 @@ struct proxy *proxy_find_best_match(int cap, const char *name, int id, int *diff } } - /* 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. @@ -944,7 +944,7 @@ struct task *hard_stop(struct task *t, void *context, unsigned short state) 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); } @@ -1340,7 +1340,7 @@ int stream_set_backend(struct stream *s, struct proxy *be) * are passed : * - is the proxy where the error was detected and where the snapshot * needs to be stored - * - indicates that the error happend when receiving the response + * - indicates that the error happened when receiving the response * - is a pointer to the proxy on the other side when known * - is the target of the connection, usually a server or a proxy * - is the session which experienced the error