ref: f0f3d3d4e2fb7c02a5b2ad517632ec5071fefb45 biboumi/src/network/tcp_socket_handler.cpp -rw-r--r-- 10.5 KiB
f7e4adb1 — louiz’ 5 years ago
Avoid any potential int overflow
7b3e0e0c — louiz’ 5 years ago
Make botan’s policy configurable from a file

fix #3244
cf87cf08 — louiz’ 5 years ago
Better way to init the msghdr fields
69fd6cc4 — louiz’ 5 years ago
Explicitely init the msghdr fields, to be compatible with any implementation
ccb4ee09 — louiz’ 5 years ago
Apply all the clang-tidy misc-* fixes
5402a256 — louiz’ 5 years ago
Apply all the clang-tidy modernize-* fixes
0ab40dc1 — louiz’ 5 years ago
Refactoring louloulibs and cmake

Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
f0bc6c83 — louiz’ 5 years ago
Pass the shared_ptr by reference, to avoid useless copies
e1e740e3 — louiz’ 6 years ago
Don’t use global static members but functions that return a reference to an internal static object

See https://github.com/randombit/botan/issues/761
7784c568 — louiz’ 6 years ago
Update the verify_certificate_chain code to work with botan >= 1.11.34 as well
3f53db79 — louiz’ 6 years ago
Use the new botan 1.11.32 Tls::Client API (but stay compatible with older ones)
5f9568ca — louiz’ 6 years ago
TLS: Enable ecc point compression

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
0c8adc85 — louiz’ 6 years ago
Move all the connect() logic from TCPSocketHandler into a subclass

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).
7376831b — louiz’ 6 years ago
Add get-irc-connection-info adhoc command

fix #3171
3e7c8ab4 — louiz’ 6 years ago
Trivial cleanup
6d5d7eff — louiz’ 6 years ago
Directly use Botan::byte instead of char, to avoid an unnecessary cast
aa425522 — louiz’ 6 years ago
Optimize tcp_socket::on_send by using vector::erase() only once per call
ce06c25e — louiz’ 6 years ago
Very little optimization by using a simpler scope_guard when possible

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
954d271d — louiz’ 6 years ago
Fix the argument of strerror after bind()

fix coverity CID 134470
5a2e6116 — louiz’ 6 years ago
Show off, with some variadic templates, for the logger module