-
Notifications
You must be signed in to change notification settings - Fork 392
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
[Port already bound Error] In the example zio-quickstart-restful-webservice
, Pressing Ctrl-C blocks the port 8080
#2776
Comments
/bounty $150 |
💎 $150 bounty • ZIOSteps to solve:
Thank you for contributing to zio/zio-http! Add a bounty • Share on socials
|
@jdegoes @vivasvan1 AFAICT this is the intended behaviour, and it's not related to zio-http but with zio (see here). The workaround is to add |
/attempt #2776 Options |
I'm closing this issue since it's not related to |
@varshith257: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
💡 @varshith257 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Describe the bug
In the example
zio-quickstart-restful-webservice
, Runningsbt
, thenrun
and Pressing Ctrl-C blocks the port 8080To Reproduce
Steps to reproduce the behaviour:
sbt
run
and press enterrun
again and press enterExpected behaviour
Server.serve should be able to handle interuptions (like Ctrl+C)
Screenshots
Desktop (please complete the following information):
Additional context
n/a
The text was updated successfully, but these errors were encountered: