aboutsummaryrefslogtreecommitdiff
path: root/lib/vquic/quiche.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vquic/quiche.c')
-rw-r--r--lib/vquic/quiche.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index a17bd6a1c..7968f7e17 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -442,7 +442,7 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
buf[0] = '\r';
buf[1] = '\n';
buf += 2;
- buffersize = 2;
+ buffersize -= 2;
stream->firstbody = TRUE;
recvd = 2; /* two bytes already */
}