summaryrefslogtreecommitdiff
path: root/louloulibs/network/poller.cpp
AgeCommit message (Collapse)Author
2016-10-12On EINPROGRESS, we need to also check for read events (because openBSD lies)louiz’
“It is possible to select(2) or poll(2) for completion by selecting the socket for writing” Yeah, sure, “writing”…
2016-10-12Fix an off-by-one issue in the POLL codelouiz’
2016-10-03Avoid an exception due to some bad logic in the DNS resolution mechaniclouiz’
fix #3207
2016-06-13Show off, with some variadic templates, for the logger modulelouiz’
2016-05-10Fix build with POLLER=POLLlouiz’
2016-02-24Fix the ordering of poll callbacks, with ppoll tooFlorent Le Coz
2016-02-24Close the epoll fdFlorent Le Coz
2016-02-22Fix the ordering of poll callbacks (recv, connect, send)Florent Le Coz
Because if we have a send event to signal the connection sucess + a recv event to signal something to read on the socket, we need to first finish the connect process before reading the available data. That’s what we do now.
2015-05-28louloulibs is directly included, instead of being a submoduleFlorent Le Coz
Because this is a nightmare to manage
2015-05-27Avoid some potential race conditions by blocking the signals we manageFlorent Le Coz
They are atomically unblocked in the ppoll/epoll_pwait calls, avoiding any race condition on the check of the “stop” or “reload” booleans.
2015-05-13Update to latest louloulibs revision, and add test for hostname validityFlorent Le Coz
fix #2694
2015-05-07Update to latest louloulibsFlorent Le Coz
fix #3042
2015-04-21Properly check for connecting or connected status before reconnectingFlorent Le Coz
Note, in our context, is_connecting() includes the resolving part as well as the actual connection (if we are using c-ares) fix #3048
2015-04-20Update louloulibs submodule to the correct revisionFlorent Le Coz
2015-04-20Decode incoming JIDs local part according to xep 0106Florent Le Coz
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047
2015-03-04Update to latest louloulibs revisionFlorent Le Coz
2015-03-02Update to latest louloulibs revisionFlorent Le Coz
2015-03-02Update louloulibs to last revisionFlorent Le Coz
2015-02-27Only use include_directory() if the directory path is definedFlorent Le Coz
2015-02-27Add louloulibs as a submoduleFlorent Le Coz