1 write to _portSelector
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\NginxDeployer.cs (1)
45
_portSelector
= new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
4 references to _portSelector
Microsoft.AspNetCore.Server.IntegrationTesting (4)
Deployers\NginxDeployer.cs (4)
46
_portSelector
.Bind(new IPEndPoint(IPAddress.Loopback, 0));
47
builder.Port = ((IPEndPoint)
_portSelector
.LocalEndPoint).Port;
145
.Replace("[listenPort]", originalUri.Port.ToString(CultureInfo.InvariantCulture) + (
_portSelector
!= null ? " reuseport" : ""))
222
_portSelector
?.Dispose();