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

race condition: setup mode redirect might run into transient HTTP 404 #10

Open
stapelberg opened this issue May 16, 2017 · 0 comments
Open
Labels

Comments

@stapelberg
Copy link
Owner

This is because the default listeners are set up way later than the redirect happens.

I’m not entirely sure yet how to fix this properly: possibly we need another state in the setupMux to delay responses until the handlers are set up. Or maybe there is a more elegant solution :).

As a workaround, reloading the page helps.

@stapelberg stapelberg added the bug label May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant