Skip to content

Add a boolean parameter to indicate if Frame is complete - #2050

Closed
yuting-liu wants to merge 2 commits into
docker-java:masterfrom
yuting-liu:yuting-complete-frame
Closed

Add a boolean parameter to indicate if Frame is complete#2050
yuting-liu wants to merge 2 commits into
docker-java:masterfrom
yuting-liu:yuting-complete-frame

Conversation

@yuting-liu

@yuting-liu yuting-liu commented Jan 20, 2023

Copy link
Copy Markdown
Contributor

In my previous PR (#1754), already had some discussions with @bsideup about the FrameInputConsumer.

In previous thread: #1754 (comment):

Frames are not guaranteed to arrive in full and should be glued

Since as the client side, we already lose the information to know what is the payload size. We need a way at the client side to know if frames are complete and thus glue multiple frames together. Thus, I want to add a boolean parameter in the Frame thus we can do the concatenation at out end

@yuting-liu

Copy link
Copy Markdown
Contributor Author

@bsideup Can you please help to review this PR?

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.

1 participant