Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

rc: fix debug/* commands not being available over unix sockets

Nick Craig-Wood755d72a5919e
diff --git a/fs/rc/rcserver/rcserver.go b/fs/rc/rcserver/rcserver.go
index e6e82175b..7b6622c43 100644
--- a/fs/rc/rcserver/rcserver.go
+++ b/fs/rc/rcserver/rcserver.go
@@ -123,7 +123,7 @@ func newServer(ctx context.Context, opt *rc.Options, mux *http.ServeMux) (*Serve
)
// Add the debug handler which is installed in the default mux
- router.Handle("/debug/*", mux)
+ router.Handle("/debug/pprof/*", mux)
// FIXME split these up into individual functions
router.Get("/*", s.handler)