mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-12 05:06:23 +00:00
update server restart
This commit is contained in:
@@ -93,6 +93,15 @@ namespace SocketHttpListener.Net
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
sock.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
|
||||
}
|
||||
catch (SocketException)
|
||||
{
|
||||
// This is not supported on all operating systems (qnap)
|
||||
}
|
||||
|
||||
sock.Bind(endpoint);
|
||||
|
||||
// This is the number TcpListener uses.
|
||||
|
||||
Reference in New Issue
Block a user