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

Why the rctx is substituted by a new empty context? #788

Closed
curelyreas opened this issue Oct 25, 2018 · 1 comment
Closed

Why the rctx is substituted by a new empty context? #788

curelyreas opened this issue Oct 25, 2018 · 1 comment

Comments

@curelyreas
Copy link

rctx, err := runtime.AnnotateContext(ctx, mux, req)

It breaks the life cycle of a request information delivery.

@johanbrandhorst
Copy link
Collaborator

This only adds things to the existing context, see the signature of runtime.AnnotateContext: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/context.go#L59

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