summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy.h b/proxy.h
index 1c44ef3..4d88867 100644
--- a/proxy.h
+++ b/proxy.h
@@ -310,7 +310,8 @@ struct mcp_backend_s {
void *client; // mcmc client
STAILQ_ENTRY(mcp_backend_s) be_next; // stack for backends
io_head_t io_head; // stack of requests.
- char *rbuf; // static allocated read buffer.
+ char *rbuf; // statically allocated read buffer.
+ size_t rbufused; // currently active bytes in the buffer
struct event event; // libevent
#ifdef HAVE_LIBURING
proxy_event_t ur_rd_ev; // liburing.