Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-11 | Move all the connect() logic from TCPSocketHandler into a subclass | louiz’ | |
This way, TCPSocketHandler only deal with the message sending/receiving, not the connect() or anything else. This will be used for implementing servers (because when a client is accepted, we don’t need all the connect() and dns resolution stuff). | |||
2016-11-07 | Add get-irc-connection-info adhoc command | louiz’ | |
fix #3171 | |||
2016-10-31 | Trivial cleanup | louiz’ | |
2016-10-27 | Directly use Botan::byte instead of char, to avoid an unnecessary cast | louiz’ | |
2016-10-20 | Optimize tcp_socket::on_send by using vector::erase() only once per call | louiz’ | |
2016-10-20 | Very little optimization by using a simpler scope_guard when possible | louiz’ | |
The version with the vector, that can be disabled etc, is “very” slow, so we use unique_ptr when we don’t need to disable it, and when it only contains one function | |||
2016-10-06 | Fix the argument of strerror after bind() | louiz’ | |
fix coverity CID 134470 | |||
2016-06-13 | Show off, with some variadic templates, for the logger module | louiz’ | |
2016-01-13 | Quiet a warning | Florent Le Coz | |
2015-12-03 | Do not forget to call freeaddrinfo, fix a memleak | Florent Le Coz | |
For the getaddrinfo call we added in the previous commit, to convert the IP provided in the conf. | |||
2015-12-01 | Display a better error when connection fails | Florent Le Coz | |
The error should not tell “while reading” when we are just connecting. | |||
2015-12-01 | Add the outgoing_bind option | Florent Le Coz | |
Lets the admin choose a local address to bind each outgoing (IRC) socket. | |||
2015-11-30 | Do not segfault when trying to send TLS data over a not-yet connected socket | Florent Le Coz | |
2015-11-07 | Avoid leaking socket filedescriptors | Florent Le Coz | |
When trying the various results of getaddrinfo, we forgot to close the socket when one fails, before trying the next one. Also use the destructor to make sure we do not have some other unrelated leak. | |||
2015-11-05 | Provide an adhoc option to let user pass the cert verif for some IRC servers | Florent Le Coz | |
2015-11-02 | Verify the remote TLS certificates using the system-wide trusted CAs | Florent Le Coz | |
2015-10-26 | Fix some trivial issues reported by cppcheck | Florent Le Coz | |
2015-10-15 | Separate the DNS resolution logic from the TCP communication logic | Florent Le Coz | |
fix #3137 | |||
2015-09-22 | Catch TLS exceptions, close the connection and inform the user of the error | Florent Le Coz | |
2015-07-09 | Display the resolved IP in debug logs | Florent Le Coz | |
2015-07-09 | If hostname resolution fails, do not try all possible ports | Florent Le Coz | |
2015-07-09 | Send the cares error message before cleaning it | Florent Le Coz | |
fix #3083 | |||
2015-05-28 | louloulibs is directly included, instead of being a submodule | Florent Le Coz | |
Because this is a nightmare to manage | |||
2015-05-27 | Avoid some potential race conditions by blocking the signals we manage | Florent 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-13 | Update to latest louloulibs revision, and add test for hostname validity | Florent Le Coz | |
fix #2694 | |||
2015-05-07 | Update to latest louloulibs | Florent Le Coz | |
fix #3042 | |||
2015-04-21 | Properly check for connecting or connected status before reconnecting | Florent 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-20 | Update louloulibs submodule to the correct revision | Florent Le Coz | |
2015-04-20 | Decode incoming JIDs local part according to xep 0106 | Florent Le Coz | |
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047 | |||
2015-03-04 | Update to latest louloulibs revision | Florent Le Coz | |
2015-03-02 | Update to latest louloulibs revision | Florent Le Coz | |
2015-03-02 | Update louloulibs to last revision | Florent Le Coz | |
2015-02-27 | Only use include_directory() if the directory path is defined | Florent Le Coz | |
2015-02-27 | Add louloulibs as a submodule | Florent Le Coz | |