diff options
| author | Julie Qiu <julie@golang.org> | 2020-02-19 19:26:08 -0500 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2020-04-06 15:50:51 -0400 |
| commit | f2324fa41381e39dd9f6c88786122d2236e483ea (patch) | |
| tree | 4957c80fbdc8aaa16c3021a2e67fa7249dd6accb /internal/queue/queue_test.go | |
| parent | 64688ae67d5c1f29c3f8e0ec7bc04d575b784f92 (diff) | |
| download | go-x-pkgsite-f2324fa41381e39dd9f6c88786122d2236e483ea.tar.xz | |
internal/middleware: return status 403 for denied teeproxy requests
When a request is made by the teeproxy to pkg.go.dev and the
teeproxy-traffic experiment flag is off, return a status 403.
Updates b/147492597
Change-Id: I1ae6457b0c457aff9003e28703d35167d94fab85
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/672009
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/queue/queue_test.go')
0 files changed, 0 insertions, 0 deletions
