]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: quic: No more used q_buf structure
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 24 Apr 2023 14:25:29 +0000 (16:25 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Tue, 9 May 2023 08:48:40 +0000 (10:48 +0200)
This definition is no more used.

Should be backported to 2.7.

include/haproxy/quic_conn-t.h

index 9bd9119147bc4e3c3154cfab8fd9d170f5593a16..366ff344b9354417226e153fc9f353187058c85b 100644 (file)
@@ -521,20 +521,6 @@ struct quic_crypto_buf {
        size_t sz;
 };
 
-/* QUIC buffer structure used to build outgoing packets. */
-struct q_buf {
-       /* Points to the data in this buffer. */
-       unsigned char *area;
-       /* Points to the current position to write into this buffer. */
-       unsigned char *pos;
-       /* Point to the end of this buffer past one. */
-       const unsigned char *end;
-       /* The number of data bytes in this buffer. */
-       size_t data;
-       /* The list of packets attached to this buffer which have not been already sent. */
-       struct list pkts;
-};
-
 /* Crypto data stream (one by encryption level) */
 struct quic_cstream {
        struct {