Skip to content
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

Use ktor-koin3.5.2-RC1, with ktor auto-reload, not working ktor-server. #1792

Closed
momosetkn opened this issue Feb 23, 2024 · 1 comment
Closed
Milestone

Comments

@momosetkn
Copy link
Contributor

Describe the bug

becomes unresponsive after ktor auto-reload.

To Reproduce

  1. git clone https://github.com/momosetkn/koin-ktor-auto-reload-bug
  2. ./gradlew build and ./gradlew -t compilekotlin`
  3. execute below command in another console. ./gradlew run
  4. when you change the code, It becomes unresponsive, like below.
curl localhost:8080
# curl: (52) Empty reply from server

Expected behavior
server was respond

Koin module and version:

ktor-koin version: 3.5.2-RC1
(3.5.1 version is works)

Snippet or Sample project to help reproduce

https://github.com/momosetkn/koin-ktor-auto-reload-bug

@arnaudgiuliani
Copy link
Member

Follow up PR has been merged 👍

@arnaudgiuliani arnaudgiuliani added this to the 3.5.4-RC2 milestone Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants