-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #4047 Graceful Write #4100
Conversation
Added test to reproduce issue Fixed bug from #2772 where output was shutdown on DONE without checking for END. Fixed aggregation logic to aggregate last write if aggregation already started. Signed-off-by: Greg Wilkins <gregw@webtide.com>
…47-graceful-ab-write
Signed-off-by: Greg Wilkins <gregw@webtide.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good but I would like to see some javadoc on the Graceful
interface as the comment there currently doesn't help to understand what it does.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java
Outdated
Show resolved
Hide resolved
jetty-util/src/main/java/org/eclipse/jetty/util/component/Graceful.java
Outdated
Show resolved
Hide resolved
Reverted accidental commit and fixed javadoc error. Signed-off-by: Greg Wilkins <gregw@webtide.com>
jetty-server/src/test/java/org/eclipse/jetty/server/GracefulStopTest.java
Outdated
Show resolved
Hide resolved
jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java
Outdated
Show resolved
Hide resolved
Improved comment Started stopper earlier Signed-off-by: Greg Wilkins <gregw@webtide.com>
jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java
Outdated
Show resolved
Hide resolved
@lachlan-roberts @janbartel can you both rerereview please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java
Outdated
Show resolved
Hide resolved
…47-graceful-ab-write Signed-off-by: Greg Wilkins <gregw@webtide.com>
Improved comments and clarify conditions Signed-off-by: Greg Wilkins <gregw@webtide.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR has been branched off #4094, which has started to address bigger graceful stop issues.
This PR address just the bug introduced in #2772:
Signed-off-by: Greg Wilkins gregw@webtide.com