Some cleanup

This commit is contained in:
Reinier Criel 2025-11-06 13:24:00 -08:00
parent 2632b5c2af
commit 61a53b24fd
7 changed files with 4 additions and 7 deletions

View file

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