]> git.ipfire.org Git - thirdparty/squid.git/commit
Add Universally Unique IDentifier (UUID) support (#1015)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Fri, 13 May 2022 11:31:09 +0000 (11:31 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 13 May 2022 11:31:18 +0000 (11:31 +0000)
commitb253a88cf3e5dd72a4c6ffe500d56bb9a0661a11
treebdda96045352c6e660a101749aa29a77d518f613
parenta928fdfda5ada32c76878b8ef3bde78c808a0bed
Add Universally Unique IDentifier (UUID) support (#1015)

These 128-bit UUIDs have a very high chance of being unique across
SMP Squid kids and even across independent Squid instances.

Our UUID creation algorithm uses random number generation as described
in RFC 4122 Section 4.4 (UUID version 4 variant 1).
src/Makefile.am
src/base/Makefile.am
src/base/RandomUuid.cc [new file with mode: 0644]
src/base/RandomUuid.h [new file with mode: 0644]
src/tests/testRandomUuid.cc [new file with mode: 0644]