Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

sdk/middleware/sqgin: fix request ctx #157

Merged
merged 3 commits into from
Sep 30, 2020

Commits on Sep 30, 2020

  1. sdk/middleware/sqgin: context data flow test case

    Julio Guerra committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    466d301 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    018e38e View commit details
    Browse the repository at this point in the history
  3. 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.
    Julio Guerra committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    a555f99 View commit details
    Browse the repository at this point in the history