mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Do not use hostname with tls.connect
This commit is contained in:
@@ -91,8 +91,7 @@ export class Agent extends HTTPSAgent {
|
||||
port,
|
||||
tlsOptions: {
|
||||
ca: options.ca,
|
||||
host: dropNull(options.host),
|
||||
servername: options.servername,
|
||||
servername: options.servername ?? dropNull(options.host),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user