-
Notifications
You must be signed in to change notification settings - Fork 278
2.6 add jetty graceful shutdown #1452
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
Conversation
| <artifactId>jetty-http3-client-transport</artifactId> | ||
| <version>${lib-jetty-version}</version> | ||
| </dependency> | ||
| <dependency> |
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.
useful to get debug logs
| && sslEndPoint.getSslSessionData().peerCertificates() != null) { | ||
| result = Arrays.asList(sslEndPoint.getSslSessionData().peerCertificates()); | ||
| } else { | ||
| getLogger().fine("SslEndpoint has no peer certificate"); |
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.
It can be null
598bf2b to
c03e1fc
Compare
| default: | ||
| httpTransport = new HttpClientTransportOverHTTP(); | ||
| break; | ||
| case "HTTP2": |
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.
grrrr, format issue
| import org.eclipse.jetty.server.Request; | ||
| import org.eclipse.jetty.server.Response; | ||
| import org.eclipse.jetty.server.ServerConnector; | ||
| import org.eclipse.jetty.server.*; |
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.
oops, code style issue
c03e1fc to
0c6ba34
Compare
0c6ba34 to
058dee8
Compare
jlouvel
left a comment
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.
Great contribution, thanks @thboileau
…m scratch than the ones based on Jetty client
The aim
Add support of the graceful shutdown to the Jetty server.
Check-list
DO NOT REVIEW