- 21 Feb, 2015 1 commit
-
-
louiz’ authored
When the connection is lost, immediately try to reconnect, then try to reconnect every 2 seconds. This is much better than the previous “Try to re-connect as fast as possible”.
-
- 15 Jul, 2014 1 commit
-
-
louiz’ authored
-
- 03 Jul, 2014 1 commit
-
-
louiz’ authored
-
- 02 Jul, 2014 1 commit
-
-
louiz’ authored
SocketHandler has been renamed to TCPSocketHandler SocketHandler is now a simple interface with a few methods, used only by Poller. This way we can inherite from the new SocketHandler class, to handle other types of sockets, and still make them manageable by the poller without any change in the Poller class.
-
- 22 Jun, 2014 1 commit
-
-
louiz’ authored
Was causing the event to not be removed in case of connection failure, which lead to a dangling timed event named “timeout-1”, which was called later, by some other SocketHandler for which even the socket creation failed (so, its socket is -1), with a pointer to the previous SocketHandler which has disappeared for a long time: segmentation fault etc.
-
- 18 Jun, 2014 1 commit
-
-
louiz’ authored
This actually makes the session_manager be useful, and saves a few octets of memory for the other ones
-
- 08 Jun, 2014 2 commits
-
-
louiz’ authored
-
- 28 May, 2014 1 commit
-
-
louiz’ authored
-
- 27 May, 2014 1 commit
-
-
louiz’ authored
Since the socket is now only created and managed whenever the connection is being established, we only close the socket and if it was created (we use -1 to denote the fact that is not yet created, or has been closed) and we only unmanage the socket if it is effectively managed. fix #2529
-
- 26 May, 2014 2 commits
-
-
louiz’ authored
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.
- 29 Apr, 2014 2 commits
- 15 Apr, 2014 2 commits
- 24 Mar, 2014 2 commits
- 09 Mar, 2014 1 commit
-
-
louiz’ authored
-
- 03 Mar, 2014 1 commit
-
-
louiz’ authored
-
- 28 Feb, 2014 1 commit
-
-
louiz’ authored
-
- 27 Feb, 2014 1 commit
-
-
louiz’ authored
-
- 22 Feb, 2014 3 commits
- 19 Feb, 2014 2 commits
- 08 Feb, 2014 3 commits
- 13 Jan, 2014 1 commit
-
-
louiz’ authored
-
- 04 Jan, 2014 3 commits
- 24 Dec, 2013 1 commit
-
-
louiz’ authored
-
- 23 Dec, 2013 1 commit
-
-
louiz’ authored
-
- 03 Dec, 2013 1 commit
-
-
louiz’ authored
-
- 10 Nov, 2013 1 commit
-
-
louiz’ authored
-
- 03 Nov, 2013 1 commit
-
-
louiz’ authored
-
- 02 Nov, 2013 1 commit
-
-
louiz’ authored
(that is, the read/write/connect/etc) Because this code is actually common for both the IrcClient and XmppComponent class. These two classes have to implement some higher level callbacks (parsing the data provided in the buffers, doing stuff when the connection is done) instead of doing the read/write/connect low level things.
-