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

Provide an option to get an upcall only after all the data has been received for a stream #4748

Open
srsubra opened this issue Jan 17, 2025 · 0 comments
Labels
Area: API feature request A request for new functionality Partner: SQL By or For the SQL team
Milestone

Comments

@srsubra
Copy link

srsubra commented Jan 17, 2025

Describe the feature you'd like supported

Currently MsQuic provides an upcall to the application on every stream receive operation where the application needs to then copy the data to a local buffer to post a Recv complete. For use case like request/response with serialized data, the deserialization cannot be performed without receiving the entire data.

Proposed solution

Provide a feature where the application can specify the intent to be notified only after receiving all the data for the stream. This way the MsQuic buffer itself can be utilized directly by the application to deserialize the message when required to help improve perf.

Additional context

No response

@srsubra srsubra added the feature request A request for new functionality label Jan 17, 2025
@nibanks nibanks added Area: API Partner: SQL By or For the SQL team labels Jan 17, 2025
@nibanks nibanks added this to the Future milestone Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: API feature request A request for new functionality Partner: SQL By or For the SQL team
Projects
None yet
Development

No branches or pull requests

2 participants