This commit is contained in:
Sander Declerck 2025-10-24 16:21:14 +02:00
parent 2e1ee0dfa4
commit d6dda73fb9
No known key found for this signature in database
3 changed files with 22 additions and 2 deletions

View file

@ -109,6 +109,7 @@ function handleConnect(req, clientSocket, head) {
mitmConnect(req, clientSocket, isAllowedUrl);
} else {
// For other hosts, just tunnel the request to the destination tcp socket
ui.writeVerboseInformation(`Safe-chain: Tunneling request to ${req.url}`);
tunnelRequest(req, clientSocket, head);
}
}