Skip to content
Snippets Groups Projects
Commit f98248dd authored by David Douard's avatar David Douard
Browse files

Regularly check for EOF in Client.process() while waiting for messages

it may happen that an EOF condition is not properly detected during
execution of the handle_messages() method, thus making the waiting step
in process() hang forever.

This adds a check for the EOF condition once every 10 timeouts while
consuming messages.
parent f514445f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment