* da_getpropid on the atlas, and if generated by the search, the ID will be consistent across
* different calls to search.
* Properties added by a search that are neither in the compiled atlas, nor in the extra_props list
- * Are assigned an ID within the context that is not transferrable through different search results
+ * Are assigned an ID within the context that is not transferable through different search results
* within the same atlas.
* @param atlas Atlas instance
* @param extra_props properties
latency added by the SPOE processing for the last handled event or group.
If several events or groups are processed for the same stream, this value
- will be overrideen.
+ will be overridden.
See also: "option set-total-time".
- "set-cookie-fmt <fmt>"
It is equivaliant to the option above, except the "Set-Cookie" header
will be filled with the result of the log-format string <fmt>
- evaluation. Be carefull to respect the "NAME[=value]" format because no
+ evaluation. Be careful to respect the "NAME[=value]" format because no
special check are performed during the configuration parsing.
- "clear-cookie NAME[=]"
defined period. The factor must be greater than 0 and lower or
equal to 1024.
- [recv-only] indicates that we don't intent to use the table to perform
- updates on it, but thay we only plan on using the table to
+ [recv-only] indicates that we don't intend to use the table to perform
+ updates on it, but that we only plan on using the table to
retrieve data from a remote peer which we are interested in.
Indeed, the use of this keyword enables the retrieval of
local-only values such as conn_cur that are not learned by
The "init-state" option sets the initial state of the server:
- when set to 'fully-up', the server is considered immediately available
- and can turn to the DOWN sate when ALL health checks fail.
+ and can turn to the DOWN state when ALL health checks fail.
- when set to 'up' (the default), the server is considered immediately
available and will initiate a health check that can turn it to the DOWN
state immediately if it fails.
using an "agent-check" or through the runtime api.
* prevent-dup-ip
- Ensure HAProxy's default behavior is enforced on a server: prevent re-using
+ Ensure HAProxy's default behavior is enforced on a server: prevent reusing
an IP address already set to a server in the same backend and sharing the
same fqdn.
This is the opposite of allow-dup-ip.
extern void (*const pat_prune_fcts[PAT_MATCH_NUM])(struct pattern_expr *);
extern struct pattern *(*const pat_match_fcts[PAT_MATCH_NUM])(struct sample *, struct pattern_expr *, int);
-/* This is the root of the list of all pattern_ref avalaibles. */
+/* This is the root of the list of all available pattern_ref values. */
extern struct list pattern_reference;
int pattern_finalize_config(void);
PARSE_TYPE_NONE = 0,
PARSE_TYPE_INT,
PARSE_TYPE_STR, /* string which is strdup() */
- PARSE_TYPE_ARRAY_SUBSTR, /* string splitted by colons into an array of substring */
+ PARSE_TYPE_ARRAY_SUBSTR, /* string split by colons into an array of substring */
PARSE_TYPE_ONOFF, /* "on" or "off" keyword */
};
/* The time might have jumped either backwards or forwards during tasks
* processing. It's easy to detect a backwards jump, but a forward jump
- * needs a marging. Here the upper limit of 2 seconds corresponds to a
+ * needs a margin. Here the upper limit of 2 seconds corresponds to a
* large margin at which the watchdog would already trigger so it looks
* sufficient to avoid false positives most of the time. The goal here
* is to make sure that before_poll can be trusted when entering
goto fail;
}
- /* Check the number of blocks agains "tune.http.maxhdr" value before adding EOH block */
+ /* Check the number of blocks against "tune.http.maxhdr" value before adding EOH block */
if (htx_nbblks(htx) > global.tune.max_http_hdr)
goto fail;
*/
}
- /* Check the number of blocks agains "tune.http.maxhdr" value before adding EOH block */
+ /* Check the number of blocks against "tune.http.maxhdr" value before adding EOH block */
if (htx_nbblks(htx) > global.tune.max_http_hdr)
goto fail;
goto fail;
}
- /* Check the number of blocks agains "tune.http.maxhdr" value before adding EOT block */
+ /* Check the number of blocks against "tune.http.maxhdr" value before adding EOT block */
if (htx_nbblks(htx) > global.tune.max_http_hdr)
goto fail;
}
}
- /* Check the number of blocks agains "tune.http.maxhdr" value before adding EOH block */
+ /* Check the number of blocks against "tune.http.maxhdr" value before adding EOH block */
if (htx_nbblks(htx) > global.tune.max_http_hdr) {
len = -1;
goto out;
++hdr_idx;
}
- /* Check the number of blocks agains "tune.http.maxhdr" value before adding EOT block */
+ /* Check the number of blocks against "tune.http.maxhdr" value before adding EOT block */
if (htx_nbblks(htx) > global.tune.max_http_hdr) {
len = -1;
goto out;
/* Wrapper to retrieve the number of instructions between two interrupts
* depending on user settings and current hlua context. If not already
- * explicitly set, we compute the ideal value using hard limits releaved
+ * explicitly set, we compute the ideal value using hard limits revealed
* by Thierry Fournier's work, whose original notes may be found below:
*
* --
hlua_timer_init(&hlua->timer, hlua_timeout_task);
/* make sure to reset the task expiry before each hlua_ctx_resume()
- * since the task is re-used for multiple cb function calls
+ * since the task is reused for multiple cb function calls
* We couldn't risk to have t->expire pointing to a past date because
* it was set during last function invocation but was never reset since
* (ie: E_AGAIN)
* extremely large and watchdog will kill the process, when it will try
* to loop over the fdtab (see fd_reregister_all). Please note, that
* fd_hard_limit is taken in account implicitly via 'ideal_maxconn'
- * value in all global.maxconn adjustements, when global.rlimit_memmax
+ * value in all global.maxconn adjustments, when global.rlimit_memmax
* is set:
*
* MIN(global.maxconn, capped by global.rlimit_memmax, ideal_maxconn);
* a bit complex due to some API limits for now. The rules are the following :
* - if an error or a shutdown was detected on the connection,
we must not attempt to receive
- * - if we're subscribed for receving, no need to try again
+ * - if we're subscribed for receiving, no need to try again
* - if the demux buf failed to be allocated, we must not try to receive and
* we know there is nothing pending (we'll be woken up once allocated)
* - if the demux buf is full, we will not be able to receive.
else {
/* Both headers are missing */
if (h1m->flags & H1_MF_RESP) {
- /* It is a esponse: Switch to unknown xfer length */
+ /* It is a response: Switch to unknown xfer length */
h1m->flags &= ~(H1_MF_XFER_LEN|H1_MF_XFER_ENC|H1_MF_CLEN|H1_MF_CHNK);
h1s->flags &= ~(H1S_F_HAVE_CLEN|H1S_F_HAVE_CHNK);
TRACE_STATE("Switch response to unknown XFER length", H1_EV_TX_DATA|H1_EV_TX_HDRS, h1c->conn, h1s);
* a bit complex due to some API limits for now. The rules are the following :
* - if an error or a shutdown was detected on the connection, we must not
* attempt to receive
- * - if we're subscribed for receving, no need to try again
+ * - if we're subscribed for receiving, no need to try again
* - if the demux buf failed to be allocated, we must not try to receive and
* we know there is nothing pending (we'll be woken up once allocated)
* - if the demux buf is full, we will not be able to receive.
* has already been closed locally. This is useful to not emit multiple
* RESET_STREAM for a single stream. This is functional if stream is
* locally closed due to all data transmitted, but in this case the RFC
- * advices to use an explicit RESET_STREAM.
+ * advises to use an explicit RESET_STREAM.
*/
if (qcs_is_close_local(qcs)) {
TRACE_STATE("ignoring STOP_SENDING", QMUX_EV_QCC_RECV|QMUX_EV_QCS_RECV, qcc->conn, qcs);
static THREAD_LOCAL struct pattern static_pattern;
static THREAD_LOCAL struct sample_data static_sample_data;
-/* This is the root of the list of all pattern_ref avalaibles. */
+/* This is the root of the list of all available pattern_ref values. */
struct list pattern_reference = LIST_HEAD_INIT(pattern_reference);
static THREAD_LOCAL struct lru64_head *pat_lru_tree;
conn_id = eb64_entry(node, struct quic_connection_id, seq_num);
/* Rebinding is considered done when CID points to the new
- * thread. quic-conn instance cannot be derefence after it.
+ * thread. quic-conn instance cannot be dereferenced after it.
*/
HA_ATOMIC_STORE(&conn_id->tid, new_tid);
qc = NULL;
/* Validate the token, retry or not (provided by NEW_TOKEN) parsed into
* <pkt> RX packet from <dgram> datagram.
- * Return 1 if succeded, 0 if not.
+ * Return 1 if succeeded, 0 if not.
*/
static inline int quic_token_validate(struct quic_rx_packet *pkt,
struct quic_dgram *dgram,
}
/* Ensure early-data encryption is not inserted at the end of this ->qel_list
- * list. This would perturbate the sender during handshakes. This latter adds
+ * list. This would disrupt the sender during handshakes. This latter adds
* PADDING frames to datagrams from the last encryption level in this list,
* for datagram with at least an ack-eliciting Initial packet inside.
* But a QUIC server has nothing to send from this early-data encryption
/* directly create a sink of BUF type, and use UNSPEC log format to
* inherit from caller fmt in sink_write()
*
- * sink_name must be unique to prevent existing sink from being re-used
+ * sink_name must be unique to prevent existing sink from being reused
*/
sink = sink_new_buf(sink_name, trash.area, LOG_FORMAT_UNSPEC, bufsize);
ha_free(&sink_name); // no longer needed
/* dst_fd is always open in the worker process context because
* it's inherited from the master via -x cmd option. It's closed
- * futher in main (after bind_listeners()) and not here for the
+ * further in main (after bind_listeners()) and not here for the
* simplicity. In main(), after bind_listeners(), it's safe just
* to loop over all workers list, launched before this reload and
* to close its ipc_fd[0], thus we also close this fd. If we
int n = 0;
char *b, *e;
- /* split a string into substring splitted by colons */
+ /* split a string into substring split by colons */
e = b = args[cur_arg + 1];
do {
/* The event representation is split like this :
* strm - stream
* sc - stream connector
- * http - http analyzis
- * tcp - tcp analyzis
+ * http - http analysis
+ * tcp - tcp analysis
*
* STRM_EV_* macros are defined in <proto/stream.h>
*/
{ .mask = STRM_EV_CS_ST, .name = "sc_state", .desc = "processing connector states" },
{ .mask = STRM_EV_HTTP_ANA, .name = "http_ana", .desc = "HTTP analyzers" },
- { .mask = STRM_EV_HTTP_ERR, .name = "http_err", .desc = "error during HTTP analyzis" },
+ { .mask = STRM_EV_HTTP_ERR, .name = "http_err", .desc = "error during HTTP analysis" },
{ .mask = STRM_EV_TCP_ANA, .name = "tcp_ana", .desc = "TCP analyzers" },
- { .mask = STRM_EV_TCP_ERR, .name = "tcp_err", .desc = "error during TCP analyzis" },
+ { .mask = STRM_EV_TCP_ERR, .name = "tcp_err", .desc = "error during TCP analysis" },
{ .mask = STRM_EV_FLT_ANA, .name = "flt_ana", .desc = "Filter analyzers" },
- { .mask = STRM_EV_FLT_ERR, .name = "flt_err", .desc = "error during filter analyzis" },
+ { .mask = STRM_EV_FLT_ERR, .name = "flt_err", .desc = "error during filter analysis" },
{}
};
}
- /* Se the max connection retries for the stream. may be overwriten later */
+ /* Se the max connection retries for the stream. may be overwritten later */
s->max_retries = s->be->conn_retries;
/* we don't want to run the TCP or HTTP filters again if the backend has not changed */
* and that removal will be done under isolation anyway. Thus by
* decrementing served after detaching from the list, we're
* guaranteeing that served==0 implies that no stream is in the
- * list anymore, which is a sufficient guarantee for tha goal.
+ * list anymore, which is a sufficient guarantee for that goal.
*/
_HA_ATOMIC_DEC(&oldsrv->proxy->served);
stream_del_srv_conn(strm);
}
}
-/* Context-less function to append a complet dump of a stream state onto the
+/* Context-less function to append a complete dump of a stream state onto the
* buffer. It relies on __strm_dump_to_buffer.
*/
void strm_dump_to_buffer(struct buffer *buf, const struct stream *strm, const char *pfx, uint32_t anon_key)
/* Restores **environ from backup created by backup_env(). Must be always
* preceded by clean_env() in order to properly restore the process environment.
* global init_env ptr array must be freed by the upper layers.
- * Returns 0 on sucess and -1 in case if the process has run out of memory. If
+ * Returns 0 on success and -1 in case if the process has run out of memory. If
* setenv() fails with EINVAL or the parsed string doesn't contain '=' (the
* latter is mandatory format for strings kept in **environ), emits warning and
* continues. This allows to terminate the process at the startup stage, if it