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
Tapir version: 1.5.5
Scala version: 2.13.11
Describe the bug
I could not find a way to gracefully shutdown tapir-netty server.
When you stop the server programatically, or send SIG_TERM signal to the process; it breaks the connection for in-flight requests.
val bindingF = NettyFutureServer().port(8080)...start() val binding = Await.result(bindingF, 10.seconds) Await.result(binding.stop(), 10.seconds)
However my expectation is for the server to:
How to reproduce?
Reproduction scenario in a gist
Additional information
We maybe able to adopt a similar strategy as reactor-netty 🤔 https://github.com/reactor/reactor-netty/pull/1034/files
The text was updated successfully, but these errors were encountered:
kciesielski
Successfully merging a pull request may close this issue.
Tapir version: 1.5.5
Scala version: 2.13.11
Describe the bug
I could not find a way to gracefully shutdown tapir-netty server.
When you stop the server programatically, or send SIG_TERM signal to the process; it breaks the connection for in-flight requests.
However my expectation is for the server to:
How to reproduce?
Reproduction scenario in a gist
Additional information
We maybe able to adopt a similar strategy as reactor-netty 🤔
https://github.com/reactor/reactor-netty/pull/1034/files
The text was updated successfully, but these errors were encountered: