feat: add network module and service for TCP latency measurement and proxy performance

This commit is contained in:
2026-03-14 17:04:53 +03:00
parent 638940c694
commit 51d26a4c1b
30 changed files with 7992 additions and 1188 deletions

View File

@@ -296,6 +296,7 @@ async function checkServerLatencies(nodes) {
try {
const res = await fetch('/ping-target', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ server: node.server, port: node.server_port || 443 })
});
const data = await res.json();