Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed May 24, 2021
1 parent 4c541c2 commit 980fc98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/quic/session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,8 @@ bool Session::ReceivePacket(

uint64_t now = uv_hrtime();
SetStat(&SessionStats::received_at, now);
int err = ngtcp2_conn_read_pkt(connection(), path, nullptr, data, nread, now);
ngtcp2_pkt_info pi; // Not used but required.
int err = ngtcp2_conn_read_pkt(connection(), path, &pi, data, nread, now);
if (err < 0) {
switch (err) {
case NGTCP2_ERR_CALLBACK_FAILURE:
Expand Down

0 comments on commit 980fc98

Please sign in to comment.