aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_quic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c
index 9bc7aab09..1965ed907 100644
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -2849,8 +2849,9 @@ ngx_quic_stream_send_chain(ngx_connection_t *c, ngx_chain_t *in,
return in;
}
+ b->pos += n;
+
if (n != (ssize_t) len) {
- b->pos += n;
return in;
}
}