Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-17 | Use our botan gh#1276 workaround only for botan < 2.4 | louiz’ | |
fix #3320 | |||
2017-10-26 | Add a workaround for https://github.com/randombit/botan/issues/1276 | louiz’ | |
ref #3278 | |||
2017-10-04 | Explicitely include all needed botan headers | louiz’ | |
Most importantely, include parsing.h, since read_cfg is not implicitely included anymore in botan 2.3, and that does not compile. Also do not included botan.h anymore, since it’s deprecated in botan 2.3 fix #3296 | |||
2017-07-20 | Drop support for botan < 2.0 | louiz’ | |
fix #3274 | |||
2017-07-08 | Remove a bunch of useless string_literal usage | louiz’ | |
2017-05-10 | Improve the handling of the biboudb.hpp dependencies | louiz’ | |
2017-05-09 | Avoid any potential int overflow | louiz’ | |
2017-04-30 | Make botan’s policy configurable from a file | louiz’ | |
fix #3244 | |||
2017-04-20 | Better way to init the msghdr fields | louiz’ | |
2017-04-20 | Explicitely init the msghdr fields, to be compatible with any implementation | louiz’ | |
2017-04-07 | Apply a few clang-tidy cppcoreguidelines-* fixes | louiz’ | |
2017-04-07 | Apply all the clang-tidy performance-* fixes | louiz’ | |
2017-04-07 | Apply all the clang-tidy misc-* fixes | louiz’ | |
2017-04-07 | Apply all the clang-tidy modernize-* fixes | louiz’ | |
2017-03-29 | Remove two sneaky log_debug | louiz’ | |
2017-03-14 | Refactoring louloulibs and cmake | louiz’ | |
Use OBJECT libraries Remove the louloulibs directory Write FOUND variables in the cache | |||
2015-02-27 | Remove all the libs that are now in louloulibs | Florent Le Coz | |
2015-02-23 | Implement async DNS resolution using c-ares | Florent Le Coz | |
fix #2533 | |||
2015-02-22 | Fix typo | Florent Le Coz | |
2015-02-21 | Use a timer to try reconnecting to the XMPP server only each 2 seconds | Florent Le Coz | |
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”. | |||
2015-01-26 | Add a missing #include for sockaddr_in6 | Florent Le Coz | |
2014-12-17 | Fix a few issues reported by static analyzers | Florent Le Coz | |
2014-07-15 | Merge branch 'v1' | Florent Le Coz | |
Conflicts: src/network/socket_handler.hpp | |||
2014-07-15 | Fix IPv6 support (sockaddr size) | Florent Le Coz | |
Since struct sockaddr is too small to contain an IPv6, we use struct sockaddr_in6 instead, and we cast it where needed | |||
2014-07-15 | Send the reason of the connection close to the user | Florent Le Coz | |
2014-07-03 | Move some members of TCPSocketHandler into the SocketHandler class | Florent Le Coz | |
2014-07-02 | Add a level of inheritance above SocketHandler | Florent Le Coz | |
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. | |||
2014-06-22 | Delete the timeout event using the correct socket number, instead of -1 | Florent Le Coz | |
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. | |||
2014-06-19 | Make the Botan rng, credential_manager etc be static | Florent Le Coz | |
This actually makes the session_manager be useful, and saves a few octets of memory for the other ones | |||
2014-06-08 | Add a TimedEvent to cancel the connection to a server after 5 seconds | Florent Le Coz | |
2014-06-08 | Implement TLS support using Botan | Florent Le Coz | |
For now, it tries two TLS ports and then connects to the non-tls port. In the future we would like the user to be able to configure that. fix #2435 | |||
2014-06-05 | Make the destructor of the SocketHandler class protected non-virtual | Florent Le Coz | |
2014-05-28 | On connection in-progress, save the whole addrinfo struct, not just ai_addr | Florent Le Coz | |
2014-05-27 | Only close/unmanage the socket if we are connected/connecting | Florent Le Coz | |
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 | |||
2014-05-27 | Support IPv6 connections | Florent Le Coz | |
fix #2522 | |||
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-04-29 | Add missing std::string_literals | Florent Le Coz | |
2014-04-29 | Use C++14 string_literals | Florent Le Coz | |
2014-04-15 | Call on_connection_failed() when the connection fails to be established | Florent Le Coz | |
2014-04-15 | Remove a useless debug log line | Florent Le Coz | |
2014-03-24 | Reconnected immediately to the XMPP whenever it closes the connection | Florent Le Coz | |
2014-03-24 | Do not send data if we are connected, send it only once we actually are | Florent Le Coz | |
2014-03-10 | Remove useless cast | Florent Le Coz | |
2014-03-03 | Fix a bus error by not going above an array boundary | Florent Le Coz | |
2014-02-28 | Avoid unnecessary copies by recv()ing data directly into the expat buffer | Florent Le Coz | |
2014-02-27 | Use scatter/gather io with sendmsg to avoid concataning strings all the time | Florent Le Coz | |
2014-02-26 | Fix a wrong comment | Florent Le Coz | |
2014-02-22 | Consider that the connect() succeded if errno EISCONN | Florent Le Coz | |
Apparently on some systems, subsquent connect() calls may fail with EISCONN error, to indicate that the connection succeded in the background, instead of returning 0. | |||
2014-02-22 | Save the addrinfo values for reuse on subsequent connect() call | Florent Le Coz | |