update
This commit is contained in:
@ -320,6 +320,12 @@ export class RouteConnectionHandler {
|
||||
const localPort = record.localPort;
|
||||
const remoteIP = record.remoteIP;
|
||||
|
||||
// Check if this is an HTTP proxy port
|
||||
const isHttpProxyPort = this.settings.useHttpProxy?.includes(localPort);
|
||||
|
||||
// For HTTP proxy ports without TLS, skip domain check since domain info comes from HTTP headers
|
||||
const skipDomainCheck = isHttpProxyPort && !record.isTLS;
|
||||
|
||||
// Find matching route
|
||||
const routeMatch = this.routeManager.findMatchingRoute({
|
||||
port: localPort,
|
||||
@ -327,6 +333,7 @@ export class RouteConnectionHandler {
|
||||
clientIp: remoteIP,
|
||||
path: undefined, // We don't have path info at this point
|
||||
tlsVersion: undefined, // We don't extract TLS version yet
|
||||
skipDomainCheck: skipDomainCheck,
|
||||
});
|
||||
|
||||
if (!routeMatch) {
|
||||
|
Reference in New Issue
Block a user