|
71 | 71 | #include "curl_ngtcp2.h" |
72 | 72 |
|
73 | 73 |
|
74 | | -/* The last 3 #include files should be in this order */ |
75 | | -#include "../curl_printf.h" |
76 | | -#include "../curl_memory.h" |
77 | | -#include "../memdebug.h" |
78 | | - |
79 | | - |
80 | 74 | #define QUIC_MAX_STREAMS (256 * 1024) |
81 | 75 | #define QUIC_MAX_DATA (1 * 1024 * 1024) |
82 | 76 | #define QUIC_HANDSHAKE_TIMEOUT (10 * NGTCP2_SECONDS) |
@@ -1798,7 +1792,7 @@ static CURLcode cf_ngtcp2_recv_pkts(const unsigned char *buf, size_t buflen, |
1798 | 1792 | int rv; |
1799 | 1793 |
|
1800 | 1794 | if(!rctx->pkt_count) { |
1801 | | - pktx_update_time(pktx->data, pktx, pktx->cf); |
| 1795 | + pktx_update_time(pktx, pktx->cf); |
1802 | 1796 | ngtcp2_path_storage_zero(&pktx->ps); |
1803 | 1797 | } |
1804 | 1798 |
|
@@ -1914,8 +1908,8 @@ static CURLcode read_pkt_to_send(void *userp, |
1914 | 1908 | struct h3_stream_ctx *stream = H3_STREAM_CTX(ctx, x->data); |
1915 | 1909 | DEBUGASSERT(ndatalen == -1); |
1916 | 1910 | nghttp3_conn_block_stream(ctx->h3conn, stream_id); |
1917 | | - CURL_TRC_CF(x->data, x->cf, "[%" FMT_PRId64 "] block quic flow", |
1918 | | - (curl_int64_t)stream_id); |
| 1911 | + CURL_TRC_CF(x->data, x->cf, "[%" PRId64 "] block quic flow", |
| 1912 | + stream_id); |
1919 | 1913 | DEBUGASSERT(stream); |
1920 | 1914 | if(stream) |
1921 | 1915 | stream->quic_flow_blocked = TRUE; |
@@ -1977,7 +1971,7 @@ static CURLcode cf_progress_egress(struct Curl_cfilter *cf, |
1977 | 1971 | pktx = &local_pktx; |
1978 | 1972 | } |
1979 | 1973 | else { |
1980 | | - pktx_update_time(data, pktx, cf); |
| 1974 | + pktx_update_time(pktx, cf); |
1981 | 1975 | ngtcp2_path_storage_zero(&pktx->ps); |
1982 | 1976 | } |
1983 | 1977 |
|
|
0 commit comments