Skip to content

tokio::time::sleep blocks other requests #2436

Closed Answered by jplatte
valery-kirichenko asked this question in Q&A
Discussion options

You must be logged in to vote

Your browser won't create two independent connections to the same host, it serializes the requests. This is not the first time people have stumbled upon this and created an axum issue / discussion, but if you try with browser + curl, or two curl commands you should see that the server is behaving normally.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by valery-kirichenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants