]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: proto_quic: add proto name in alert
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 10 Apr 2024 13:18:25 +0000 (15:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Apr 2024 16:51:50 +0000 (18:51 +0200)
In quic_alloc_dghdlrs() add proto name in the last alert. This helps to
identify potential problem immediately and makes log messages more uniform.

src/proto_quic.c

index 899cffebf243da5049f43b3ba9ddfc1728952183..d7559e737051b1ea94a780a2a3a2be5a71bdf6f2 100644 (file)
@@ -762,7 +762,7 @@ static int quic_alloc_dghdlrs(void)
 
        quic_cid_trees = calloc(QUIC_CID_TREES_CNT, sizeof(*quic_cid_trees));
        if (!quic_cid_trees) {
-               ha_alert("Failed to allocate global CIDs trees.\n");
+               ha_alert("Failed to allocate global quic CIDs trees.\n");
                return 0;
        }