mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
CLEANUP: fix a few reported typos in code comments
These are only the few relevant changes among those reported here: https://github.com/haproxy/haproxy/actions/runs/4856148287/jobs/8655397661
This commit is contained in:
parent
615c301db4
commit
dd9f921b3a
@ -34,7 +34,7 @@ extern int sock_inet6_tcp_maxseg_default;
|
|||||||
extern struct proto_fam proto_fam_inet4;
|
extern struct proto_fam proto_fam_inet4;
|
||||||
extern struct proto_fam proto_fam_inet6;
|
extern struct proto_fam proto_fam_inet6;
|
||||||
|
|
||||||
/* extrenal types */
|
/* external types */
|
||||||
struct receiver;
|
struct receiver;
|
||||||
|
|
||||||
int sock_inet4_addrcmp(const struct sockaddr_storage *a, const struct sockaddr_storage *b);
|
int sock_inet4_addrcmp(const struct sockaddr_storage *a, const struct sockaddr_storage *b);
|
||||||
|
@ -2682,7 +2682,7 @@ int pcli_wait_for_request(struct stream *s, struct channel *req, int an_bit)
|
|||||||
|
|
||||||
send_status:
|
send_status:
|
||||||
s->pcli_flags |= PCLI_F_RELOAD;
|
s->pcli_flags |= PCLI_F_RELOAD;
|
||||||
/* dont' use ci_putblk here because SHUT_DONE could have been sent */
|
/* don't use ci_putblk here because SHUT_DONE could have been sent */
|
||||||
b_reset(&req->buf);
|
b_reset(&req->buf);
|
||||||
b_putblk(&req->buf, "_loadstatus;quit\n", 17);
|
b_putblk(&req->buf, "_loadstatus;quit\n", 17);
|
||||||
goto read_again;
|
goto read_again;
|
||||||
|
@ -6131,7 +6131,7 @@ static inline const struct quic_version *qc_supported_version(uint32_t version)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Parse a QUIC packet header starting at <pos> postion without exceeding <end>.
|
/* Parse a QUIC packet header starting at <pos> position without exceeding <end>.
|
||||||
* Version and type are stored in <pkt> packet instance. Type is set to unknown
|
* Version and type are stored in <pkt> packet instance. Type is set to unknown
|
||||||
* on two occasions : for unsupported version, in this case version field is
|
* on two occasions : for unsupported version, in this case version field is
|
||||||
* set to NULL; for Version Negotiation packet with version number set to 0.
|
* set to NULL; for Version Negotiation packet with version number set to 0.
|
||||||
@ -8373,7 +8373,7 @@ int qc_check_dcid(struct quic_conn *qc, unsigned char *dcid, size_t dcid_len)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Retrieve the DCID from a QUIC datagram or packet at <pos> postition,
|
/* Retrieve the DCID from a QUIC datagram or packet at <pos> position,
|
||||||
* <end> being at one byte past the end of this datagram.
|
* <end> being at one byte past the end of this datagram.
|
||||||
* Returns 1 if succeeded, 0 if not.
|
* Returns 1 if succeeded, 0 if not.
|
||||||
*/
|
*/
|
||||||
|
@ -2048,7 +2048,7 @@ enum tcpcheck_eval_ret tcpcheck_eval_expect(struct check *check, struct tcpcheck
|
|||||||
|
|
||||||
case TCPCHK_EXPECT_CUSTOM:
|
case TCPCHK_EXPECT_CUSTOM:
|
||||||
/* Don't eval custom function if the buffer is empty. It means
|
/* Don't eval custom function if the buffer is empty. It means
|
||||||
* cusstom functions can't expect an empty response. If this
|
* custom functions can't expect an empty response. If this
|
||||||
* change, don't forget to change this test and update all
|
* change, don't forget to change this test and update all
|
||||||
* custom functions.
|
* custom functions.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user