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

Pooled control message storage. #2422

Merged
merged 6 commits into from
May 31, 2023

Conversation

ser-0xff
Copy link
Contributor

@ser-0xff ser-0xff commented May 8, 2023

Pooled control message storage.

Motivation:

Async I/O operations require related data remains until the operation is not completed.

Modifications:

Control message data for UDP packets is pooled together with msghdr's.

Result:

Async I/O can be used properly for UDP.

@ser-0xff ser-0xff requested a review from Lukasa May 10, 2023 13:47
@ser-0xff
Copy link
Contributor Author

PR has been updated, please have a look.

@Lukasa Lukasa added the semver/patch No public API change. label May 24, 2023
Sources/NIOPosix/ControlMessage.swift Outdated Show resolved Hide resolved
Sources/NIOPosix/ControlMessage.swift Outdated Show resolved Hide resolved
Sources/NIOPosix/ControlMessage.swift Show resolved Hide resolved
@ser-0xff
Copy link
Contributor Author

PR has been updated, please have a look.

@ser-0xff ser-0xff requested a review from Lukasa May 25, 2023 17:27
@ser-0xff ser-0xff requested a review from Lukasa May 29, 2023 10:00
@Lukasa Lukasa enabled auto-merge (squash) May 31, 2023 12:43
@Lukasa Lukasa merged commit 6213ba7 into apple:main May 31, 2023
@Lukasa Lukasa deleted the pooled-control-message-storage branch May 31, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants