-
Notifications
You must be signed in to change notification settings - Fork 102
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
Concurrent map read and map write under Go 1.6.0 #39
Comments
map |
Ok cool ;) |
New error, even in the branch func (m *Mux) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
muxStack[req] = m
// Check if a route match
if !m.parse(rw, req) {
// Check if it's a static ressource
if !m.staticRoute(rw, req) {
// Check if the request path doesn't end with /
if !m.validate(rw, req) {
m.HandleNotFound(rw, req)
}
}
}
delete(muxStack, req)
} |
I'm already working on this :) should be fix tomorrow. I'ts a litlle bit long, because i'm trying to find a way to drop the delay of route containing variables. Any ideas are welcome ! |
Hahaha awesome :) |
It seems that it is still not working. Any plans ? Because half of my services crash right now. |
It should be done tomorrow, I will notify you when it's ok. Sorry for the delay |
No problem, thanks 👍 |
it should work on the beta branch now. |
Thanks a lot ;) |
Since Go 1.6.0 and the concurrent acces detector, my app crashes under heavy load:
at
github.com/go-zoo/bone/route.go:98
Does anybody else is experiencing the same issue ?
The text was updated successfully, but these errors were encountered: