summaryrefslogtreecommitdiff
path: root/louloulibs/network
AgeCommit message (Collapse)Author
2017-03-08Pass the shared_ptr by reference, to avoid useless copieslouiz’
2017-03-07Small resolver refactorlouiz’
Makes the codecoverage deterministic (it does not depend on the order of v4/v6 resolution)
2017-02-28Use AI_NUMERICHOST when using getaddrinfo to bind() our client socketslouiz’
2017-01-31Add some missing ifndef for udnslouiz’
2017-01-19Do not require revocation info for a certificate to be validlouiz’
If anyone has any reason to believe this is a bad idea, please let me know.
2017-01-06Fix some issues found by sonar cubelouiz’
2017-01-06Add a missing errno includelouiz’
2017-01-06Use udns instead of c-areslouiz’
fix #3226
2016-12-08Don’t use global static members but functions that return a reference to ↵louiz’
an internal static object See https://github.com/randombit/botan/issues/761
2016-12-08Init some members of TcpClientSocketHandlerlouiz’
2016-12-07Add some missing includeslouiz’
2016-12-04Update the verify_certificate_chain code to work with botan >= 1.11.34 as welllouiz’
2016-12-04Add a missing ifdef botanlouiz’
2016-12-04Add some missing botan includeslouiz’
2016-12-04Clean a few more thingslouiz’
2016-12-02Use the new botan 1.11.32 Tls::Client API (but stay compatible with older ones)louiz’
2016-12-02TLS: Enable ecc point compressionlouiz’
If available in Botan. There is an issue where, if botan supports it but we don’t enable it, then the TLS handshake may fail with some servers
2016-11-16move is_connecting outside of an ifdeflouiz’
2016-11-16Remove some useless virtual method from SocketHandlerlouiz’
2016-11-16Fix an error on gcc 4.9, because it is so stupid it can’t find operator""slouiz’
2016-11-16Trivial include cleanuplouiz’
2016-11-16Remove an unused variablelouiz’
2016-11-15Fix some little compilation errors with some configs, from last commitlouiz’
2016-11-15Support the ident protocollouiz’
fix #3211
2016-11-11Add missing cstring include for strerrorlouiz’
2016-11-11Move all the connect() logic from TCPSocketHandler into a subclasslouiz’
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-07Add a missing <chrono> includelouiz’
2016-11-07Add get-irc-connection-info adhoc commandlouiz’
fix #3171
2016-11-01Refactor load_certs()louiz’
2016-10-31Trivial cleanuplouiz’
2016-10-31Make AddrinfoDeleter a classlouiz’
2016-10-31Rename a variable that shadows a class memberlouiz’
2016-10-27Directly use Botan::byte instead of char, to avoid an unnecessary castlouiz’
2016-10-20Optimize tcp_socket::on_send by using vector::erase() only once per calllouiz’
2016-10-20Very little optimization by using a simpler scope_guard when possiblelouiz’
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-12On 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-12Fix an off-by-one issue in the POLL codelouiz’
2016-10-06Fix the argument of strerror after bind()louiz’
fix coverity CID 134470
2016-10-06Remove a branch that execute identical code in both caseslouiz’
fix coverity CID 134469
2016-10-03Avoid an exception due to some bad logic in the DNS resolution mechaniclouiz’
fix #3207
2016-10-03Fix some compilation warning/errors that appear on FreeBSDlouiz’
2016-07-28Always remove all the DNS sockets on an c-ares eventlouiz’
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-27Revert "Don’t use unique_ptr to store dns socket handlers"louiz’
This reverts commit 5328d0806fdc5becb9344b4d4320787a2b7c0712.
2016-07-12Bring back DNSSocketHandler's destructorlouiz’
2016-07-12Don’t use unique_ptr to store dns socket handlerslouiz’
2016-07-04Replace all include guards by #pragma oncelouiz’
It’s $CURRENT_YEAR
2016-06-13Show off, with some variadic templates, for the logger modulelouiz’
2016-06-08Add a missing vector includelouiz’
2016-06-08Remove all usage of std::listlouiz’
2016-05-13Use “using” instead of typedeflouiz’