From: Tatsuhiro Tsujikawa Date: Mon, 9 Aug 2021 13:24:16 +0000 (+0900) Subject: ngtcp2: replace deprecated functions with nghttp3_conn_shutdown_stream_read X-Git-Tag: curl-7_79_0~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dff44c2955d8d0f769f0a45f3afe0f3097f074b9;p=thirdparty%2Fcurl.git ngtcp2: replace deprecated functions with nghttp3_conn_shutdown_stream_read Closes #7546 --- diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 4ed07072b5..107fcb8c17 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -653,7 +653,7 @@ static int cb_stream_reset(ngtcp2_conn *tconn, int64_t stream_id, (void)app_error_code; (void)stream_user_data; - rv = nghttp3_conn_reset_stream(qs->h3conn, stream_id); + rv = nghttp3_conn_shutdown_stream_read(qs->h3conn, stream_id); if(rv) { return NGTCP2_ERR_CALLBACK_FAILURE; } @@ -671,7 +671,7 @@ static int cb_stream_stop_sending(ngtcp2_conn *tconn, int64_t stream_id, (void)app_error_code; (void)stream_user_data; - rv = nghttp3_conn_stop_sending(qs->h3conn, stream_id); + rv = nghttp3_conn_shutdown_stream_read(qs->h3conn, stream_id); if(rv) { return NGTCP2_ERR_CALLBACK_FAILURE; }