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
Will Norris 46980c9664 tsweb: ensure in-flight requests are always marked as finished
The inflight request tracker only starts recording a new bucket after
the first non-error request. Unfortunately, it's written in such a way
that ONLY successful requests are ever marked as being finished. Once a
bucket has had at least one successful request and begun to be tracked,
all subsequent error cases are never marked finished and always appear
as in-flight.

This change ensures that if a request is recorded has having been
started, we also mark it as finished at the end.

Updates tailscale/corp#19767

Signed-off-by: Will Norris <will@tailscale.com>
6 months ago
..
promvarz tsweb/promvarz: fix repeated expvar definition in test 2 years ago
varz tsweb/varz: add charset=utf-8 to varz handler 7 months ago
debug.go Revert "tsweb: update ServeMux matching to 1.22.0 syntax (#11090)" (#11125) 9 months ago
debug_test.go all: update copyright and license headers 2 years ago
log.go tsweb: propagate RequestID via context and entire request 11 months ago
request_id.go tsweb: switch to fastuuid for request ID generation 7 months ago
tsweb.go tsweb: ensure in-flight requests are always marked as finished 6 months ago
tsweb_test.go all: use Go 1.22 range-over-int 7 months ago