diff options
author | Roman Arutyunyan <arut@nginx.com> | 2022-01-13 11:34:42 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2022-01-13 11:34:42 +0300 |
commit | 2ba20e3451ca5f31ad7a9811081b85d92472082c (patch) | |
tree | 6189530afc7367ea33d7ef5a9c6bc257f891073c /src/event/quic/ngx_event_quic_frames.h | |
parent | 2f28342e088b61e1605391ada79db703f047c5f2 (diff) | |
download | nginx-2ba20e3451ca5f31ad7a9811081b85d92472082c.tar.gz nginx-2ba20e3451ca5f31ad7a9811081b85d92472082c.zip |
QUIC: return written size from ngx_quic_write_chain().
This allows to escape calculating it before calling the function.
Diffstat (limited to 'src/event/quic/ngx_event_quic_frames.h')
-rw-r--r-- | src/event/quic/ngx_event_quic_frames.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_frames.h b/src/event/quic/ngx_event_quic_frames.h index 45505601f..b06575d4e 100644 --- a/src/event/quic/ngx_event_quic_frames.h +++ b/src/event/quic/ngx_event_quic_frames.h @@ -31,7 +31,7 @@ void ngx_quic_free_chain(ngx_connection_t *c, ngx_chain_t *in); ngx_chain_t *ngx_quic_read_chain(ngx_connection_t *c, ngx_chain_t **chain, off_t limit); ngx_chain_t *ngx_quic_write_chain(ngx_connection_t *c, ngx_chain_t **chain, - ngx_chain_t *in, off_t limit, off_t offset); + ngx_chain_t *in, off_t limit, off_t offset, size_t *size); #if (NGX_DEBUG) void ngx_quic_log_frame(ngx_log_t *log, ngx_quic_frame_t *f, ngx_uint_t tx); |