-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add HTTP transport startup hook #130812
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
Add HTTP transport startup hook #130812
Conversation
This commit introduces a `startInternal()` method to `AbstractHttpServerTransport` and makes `doStart()` a final method so that we can customize the startup behaviour of the HTTP transport in a follow-up without needing cooperation from subclasses. Relates ES-12223
|
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
There only 2 production classes in transport and security. Do we need this "flexibility"? |
|
This is just pulled out of another PR to reduce noise. Yes, I'd rather we did this. |
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.
Not noisy PR indeed. Don't even know where it's going :)
LGTM
|
There's a little more detail in ES-12223 |
This commit introduces a `startInternal()` method to `AbstractHttpServerTransport` and makes `doStart()` a final method so that we can customize the startup behaviour of the HTTP transport in a follow-up without needing cooperation from subclasses. Relates ES-12223
This commit introduces a `startInternal()` method to `AbstractHttpServerTransport` and makes `doStart()` a final method so that we can customize the startup behaviour of the HTTP transport in a follow-up without needing cooperation from subclasses. Relates ES-12223
This commit introduces a
startInternal()method toAbstractHttpServerTransportand makesdoStart()a final method sothat we can customize the startup behaviour of the HTTP transport in a
follow-up without needing cooperation from subclasses.
Relates ES-12223