mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +02:00
MINOR: build: Fix build in mux_h1
We want to check if the input buffer contains data, not the connection. This should unbreak the build.
This commit is contained in:
parent
69664419d2
commit
c3500c3ccd
@ -2492,7 +2492,7 @@ static void h1_detach(struct conn_stream *cs)
|
||||
}
|
||||
else {
|
||||
/* If we have a new request, process it immediately */
|
||||
if (unlikely(b_data(&h1c->conn)))
|
||||
if (unlikely(b_data(&h1c->ibuf)))
|
||||
h1_process(h1c);
|
||||
else
|
||||
h1c->conn->xprt->subscribe(h1c->conn, h1c->conn->xprt_ctx, SUB_RETRY_RECV, &h1c->wait_event);
|
||||
|
Loading…
Reference in New Issue
Block a user