Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-27 | SocketHandlers own the poller and add themself into it only when the socket ↵ | Florent Le Coz | |
is created We want to call socket() with the parameters provided by getaddrinfo, so we can’t addd the fd into the poller immediately. We need to wait the connection attempt, and then the SocketHandler can call add_socket_handler itself, if the connection succeeds, or is in progress. | |||
2014-05-26 | If both write and read events are available on a socket, only do the read | Florent Le Coz | |
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). | |||
2014-02-22 | Connection to servers does not block the process anymore | Florent Le Coz | |
2014-02-19 | Send unavailable presence to all muc when the IRC server closes the connection | Florent Le Coz | |
2014-02-08 | Add missing logger include | Florent Le Coz | |
2014-02-08 | Use strerror and log_error instead of perrror | Florent Le Coz | |
2014-01-13 | Add missing stdexcept includes | Florent Le Coz | |
2014-01-04 | Add missing errno.h includes | Florent Le Coz | |
2014-01-04 | Shutdown cleanly on SIGINT | Florent Le Coz | |
2013-12-03 | Use the logger everywhere | Florent Le Coz | |
2013-11-21 | Use epoll | Florent Le Coz | |
2013-11-10 | Add include for perror | Florent Le Coz | |
2013-11-03 | Exit the poller when it handles no connection at all | Florent Le Coz | |
2013-11-02 | Basic IRC message parsing/sending | Florent Le Coz | |
2013-11-02 | First step of the connection skeleton | Florent Le Coz | |
Basic connect, socket creating, polling, recving, etc. |