Skip to content

Commit

Permalink
Use quinn 0.11.x (#1641)
Browse files Browse the repository at this point in the history
1. A incoming connection can be ignored now when we do rate limiting -- which is more efficient -- does not require queueing outgoing packets.
2. rustls interface changes of ServerCertVerifier applied to SkipServerVerification implementations
changes in Cargo.toml to handle curve25519-dalek 3.2.1 patching because of zeroize version constraint due to the newer rustls. The workaround is applied to downstream tests.
3. Quinn 0.11.x introduced new error codes which we need to handle.
4. stream finish is no longer an async function.
  • Loading branch information
lijunwangs committed Sep 14, 2024
1 parent d7de94c commit fc0183d
Show file tree
Hide file tree
Showing 14 changed files with 708 additions and 258 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ sed -i 's/solana-geyser-plugin-interface/agave-geyser-plugin-interface/g' ./Carg

# should be removed when spl bump their curve25519-dalek
sed -i "s/^curve25519-dalek =.*/curve25519-dalek = \"4.1.3\"/" token/confidential-transfer/proof-generation/Cargo.toml

# fix curve25519-dalek

sed -i '/\[patch.crates-io\]/a curve25519-dalek = { git = "https://github.com/anza-xyz/curve25519-dalek.git", rev = "b500cdc2a920cd5bff9e2dd974d7b97349d61464" }' ./Cargo.toml
Loading

0 comments on commit fc0183d

Please sign in to comment.