You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using a connection-oriented Socket, the Receive method will read as much data as is available, up to the size of the buffer. If the remote host shuts down the Socket connection with the Shutdown method, and all available data has been received, the Receive method will complete immediately and return zero bytes.
The text was updated successfully, but these errors were encountered:
Charlese2
changed the title
Recieve handler thread pinned at 100
Recieve handler thread pinned at 100%
Mar 2, 2024
The ReceiveHandler will just spin if the remote closes the connection as Socket.Receive() just returns immediately with 0 bytes instead of blocking.
jellyfin-plugin-tvheadend/TVHeadEnd/HTSP/HTSConnectionAsync.cs
Line 387 in 5c29b99
https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.socket.receive?view=net-6.0#system-net-sockets-socket-receive(system-byte())
If you are using a connection-oriented Socket, the Receive method will read as much data as is available, up to the size of the buffer. If the remote host shuts down the Socket connection with the Shutdown method, and all available data has been received, the Receive method will complete immediately and return zero bytes.
The text was updated successfully, but these errors were encountered: