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

Fixes support for application calls to flush() when using StreamingOutput #758

Merged
merged 2 commits into from
Jun 12, 2019

Conversation

spericas
Copy link
Member

@spericas spericas commented Jun 5, 2019

Fixes support for application calls to flush() when using StreamingOutput.

Signed-off-by: Santiago Pericas-Geertsen Santiago.PericasGeertsen@oracle.com

…tput.

Signed-off-by: Santiago Pericas-Geertsen <Santiago.PericasGeertsen@oracle.com>
@spericas spericas added the bug Something isn't working label Jun 5, 2019
@spericas spericas self-assigned this Jun 5, 2019
@spericas spericas requested a review from ljnelson June 5, 2019 20:23
@spericas spericas changed the title WIP: Fixes support for application calls to flush() when using StreamingOutput Fixes support for application calls to flush() when using StreamingOutput Jun 6, 2019
out.write(("{ value: \"first\" }\n").getBytes(StandardCharsets.UTF_8));
out.flush();

Thread.sleep(2000); // wait before sending next chunk
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit: I know what you're doing here, but it will slow down the CI/CD builds.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll reduce the wait time, I don't think it needs to be that long.

ljnelson
ljnelson previously approved these changes Jun 11, 2019
Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas merged commit 9f3cdf9 into helidon-io:master Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants