]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: quic: remove unused QUIC_LOCK label
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 3 Apr 2023 13:06:43 +0000 (15:06 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 18 Apr 2023 14:20:47 +0000 (16:20 +0200)
QUIC_LOCK label is never used. Indeed, lock usage is minimal on QUIC as
every connection is pinned to its owned thread.

This should be backported up to 2.7.

include/haproxy/thread.h
src/thread.c

index 67ceba30fa29f928126819815c1bab5b99552594..b504ab675ebe7814dcc4ae44b18a1e9ce2d3aa1a 100644 (file)
@@ -423,7 +423,6 @@ enum lock_label {
        SSL_SERVER_LOCK,
        SFT_LOCK, /* sink forward target */
        IDLE_CONNS_LOCK,
-       QUIC_LOCK,
        OCSP_LOCK,
        OTHER_LOCK,
        /* WT: make sure never to use these ones outside of development,
index 84d39d7c3f661f52a5f620388c026c11ee40f62a..6001f8c443b5890cfb717a0556b50fd7438f481b 100644 (file)
@@ -442,7 +442,6 @@ static const char *lock_label(enum lock_label label)
        case SSL_SERVER_LOCK:      return "SSL_SERVER";
        case SFT_LOCK:             return "SFT";
        case IDLE_CONNS_LOCK:      return "IDLE_CONNS";
-       case QUIC_LOCK:            return "QUIC";
        case OCSP_LOCK:            return "OCSP";
        case OTHER_LOCK:           return "OTHER";
        case DEBUG1_LOCK:          return "DEBUG1";