Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-15 | Fix some little compilation errors with some configs, from last commit | louiz’ | |
2016-11-15 | Support the ident protocol | louiz’ | |
fix #3211 | |||
2016-11-11 | Add missing cstring include for strerror | louiz’ | |
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 a missing <chrono> include | louiz’ | |
2016-11-07 | Add get-irc-connection-info adhoc command | louiz’ | |
fix #3171 | |||
2016-11-01 | Refactor load_certs() | louiz’ | |
2016-10-31 | Trivial cleanup | louiz’ | |
2016-10-31 | Make AddrinfoDeleter a class | louiz’ | |
2016-10-31 | Rename a variable that shadows a class member | 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-12 | On 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-12 | Fix an off-by-one issue in the POLL code | louiz’ | |
2016-10-06 | Fix the argument of strerror after bind() | louiz’ | |
fix coverity CID 134470 | |||
2016-10-06 | Remove a branch that execute identical code in both cases | louiz’ | |
fix coverity CID 134469 | |||
2016-10-03 | Avoid an exception due to some bad logic in the DNS resolution mechanic | louiz’ | |
fix #3207 | |||
2016-10-03 | Fix some compilation warning/errors that appear on FreeBSD | louiz’ | |
2016-07-28 | Always remove all the DNS sockets on an c-ares event | louiz’ | |
Because c-ares may close one of its socket, even if it’s not the one that has the event. Otherwise we may not know when a socket has been removed from our poller (automatically, when close()ed) and this leads to bugs. | |||
2016-07-27 | Revert "Don’t use unique_ptr to store dns socket handlers" | louiz’ | |
This reverts commit 5328d0806fdc5becb9344b4d4320787a2b7c0712. | |||
2016-07-12 | Bring back DNSSocketHandler's destructor | louiz’ | |
2016-07-12 | Don’t use unique_ptr to store dns socket handlers | louiz’ | |
2016-07-04 | Replace all include guards by #pragma once | louiz’ | |
It’s $CURRENT_YEAR | |||
2016-06-13 | Show off, with some variadic templates, for the logger module | louiz’ | |
2016-06-08 | Add a missing vector include | louiz’ | |
2016-06-08 | Remove all usage of std::list | louiz’ | |
2016-05-13 | Use “using” instead of typedef | louiz’ | |
2016-05-10 | Fix build with POLLER=POLL | louiz’ | |
2016-05-04 | Style fix | louiz’ | |
Move all constructors at the top of classes | |||
2016-04-22 | Add a TEMPORARY work-around for botan 1.11.29 | louiz’ | |
2016-02-24 | Fix the ordering of poll callbacks, with ppoll too | Florent Le Coz | |
2016-02-24 | Close the epoll fd | Florent Le Coz | |
2016-02-22 | Fix 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. | |||
2016-02-10 | Rename BasicCredentialManager | Florent Le Coz | |
2016-01-13 | Quiet a warning | Florent Le Coz | |
2016-01-04 | Support a trusted SHA1 fingerprint to be configured for each IRC server | 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 | Make the CA file configurable | Florent Le Coz | |
2015-11-05 | Provide an adhoc option to let user pass the cert verif for some IRC servers | Florent Le Coz | |
2015-11-02 | Fix the build without botan, caused by credentials_manager | Florent Le Coz | |
2015-11-02 | Verify TLS certificate with the given hostname, instead of a hardcoded one | Florent Le Coz | |
2015-11-02 | Verify the remote TLS certificates using the system-wide trusted CAs | Florent Le Coz | |
2015-10-31 | Remove a useless assignment | Florent Le Coz | |
2015-10-26 | Fix some trivial issues reported by cppcheck | Florent Le Coz | |
2015-10-26 | Fix a build issue when compiling without cares | Florent Le Coz | |