-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
MustGet sometimes panics even though Set was called in middleware #836
Comments
Does |
It does |
@itsjamie Here's a panic I've caught, seems like the context is shared until the last method -
|
@tsirolnik in your stack trace I do not see your middleware closure (in fact the call to Note that it is not the same problem as in #702. Here the key is not found in the context instead of concurrent map read and map write for #702. |
As @maxatome said, if still have problem please reopen, closing. |
Middleware -
Some handler that uses the middleware -
This results (Sometimes) in panic, for no apparent reason as I can clearly see the logging line with the expected values.
time="2017-03-15T08:08:05Z" level=info msg="Middleware call" someKey=someValue
The text was updated successfully, but these errors were encountered: