mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
ngtcp2: fix the cb_acked_stream_data_offset proto
The 'datalen' value should be 64 bit, not size_t! Reported-by: Dmitry Karpov Bug: https://curl.se/mail/lib-2021-05/0019.html Closes #7027
This commit is contained in:
parent
68027623e2
commit
5c53bd980b
@ -603,7 +603,7 @@ static int cb_recv_stream_data(ngtcp2_conn *tconn, uint32_t flags,
|
||||
|
||||
static int
|
||||
cb_acked_stream_data_offset(ngtcp2_conn *tconn, int64_t stream_id,
|
||||
uint64_t offset, size_t datalen, void *user_data,
|
||||
uint64_t offset, uint64_t datalen, void *user_data,
|
||||
void *stream_user_data)
|
||||
{
|
||||
struct quicsocket *qs = (struct quicsocket *)user_data;
|
||||
|
Loading…
Reference in New Issue
Block a user