You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tsweb
Patrick O'Doherty 30c9189ed3
tsweb: update ServeMux matching to 1.22.0 syntax (#11090)
* tsweb: update ServeMux matching to 1.22.0 syntax

Updates #cleanup

Go 1.22.0 introduced the ability to use more expressive routing patterns
that include HTTP method when constructing ServeMux entries.
Applications that attempted to use these patterns in combination with
the old `tsweb.Debugger` would experience a panic as Go would not permit
the use of matching rules with mixed level of specificity. We now
specify the method for each `/debug` handler to prevent
incompatibilities.

Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
4 months ago
..
promvarz tsweb/promvarz: fix repeated expvar definition in test 1 year ago
varz util/cmpx: delete now that we're using Go 1.22 4 months ago
debug.go tsweb: update ServeMux matching to 1.22.0 syntax (#11090) 4 months ago
debug_test.go all: update copyright and license headers 1 year ago
log.go tsweb: propagate RequestID via context and entire request 6 months ago
request_id.go all: make use of ctxkey everywhere (#10846) 5 months ago
tsweb.go util/cmpx: delete now that we're using Go 1.22 4 months ago
tsweb_test.go tsweb: normalize passkey identities in bucketed stats 4 months ago