This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdk/middleware/sqgin: use the actual request context instead of gin's
Gin's context wrongly implements `context.Context` and doesn't wrap the underlying request context at all. Therefore, we need to use the actual request context `c.Request.Context()` so that the agent can properly manage the request context, but also to correctly propagate values stored in the context.
- Loading branch information