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

Make filters generic over the packet buffer #1054

Merged
merged 6 commits into from
Jan 8, 2025
Merged

Conversation

Jake-Shadle
Copy link
Collaborator

This changes Filter so that both read and write take a generic <P: Packet> parameter instead of a concrete PoolBuffer. This change prepares for the new XDP buffer, so doesn't do anything right now, but makes it easier to review by splitting out this PR first.

The reserve was being calculated incorrectly, since it's additional bytes from the current position
@XAMPPRocky XAMPPRocky enabled auto-merge (squash) January 8, 2025 10:20
@XAMPPRocky XAMPPRocky merged commit f06bf5a into main Jan 8, 2025
12 checks passed
@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 71d0cf62-9d3e-4721-a227-f61fbe1d5d41

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch [email protected]:googleforgames/quilkin.git pull/1054/head:pr_1054 && git checkout pr_1054
cargo build

@Jake-Shadle Jake-Shadle deleted the generic-filters branch January 8, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants