diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2025-01-26 17:06:06 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2025-01-26 21:30:28 +0000 |
| commit | bce05ec6c3f3cb2dad1086472e99e2e69b2cfadc (patch) | |
| tree | a5311f270223ed65ad53c27574999e62d4f5c2bc /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | 8c925899e115ce18e47ba4ec4c630696140e63df (diff) | |
| download | tailscale-bce05ec6c3f3cb2dad1086472e99e2e69b2cfadc.tar.xz tailscale-bce05ec6c3f3cb2dad1086472e99e2e69b2cfadc.zip | |
control/controlclient,tempfork/httprec: don't link httptest, test certs for c2n
The c2n handling code was using the Go httptest package's
ResponseRecorder code but that's in a test package which brings in
Go's test certs, etc.
This forks the httptest recorder type into its own package that only
has the recorder and adds a test that we don't re-introduce a
dependency on httptest.
Updates #12614
Change-Id: I3546f49972981e21813ece9064cc2be0b74f4b16
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
