Skip to content

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

Open
@srsubra

Description

@srsubra

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Planned

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions