Skip to content

Question about "Partial Data Acceptance" #2240

Answered by nibanks
Wizmann asked this question in Q&A
Discussion options

You must be logged in to vote

If you consume the whole buffer, there is no difference between QUIC_STATUS_SUCCESS and QUIC_STATUS_CONTINUE. If you partially consume the buffer and return QUIC_STATUS_SUCCESS then future receive callbacks are immediately paused. If you return QUIC_STATUS_CONTINUE the callbacks are not paused. The rest of the data you didn't consume will immediately be indicated in a new receive callback.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Wizmann
Comment options

@nibanks
Comment options

Answer selected by nibanks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants