mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 01:54:08 +02:00
MINOR: mux: remove last occurences of qcc ring buffer
The mux tx buffers have been rewritten with buffers attached to qcs instances. qc_buf_available and qc_get_buf functions are updated to manipulates qcs. All occurences of the unused qcc ring buffer are removed to ease the code maintenance.
This commit is contained in:
@@ -89,9 +89,6 @@ enum qcs_type {
|
||||
QCS_MAX_TYPES,
|
||||
};
|
||||
|
||||
/* 32 buffers: one for the ring's root, rest for the mbuf itself */
|
||||
#define QCC_MBUF_CNT 32
|
||||
|
||||
/* Stream direction types */
|
||||
enum qcs_dir {
|
||||
QCS_BIDI = 0,
|
||||
@@ -139,9 +136,6 @@ struct qcc {
|
||||
|
||||
struct eb_root streams_by_id; /* all active streams by their ID */
|
||||
|
||||
/* states for the mux direction */
|
||||
struct buffer mbuf[QCC_MBUF_CNT]; /* mux buffers (ring) */
|
||||
|
||||
int timeout; /* idle timeout duration in ticks */
|
||||
int shut_timeout; /* idle timeout duration in ticks after GOAWAY was sent */
|
||||
unsigned int nb_cs; /* number of attached conn_streams */
|
||||
|
||||
@@ -31,9 +31,8 @@
|
||||
#include <haproxy/obj_type.h>
|
||||
|
||||
void quic_mux_transport_params_update(struct qcc *qcc);
|
||||
struct buffer *qc_get_buf(struct qcc *qcc, struct buffer *bptr);
|
||||
int qc_cpy_mbuf(struct qcs *qcs, unsigned char *buf, size_t len);
|
||||
void qc_error(struct qcc *qcc, int err);
|
||||
struct buffer *qc_get_buf(struct qcs *qcs, struct buffer *bptr);
|
||||
struct qcs *qcc_get_stream(struct qcc *qcc, uint64_t id);
|
||||
struct qcs *bidi_qcs_new(struct qcc *qcc, uint64_t id);
|
||||
struct qcs *luqs_new(struct qcc *qcc);
|
||||
|
||||
Reference in New Issue
Block a user