mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
CLEANUP: assorted typo fixes in the code and comments This is 29th iteration of typo fixes
This commit is contained in:
parent
f5e94b2f47
commit
5e87bcf870
@ -5876,7 +5876,7 @@ http-check set-var-fmt(<var-name>[,<cond> ...]) <fmt>
|
|||||||
|
|
||||||
<cond> A set of conditions that must all be true for the variable to
|
<cond> A set of conditions that must all be true for the variable to
|
||||||
actually be set (such as "ifnotempty", "ifgt" ...). See the
|
actually be set (such as "ifnotempty", "ifgt" ...). See the
|
||||||
set-var converter's decription for a full list of possible
|
set-var converter's description for a full list of possible
|
||||||
conditions.
|
conditions.
|
||||||
|
|
||||||
<expr> Is a sample-fetch expression potentially followed by converters.
|
<expr> Is a sample-fetch expression potentially followed by converters.
|
||||||
@ -6967,7 +6967,7 @@ http-request set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condi
|
|||||||
|
|
||||||
<cond> A set of conditions that must all be true for the variable to
|
<cond> A set of conditions that must all be true for the variable to
|
||||||
actually be set (such as "ifnotempty", "ifgt" ...). See the
|
actually be set (such as "ifnotempty", "ifgt" ...). See the
|
||||||
set-var converter's decription for a full list of possible
|
set-var converter's description for a full list of possible
|
||||||
conditions.
|
conditions.
|
||||||
|
|
||||||
<expr> Is a standard HAProxy expression formed by a sample-fetch
|
<expr> Is a standard HAProxy expression formed by a sample-fetch
|
||||||
@ -11945,7 +11945,7 @@ tcp-check set-var-fmt(<var-name>[,<cond> ...]) <fmt>
|
|||||||
|
|
||||||
<cond> A set of conditions that must all be true for the variable to
|
<cond> A set of conditions that must all be true for the variable to
|
||||||
actually be set (such as "ifnotempty", "ifgt" ...). See the
|
actually be set (such as "ifnotempty", "ifgt" ...). See the
|
||||||
set-var converter's decription for a full list of possible
|
set-var converter's description for a full list of possible
|
||||||
conditions.
|
conditions.
|
||||||
|
|
||||||
<expr> Is a sample-fetch expression potentially followed by converters.
|
<expr> Is a sample-fetch expression potentially followed by converters.
|
||||||
|
@ -108,7 +108,7 @@ LIST_ELEM(l, t, m)
|
|||||||
function or macro since it's used only once.
|
function or macro since it's used only once.
|
||||||
|
|
||||||
LIST_ISEMPTY(l)
|
LIST_ISEMPTY(l)
|
||||||
Check if the list head <l> is empty (=initialied) or not, and return
|
Check if the list head <l> is empty (=initialized) or not, and return
|
||||||
non-zero only if so.
|
non-zero only if so.
|
||||||
|
|
||||||
LIST_INLIST(e)
|
LIST_INLIST(e)
|
||||||
|
@ -189,7 +189,7 @@ state field before the call to ->process()
|
|||||||
|
|
||||||
- TASK_WOKEN_RES a resource the task was waiting for was finally made
|
- TASK_WOKEN_RES a resource the task was waiting for was finally made
|
||||||
available, allowing the task to continue its work. This
|
available, allowing the task to continue its work. This
|
||||||
is essentially used by buffers and queues. Applcations
|
is essentially used by buffers and queues. Applications
|
||||||
may carefully use it for their own purpose if they're
|
may carefully use it for their own purpose if they're
|
||||||
certain not to rely on existing ones.
|
certain not to rely on existing ones.
|
||||||
|
|
||||||
|
@ -543,7 +543,7 @@ static inline void quic_tls_ku_free(struct quic_conn *qc)
|
|||||||
|
|
||||||
/* Initialize <kp> key update secrets, allocating the required memory.
|
/* Initialize <kp> key update secrets, allocating the required memory.
|
||||||
* Return 1 if all the secrets could be allocated, 0 if not.
|
* Return 1 if all the secrets could be allocated, 0 if not.
|
||||||
* This is the responsability of the caller to release the memory
|
* This is the responsibility of the caller to release the memory
|
||||||
* allocated by this function in case of failure.
|
* allocated by this function in case of failure.
|
||||||
*/
|
*/
|
||||||
static inline int quic_tls_kp_init(struct quic_tls_kp *kp)
|
static inline int quic_tls_kp_init(struct quic_tls_kp *kp)
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#define VF_COND_IFSET 0x00000040 // only set variable if its type is not SMP_TYPE_ANY
|
#define VF_COND_IFSET 0x00000040 // only set variable if its type is not SMP_TYPE_ANY
|
||||||
#define VF_COND_IFNOTSET 0x00000080 // only set variable if its type is ANY
|
#define VF_COND_IFNOTSET 0x00000080 // only set variable if its type is ANY
|
||||||
#define VF_COND_IFGT 0x00000100 // only set variable if its value is greater than the sample's
|
#define VF_COND_IFGT 0x00000100 // only set variable if its value is greater than the sample's
|
||||||
#define VF_COND_IFLT 0x00000200 // ony set variable if its value is less than the sample's
|
#define VF_COND_IFLT 0x00000200 // only set variable if its value is less than the sample's
|
||||||
|
|
||||||
enum vars_scope {
|
enum vars_scope {
|
||||||
SCOPE_SESS = 0,
|
SCOPE_SESS = 0,
|
||||||
|
@ -642,7 +642,7 @@ struct quic_conn {
|
|||||||
struct ebmb_node odcid_node;
|
struct ebmb_node odcid_node;
|
||||||
struct quic_cid odcid;
|
struct quic_cid odcid;
|
||||||
|
|
||||||
struct quic_cid dcid; /* DCID of our endpoint - not updated whan a new DCID is used */
|
struct quic_cid dcid; /* DCID of our endpoint - not updated when a new DCID is used */
|
||||||
struct ebmb_node scid_node; /* used only for client side (backend) */
|
struct ebmb_node scid_node; /* used only for client side (backend) */
|
||||||
struct quic_cid scid; /* first SCID of our endpoint - not updated when a new SCID is used */
|
struct quic_cid scid; /* first SCID of our endpoint - not updated when a new SCID is used */
|
||||||
struct eb_root cids; /* tree of quic_connection_id - used to match a received packet DCID with a connection */
|
struct eb_root cids; /* tree of quic_connection_id - used to match a received packet DCID with a connection */
|
||||||
|
@ -2400,7 +2400,7 @@ int pcli_wait_for_request(struct stream *s, struct channel *req, int an_bit)
|
|||||||
int to_forward;
|
int to_forward;
|
||||||
char *errmsg = NULL;
|
char *errmsg = NULL;
|
||||||
|
|
||||||
/* Don't read the next command if still processing the reponse of the
|
/* Don't read the next command if still processing the response of the
|
||||||
* current one. Just wait. At this stage, errors should be handled by
|
* current one. Just wait. At this stage, errors should be handled by
|
||||||
* the response analyzer.
|
* the response analyzer.
|
||||||
*/
|
*/
|
||||||
|
@ -141,7 +141,7 @@ static size_t hq_interop_snd_buf(struct conn_stream *cs, struct buffer *buf,
|
|||||||
htx_cut_data_blk(htx, blk, fsize);
|
htx_cut_data_blk(htx, blk, fsize);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* only body is transfered on HTTP/0.9 */
|
/* only body is transferred on HTTP/0.9 */
|
||||||
case HTX_BLK_RES_SL:
|
case HTX_BLK_RES_SL:
|
||||||
case HTX_BLK_TLR:
|
case HTX_BLK_TLR:
|
||||||
case HTX_BLK_EOT:
|
case HTX_BLK_EOT:
|
||||||
|
@ -189,7 +189,7 @@ struct eb64_node *qcc_get_qcs(struct qcc *qcc, uint64_t id)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* detachs the QUIC stream from its QCC and releases it to the QCS pool. */
|
/* detaches the QUIC stream from its QCC and releases it to the QCS pool. */
|
||||||
static void qcs_destroy(struct qcs *qcs)
|
static void qcs_destroy(struct qcs *qcs)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s: release stream %llu\n", __func__, qcs->by_id.key);
|
fprintf(stderr, "%s: release stream %llu\n", __func__, qcs->by_id.key);
|
||||||
|
@ -359,7 +359,7 @@ static inline void var_clear_buffer(struct sample *smp, struct vars *vars, struc
|
|||||||
* - VF_COND_IFSET: only set variable if its type is not SMP_TYPE_ANY
|
* - VF_COND_IFSET: only set variable if its type is not SMP_TYPE_ANY
|
||||||
* - VF_COND_IFNOTSET: only set variable if its type is ANY
|
* - VF_COND_IFNOTSET: only set variable if its type is ANY
|
||||||
* - VF_COND_IFGT: only set variable if its value is greater than the sample's
|
* - VF_COND_IFGT: only set variable if its value is greater than the sample's
|
||||||
* - VF_COND_IFLT: ony set variable if its value is less than the sample's
|
* - VF_COND_IFLT: only set variable if its value is less than the sample's
|
||||||
*
|
*
|
||||||
* It returns 0 on failure, non-zero on success.
|
* It returns 0 on failure, non-zero on success.
|
||||||
*/
|
*/
|
||||||
|
@ -4627,7 +4627,7 @@ static int qc_do_build_pkt(unsigned char *pos, const unsigned char *end,
|
|||||||
padding_len = QUIC_INITIAL_PACKET_MINLEN - dglen;
|
padding_len = QUIC_INITIAL_PACKET_MINLEN - dglen;
|
||||||
/* The length field value is of this packet is <len> + <padding_len>
|
/* The length field value is of this packet is <len> + <padding_len>
|
||||||
* the size of which may be greater than the initial computed size
|
* the size of which may be greater than the initial computed size
|
||||||
* <len_sz>. So, let's deduce the difference betwen these to packet
|
* <len_sz>. So, let's deduce the difference between these to packet
|
||||||
* sizes from <padding_len>.
|
* sizes from <padding_len>.
|
||||||
*/
|
*/
|
||||||
padding_len -= quic_int_getsize(len + padding_len) - len_sz;
|
padding_len -= quic_int_getsize(len + padding_len) - len_sz;
|
||||||
|
Loading…
Reference in New Issue
Block a user