Skip to content

Commit b621239

Browse files
committed
quic: update http3 to use new nghttp3 api
1 parent 47e85ba commit b621239

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/quic/http3.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ class Http3ApplicationImpl final : public Session::Application {
240240
stream_id,
241241
flags.fin);
242242

243-
ssize_t nread = nghttp3_conn_read_stream(
244-
*this, stream_id, data, datalen, flags.fin ? 1 : 0);
243+
auto nread = nghttp3_conn_read_stream2(
244+
*this, stream_id, data, datalen, flags.fin ? 1 : 0, uv_hrtime());
245245

246246
if (nread < 0) {
247247
Debug(&session(),

0 commit comments

Comments
 (0)