1 instantiation of SocketSender
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketSenderPool.cs (1)
32
return new
SocketSender
(_scheduler);
6 references to SocketSender
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (6)
Internal\SocketConnection.cs (1)
20
private
SocketSender
? _sender;
Internal\SocketSenderPool.cs (5)
13
private readonly ConcurrentQueue<
SocketSender
> _queue = new();
25
public
SocketSender
Rent()
27
if (_queue.TryDequeue(out
var
sender))
35
public void Return(
SocketSender
sender)
54
while (_queue.TryDequeue(out
var
sender))