Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quic: prevent copying ngtcp2_cid #48561

Merged
merged 1 commit into from
Jun 28, 2023

Commits on Jun 26, 2023

  1. quic: prevent copying ngtcp2_cid

    The existing code explicitly uses the CID(const ngtcp2_cid*) constructor
    that does not copy the given ngtcp2_cid, but the range-based for loop
    still unnecessarily copies the ngtcp2_cid. Use auto& to avoid copying.
    tniessen committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    61a93a5 View commit details
    Browse the repository at this point in the history