summaryrefslogtreecommitdiff
path: root/louloulibs/network/tcp_socket_handler.hpp
AgeCommit message (Collapse)Author
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-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-10-27Directly use Botan::byte instead of char, to avoid an unnecessary castlouiz’
2016-07-04Replace all include guards by #pragma oncelouiz’
It’s $CURRENT_YEAR
2016-06-08Add a missing vector includelouiz’
2016-06-08Remove all usage of std::listlouiz’
2016-05-04Style fixlouiz’
Move all constructors at the top of classes
2016-02-10Rename BasicCredentialManagerFlorent Le Coz
2016-01-04Support a trusted SHA1 fingerprint to be configured for each IRC serverFlorent Le Coz
2015-12-01Add the outgoing_bind optionFlorent Le Coz
Lets the admin choose a local address to bind each outgoing (IRC) socket.
2015-11-07Avoid leaking socket filedescriptorsFlorent 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-05Provide an adhoc option to let user pass the cert verif for some IRC serversFlorent Le Coz
2015-11-02Verify the remote TLS certificates using the system-wide trusted CAsFlorent Le Coz
2015-10-15Separate the DNS resolution logic from the TCP communication logicFlorent Le Coz
fix #3137
2015-07-09Display the resolved IP in debug logsFlorent Le Coz
2015-07-09If hostname resolution fails, do not try all possible portsFlorent Le Coz
2015-07-08Minor comment typoFlorent Le Coz
2015-05-28louloulibs is directly included, instead of being a submoduleFlorent Le Coz
Because this is a nightmare to manage
2015-05-27Avoid some potential race conditions by blocking the signals we manageFlorent 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-13Update to latest louloulibs revision, and add test for hostname validityFlorent Le Coz
fix #2694
2015-05-07Update to latest louloulibsFlorent Le Coz
fix #3042
2015-04-21Properly check for connecting or connected status before reconnectingFlorent 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-20Update louloulibs submodule to the correct revisionFlorent Le Coz
2015-04-20Decode incoming JIDs local part according to xep 0106Florent Le Coz
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047
2015-03-04Update to latest louloulibs revisionFlorent Le Coz
2015-03-02Update to latest louloulibs revisionFlorent Le Coz
2015-03-02Update louloulibs to last revisionFlorent Le Coz
2015-02-27Only use include_directory() if the directory path is definedFlorent Le Coz
2015-02-27Add louloulibs as a submoduleFlorent Le Coz