summaryrefslogtreecommitdiff
path: root/louloulibs
AgeCommit message (Collapse)Author
2015-11-30Do not segfault when trying to send TLS data over a not-yet connected socketFlorent Le Coz
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-05Make the CA file configurableFlorent Le Coz
2015-11-05Provide an adhoc option to let user pass the cert verif for some IRC serversFlorent Le Coz
2015-11-02Fix the build without botan, caused by credentials_managerFlorent Le Coz
2015-11-02Verify TLS certificate with the given hostname, instead of a hardcoded oneFlorent Le Coz
2015-11-02Verify the remote TLS certificates using the system-wide trusted CAsFlorent Le Coz
2015-10-31Remove a useless assignmentFlorent Le Coz
2015-10-28Refactor XmppParser::end_element to make it clearerFlorent Le Coz
Both for me, and apparently for clang static analyzer, who reported a (imo) false positive.
2015-10-26Style, add a few “this->”Florent Le Coz
2015-10-26Fix some trivial issues reported by cppcheckFlorent Le Coz
2015-10-26Fix a build issue when compiling without caresFlorent Le Coz
2015-10-26Remove a unused_parameter warningFlorent Le Coz
2015-10-26Remove some more debug thingFlorent Le Coz
2015-10-26Remove some debug thing that should not have been committedFlorent Le Coz
2015-10-15Separate the DNS resolution logic from the TCP communication logicFlorent Le Coz
fix #3137
2015-09-22Catch TLS exceptions, close the connection and inform the user of the errorFlorent Le Coz
2015-09-18Introduce the configure ad-hoc command on irc serversFlorent Le Coz
Provides two options for now, and they have no effect yet
2015-09-18XmlNode::add_child can also take a copy of a nodeFlorent Le Coz
2015-09-18Add an AdhocCommandsHandler to store commands specific to IRC serversFlorent Le Coz
2015-09-18Store the target jid in the AdhocSession objectsFlorent Le Coz
2015-09-18Also a xdg_data_pathFlorent Le Coz
2015-09-18Create a xdg_path functionFlorent Le Coz
2015-09-01Trivial cleanupFlorent Le Coz
2015-09-01Use unique_ptr to store the XmlNode’s childrenFlorent Le Coz
Also fix some constness things
2015-09-01Little cleanup of the XmlNode classFlorent Le Coz
Use map instead of unordered map (it's not slower, and it's shorter). Use the default move constructor.
2015-09-01XmlNode::to_string uses an ostringstream instead of a stringFlorent Le Coz
On my poor benchmark, it was infinitesimally faster.
2015-09-01XmlNodes are now always closedFlorent Le Coz
Remove the close() method and closed attribute. Remove all the calls to close(). (Save one bool per XmlNode, yay, and save a few ifs and some useless function calls. At best it should be unnoticeably faster and lighter and save a few keystrokes in the future)
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-09Send the cares error message before cleaning itFlorent Le Coz
fix #3083
2015-07-09Check for timeouts on the DNS resolution using c-aresFlorent Le Coz
ref #3083
2015-07-09Fix the log_* macros to not have two ; at the end of linesFlorent Le Coz
2015-07-08Minor comment typoFlorent Le Coz
2015-06-09Do not send the admin-only adhoc commands to non-admin usersFlorent Le Coz
They were not able to execute them anyway, so this was just a little usability issue.
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