We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
flush
do not flush when writing end header, I will call ctx.flush()
end header
ctx.flush()
when I call ctx.write(new DefaultHttp2HeadersFrame(headers, true), promise), flush is also called invoke flush when notifyClosed stream,
ctx.write(new DefaultHttp2HeadersFrame(headers, true), promise)
notifyClosed
4.1.87.Final
java -version
1.8.0_231
uname -a
19.6.0 Darwin Kernel Version 19.6.0
The text was updated successfully, but these errors were encountered:
The problem is that there is no way to override it now, all related classes and methods are final or package private.
Our scenario is that we will flush in batches. Now when each streamchannel close, it will flush, which will cause the batch flush to fail
Sorry, something went wrong.
@normanmaurer PTAL This is a PR about flush. #10075
Successfully merging a pull request may close this issue.
Expected behavior
do not flush when writing
end header
, I will callctx.flush()
Actual behavior
when I call
ctx.write(new DefaultHttp2HeadersFrame(headers, true), promise)
,flush
is also calledinvoke flush when
notifyClosed
stream,Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
Netty version
4.1.87.Final
JVM version (e.g.
java -version
)1.8.0_231
OS version (e.g.
uname -a
)19.6.0 Darwin Kernel Version 19.6.0
The text was updated successfully, but these errors were encountered: