- Oct 17, 2023
-
-
Adrien Béraud authored
Change-Id: I93782be5cd93c824d14e7c9871be47ed6527d836
-
Adrien Béraud authored
Change-Id: I768da190ea9dc891aba059ab9b44664897a9fffe
-
Adrien Béraud authored
Change-Id: I44eca33dc35747eda86cee32be38782cb96d077b
-
Adrien Béraud authored
Avoids potential processing ordering issues Change-Id: I480872ffecb80439620a8442610b845f790b9db6
-
Adrien Béraud authored
Allows to better handle new states in the future. Change-Id: Ie8b28f9776d2c4ce8a45eb02f5af323a2ea37ffd
-
Adrien Béraud authored
Change-Id: I71d88e0efbf78009ba003b03d107c0f897dbc485
-
Adrien Béraud authored
Change-Id: I5bc6cdc830959dfc37f2b0f620340653ed2342a9
-
Adrien Béraud authored
* merge info, waiting and pending maps into DeviceInfo, improving consistency of various operations * DeviceInfo has its own mutex, and operations keep a weak pointer to it, reducing contention * DeviceInfoSet encapsulate atomic management of DeviceInfos, enforcing proper locking order Change-Id: I12c107782600355a34d460e7802d92ae9d590993
-
Adrien Béraud authored
Prevents the peer from hijacking existing channels, preventing various issues when collisions occur. Also mark accepted connections as 'answered', allowing its removal if shutdown by the server. Change-Id: Ie91d50b0d518cb6621289233bfda2c289deeed5c
-
Sébastien Blin authored
Sadly, this method is async, and can cause really long delay in shutdown, but at least, avoid to call UPnPFinish before the end of the download (else this method never returns) GitLab: #8 Change-Id: I80df3da9b884b93a331aae738eae9a27be898fe2
-
- Oct 16, 2023
-
-
Adrien Béraud authored
Change-Id: Ibbe0ad8cb6817b7c6e77f7991b92f1ad18c13755
-
Adrien Béraud authored
'Birthday paradox' implies that if the two peers create channels at the same time, there is a non-zero chance of collision even for small amount of channels, because channel ids are 16 bits: * >50% probability of collision with N=256 * >1% probability of collision with N=40 * 0.2% probability of collision with N=16 For this reason, use incrementing channel numbers, but start at 0x8000 for the server and at 1 for the client. This method guarantees 0-collision for at least the first 2^15-1 channels opened each side, and reduces the probability of collision after that. Change-Id: I913cf2962a1fc577a6d24b9184a25d75d2473574
-
Sébastien Blin authored
dht() can live longer, so technically there is nothing preventing this to be nullptr there Change-Id: Ifc77f1a9c8e3b3d889da16056a7e8965ec4786ed
-
- Oct 13, 2023
-
-
Adrien Béraud authored
Change-Id: Iacd7f4a80378a4e0c17821bc217e2a073ab8fb70
-
Adrien Béraud authored
Change-Id: I6940503526bf42874047dc3802a33f955aa972ce
-
Adrien Béraud authored
Change-Id: I377ca001dbc1821b3b22dfc83d7b2677cc344477
-
Adrien Béraud authored
Change-Id: I585fefb88dbcab2317a3b0c4a6564e75ce008eeb
-
- Oct 06, 2023
-
-
Adrien Béraud authored
Change-Id: Ic33f34e4b1346948b42ca47383037a8c9779c5e6
-
- Oct 03, 2023
-
-
Change-Id: I315319efb1bc2d2466809215a43437854b816d79
-
- Oct 02, 2023
-
-
Change-Id: Iad7c8a51c467137cd397d9df6d7bce353e776f9b
-
Change-Id: I2cb64513b019161150e93fd0737fbdf1831fd722
-
Change-Id: I230526c82df25929875a020c205fe950dbf202b0
-
To avoid a build error on Alma Linux Change-Id: Ibe06f52c241b6d0a1633b373e557ef9319482636
-
Change-Id: I74a9eac906732567e4e11f910e845fe5bbddabe0
-
Change-Id: I165955454d0fc471f6b8cf894b2fadbd3b24a6bb
-
Change-Id: I6db02e7fecc437711194899cd90288a229e6326f
-
Kateryna Kostiuk authored
Change-Id: I182ba3b7e9a69ef7fd02808cfa36576473f8857d
-
- Sep 28, 2023
-
-
Adrien Béraud authored
Change-Id: I3324b1bc4f9907d053a0bd44aaf4fe898208afd7
-
Adrien Béraud authored
Change-Id: I5b0deff45592389c661a5816783c3d91bfc3b2a3
-
Amna Snene authored
Change-Id: I12ac7e224bac1f8225f50d9398a9ff755e73ba29
-
Amna Snene authored
Change-Id: I1093d16dbfaf13cf0d36961a2b94d7c89e7650fe
-
- Sep 26, 2023
-
-
Amna Snene authored
Change-Id: Ib74ad7f08b3bd7be20492863d123025688fed770
-
Amna Snene authored
Change-Id: I8ba6bc51c6c6de4a11d9529bb8a52d002f7569e0
-
Amna Snene authored
Change-Id: I98e6f5d4b579fcc21238d3537eed486320810516
-
Amna Snene authored
Change-Id: I0f9528aafd0483e6c8c55053071acafedae778e6
-
Amna Snene authored
Change-Id: I55a379b9802fbb5dae69c2e54fbc5c0381aafef1
-
Amna Snene authored
Change-Id: I74b841c024d131013da012539d0842cd108438a8
-
- Sep 25, 2023
-
-
Adrien Béraud authored
Change-Id: Ie3d47f4b8ae10de490af21aca2e8bafc7b8f4929
-
- Sep 24, 2023
-
-
Adrien Béraud authored
Change-Id: I55ea604cc2542fb0d38b465cfa6a090450fe9322
-
Adrien Béraud authored
Change-Id: Ie56f065a58b9a5453d3b2df86cd7a7b249fac077
-