-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Hi,
Is is possible for the application to indicate that it isn't ready to receive any more messages at this time. so the library will stop recv()-ing data from the client, until the application indicates it is ready to receive more?
Suppose that I am putting received data into a queue and I have another thread that is processing from the queue, and it is resource-intensive. I can't let the queue grow without bounds if data is being received faster than it is being processed. I need to pause receiving data until the queue has drained sufficiently.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels