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

Expose connection source ids via c API #1665

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

normanmaurer
Copy link
Contributor

Motivation:

At the moment its impossible to get all source ids via the C api.

Modifications:

Add C / ffi impl to get all source ids

Result:

Fix gap between rust and C api

@normanmaurer normanmaurer requested a review from a team as a code owner November 23, 2023 16:58
@normanmaurer
Copy link
Contributor Author

@ghedo @LPardue please double check that I did everything right with the lifetimes in the ffi impl

@normanmaurer normanmaurer force-pushed the source_ids_c branch 4 times, most recently from 4c98a68 to b8e1906 Compare November 23, 2023 17:23
@normanmaurer
Copy link
Contributor Author

Test failure is not related

LPardue
LPardue previously approved these changes Nov 23, 2023
Copy link
Member

@ghedo ghedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit, I'll apply myself when merging.

quiche/include/quiche.h Outdated Show resolved Hide resolved
normanmaurer and others added 2 commits November 27, 2023 13:34
Motivation:

At the moment its impossible to get all source ids via the C api.

Modifications:

Add C / ffi impl to get all source ids

Result:

Fix gap between rust and C api
@ghedo ghedo merged commit 177b0ca into cloudflare:master Nov 27, 2023
24 checks passed
@normanmaurer normanmaurer deleted the source_ids_c branch December 8, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants