Skip to content

Commit

Permalink
fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Jan 11, 2025
1 parent f3442bf commit b115e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/quicly.c
Original file line number Diff line number Diff line change
Expand Up @@ -5170,8 +5170,8 @@ static int update_traffic_key_cb(ptls_update_traffic_key_t *self, ptls_t *tls, i
conn->egress.pending_flows |= QUICLY_PENDING_FLOW_OTHERS_BIT;
/* send the first resumption token using the 0.5 RTT window */
if (!quicly_is_client(conn) && conn->super.ctx->generate_resumption_token != NULL) {
ret = quicly_send_resumption_token(conn);
assert(ret == 0);
int64_t ret64 = quicly_send_resumption_token(conn);
assert(ret64 == 0);
}

/* schedule NEW_CONNECTION_IDs */
Expand Down

0 comments on commit b115e09

Please sign in to comment.