summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.hpp
diff options
context:
space:
mode:
authorMarc Rossi <mrossi19@gmail.com>2010-11-12 14:38:25 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-11-12 14:38:25 +0100
commitf7123de9434a96794e6a7cd83b398ceb18c9de8b (patch)
tree6665d1405ddd90c1101be0c16c72d56959a58f46 /src/tcp_connecter.hpp
parenteb83678b2b5eaca07d6813cab5c7dea493ac4bc8 (diff)
Fix socket_t::recv() hang scenario where initial call to process_commands() eats signal
Added block boolean var to second process_commands() invocation for blocking sockets instead of always using true. This prevents the process_commands() call from hanging when a message is received with an empty queue after the call to xrecv() but prior to the initial call to process_commands() invoked when ++ticks == inbound_poll_rate. Signed-off-by: Marc Rossi <mrossi19@gmail.com>
Diffstat (limited to 'src/tcp_connecter.hpp')
0 files changed, 0 insertions, 0 deletions