summaryrefslogtreecommitdiff
path: root/src/irc/irc_channel.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-26 22:27:43 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-26 22:27:43 +0200
commit6b0ffb5fc2eca537e2cfaf24acb8a4d2ca9b99f1 (patch)
treec40b56af4a4d1bf408d0434d165ca329abc408ea /src/irc/irc_channel.hpp
parent7fb0b671bbe6150d60b9f1efd4d8abc885c23844 (diff)
downloadbiboumi-6b0ffb5fc2eca537e2cfaf24acb8a4d2ca9b99f1.tar.gz
biboumi-6b0ffb5fc2eca537e2cfaf24acb8a4d2ca9b99f1.tar.bz2
biboumi-6b0ffb5fc2eca537e2cfaf24acb8a4d2ca9b99f1.tar.xz
biboumi-6b0ffb5fc2eca537e2cfaf24acb8a4d2ca9b99f1.zip
If both write and read events are available on a socket, only do the read
Because the read handler may discover that the connection has been closed, and then remove the socket from the poller. It that case it is no longer valid to try to call the write handler (which may try to reconnect, but since that socket is no longer managed, this is not OK).
Diffstat (limited to 'src/irc/irc_channel.hpp')
0 files changed, 0 insertions, 0 deletions