[Modify] Polish it
This commit is contained in:
parent
ca31d86c1a
commit
aec6123c19
@ -89,10 +89,11 @@ namespace WebSocketSharp.Net
|
||||
internal EndPointListener (
|
||||
IPAddress address,
|
||||
int port,
|
||||
bool reuseAddress,
|
||||
bool secure,
|
||||
string certificateFolderPath,
|
||||
ServerSslConfiguration sslConfig)
|
||||
ServerSslConfiguration sslConfig,
|
||||
bool reuseAddress
|
||||
)
|
||||
{
|
||||
if (secure) {
|
||||
var cert = getCertificate (port, certificateFolderPath, sslConfig.ServerCertificate);
|
||||
|
@ -131,10 +131,10 @@ namespace WebSocketSharp.Net
|
||||
new EndPointListener (
|
||||
address,
|
||||
port,
|
||||
listener.ReuseAddress,
|
||||
secure,
|
||||
listener.CertificateFolderPath,
|
||||
listener.SslConfiguration
|
||||
listener.SslConfiguration,
|
||||
listener.ReuseAddress
|
||||
);
|
||||
|
||||
endpoints[port] = lsnr;
|
||||
|
Loading…
Reference in New Issue
Block a user