diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-17 11:47:22 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-17 11:47:22 +0100 |
commit | 3102feb56c2274313e40d1d13cb2761f7796bb9b (patch) | |
tree | bf66100c33156704c5ef266efb7064fb5eb3662a /contrib/otshell_utils | |
parent | abstract_tcp_server2: avoid deadlock waiting for send queue to drain (diff) | |
download | monero-3102feb56c2274313e40d1d13cb2761f7796bb9b.tar.xz |
abstract_tcp_server2: fix send queue limit warning spam
When the send queue limit is reached, it is likely to not drain
any time soon. If we call close on the connection, it will stay
alive, waiting for the queue to drain before actually closing,
and will hit that check again and again. Since the queue size
limit is the reason we're closing in the first place, we call
shutdown directly.
Diffstat (limited to 'contrib/otshell_utils')
0 files changed, 0 insertions, 0 deletions