rclone/lib/http
Benjamin Legrand 8a6fc8535d accounting: fix global error acounting
fs.CountError is called when an error is encountered. The method was
calling GlobalStats().Error(err) which incremented the error at the
global stats level. This led to calls to core/stats with group= filter
returning an error count of 0 even if errors actually occured.

This change requires the context to be provided when calling
fs.CountError. Doing so, we can retrieve the correct StatsInfo to
increment the errors from.

Fixes #5865
2024-09-30 17:20:42 +01:00
..
serve accounting: fix global error acounting 2024-09-30 17:20:42 +01:00
templates serve http: support unix sockets and multiple listners 2022-12-15 12:38:09 +00:00
testdata http: add client certificate user auth middleware 2023-06-26 14:33:53 +01:00
auth.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
auth_test.go cmd/rcd: Fix command docs to include command specific prefix (#6675) 2023-03-22 11:47:35 +00:00
context.go lib/http: fix race condition 2022-12-15 12:38:09 +00:00
middleware.go serve webdav: fix webdav with --baseurl under Windows 2024-03-28 10:06:04 +00:00
middleware_test.go serve webdav: fix webdav with --baseurl under Windows 2024-03-28 10:06:04 +00:00
server.go lib/sd-activation: wrap coreos/go-systemd 2024-09-06 17:21:56 +01:00
server_test.go http: fix webdav OPTIONS response (#6433) 2023-08-01 11:48:41 +09:00
template.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
template_test.go cmd/rcd: Fix command docs to include command specific prefix (#6675) 2023-03-22 11:47:35 +00:00