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

[WEJBHTTP-45] At WildflyClientOutputStream, do not flip the pooled bu… #40

Merged
merged 1 commit into from Jul 8, 2020

Conversation

fl4via
Copy link
Collaborator

@fl4via fl4via commented Jul 8, 2020

…ffer at runWriteTask(), do so at the listener's invocation instead, or else you risk having it being run twice.

Also, shutdownWrites if everything is written in case pooled buffer has no remaining bytes to write (equivalent to writeFinal in the else block).

Jira: https://issues.redhat.com/browse/WEJBHTTP-45
1.0 PR: #41

…ffer at runWriteTask(), do so at the listener's invocation instead, or else you risk having it being run twice.

Also, shutdownWrites if everything is written in case pooled buffer has no remaining bytes to write (equivalent to writeFinal in the else block).
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.

None yet

1 participant