boulder/web
Jacob Hoffman-Andrews 04dec59c67
ra: log User-Agent (#7908)
In the WFE, store the User-Agent in a `context.Context` object. In our
gRPC interceptors, pass that field in a Metadata header, and re-add it
to `Context` on the server side.

Add a test in the gRPC interceptors that User-Agent is properly
propagated.

Note: this adds a new `setup()` function for the gRPC tests that is
currently only used by the new test. I'll upload another PR shortly that
expands the use of that function to more tests.

Fixes https://github.com/letsencrypt/boulder/issues/7792
2025-01-14 13:39:41 -08:00
..
context.go ra: log User-Agent (#7908) 2025-01-14 13:39:41 -08:00
context_test.go web: add feature flag PropagateCancels (#7778) 2024-11-04 14:37:29 -08:00
docs.go Factor out context.go from wfe and wfe2. (#3086) 2017-09-26 13:54:14 -04:00
jwk.go Upgrade go-jose from v2.6.1 to v.4.0.1 (#7345) 2024-04-02 17:49:51 -04:00
probs.go ARI: Return HTTP 409 "Conflict" when the certificate identified by 'replaces' has already been replaced (#7385) 2024-03-21 15:57:22 -04:00
probs_test.go Lay the groundwork for supporting IP identifiers (#7692) 2024-08-30 11:40:38 -07:00
relative.go Remove BaseURL from WFE config. (#3540) 2018-03-09 11:04:02 +00:00
send_error.go WFE: Suppress logging of probs.PausedProblem (#7719) 2024-09-26 11:20:26 -04:00
send_error_test.go WFE: Suppress logging of probs.PausedProblem (#7719) 2024-09-26 11:20:26 -04:00
server.go sfe: Implement self-service frontend for account pausing/unpausing (#7500) 2024-07-10 10:52:33 -04:00
server_test.go sfe: Implement self-service frontend for account pausing/unpausing (#7500) 2024-07-10 10:52:33 -04:00