Log node request processing so operators can see live activity in the console.

This commit is contained in:
Dobromir Popov
2026-07-07 18:12:57 +02:00
parent 1eb1e0baa2
commit aba5fb12fa
4 changed files with 65 additions and 6 deletions

View File

@@ -3035,6 +3035,7 @@ class _TrackerHandler(http.server.BaseHTTPRequestHandler):
headers={
"Content-Type": "application/json",
"X-Meshnet-Route": downstream_urls,
"X-Meshnet-Request-Id": request_id,
},
method="POST",
)
@@ -3046,6 +3047,7 @@ class _TrackerHandler(http.server.BaseHTTPRequestHandler):
relay_headers = {
"Content-Type": "application/json",
"X-Meshnet-Route": downstream_urls,
"X-Meshnet-Request-Id": request_id,
**({"Authorization": auth} if auth else {}),
}