DOC: Update UUID references to RFC 9562
When support for UUIDv7 was added in commit
aab6477b67
the specification still was a draft.
It has since been published as RFC 9562.
This patch updates all UUID references from the obsoleted RFC 4122 and the
draft for RFC 9562 to the published RFC 9562.
This commit is contained in:
parent
8c6f43d382
commit
6610f656ea
@ -21314,7 +21314,7 @@ txn.sess_term_state : string
|
||||
http-after-response set-status 429 if { txn.sess_term_state "sQ" }
|
||||
|
||||
uuid([<version>]) : string
|
||||
Returns a UUID following the RFC4122 standard. If the version is not
|
||||
Returns a UUID following the RFC 9562 standard. If the version is not
|
||||
specified, a UUID version 4 (fully random) is returned.
|
||||
|
||||
Versions 4 and 7 are supported.
|
||||
|
@ -4795,7 +4795,7 @@ static int smp_check_uuid(struct arg *args, char **err)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Generate a RFC4122 UUID (default is v4 = fully random)
|
||||
// Generate a RFC 9562 UUID (default is v4 = fully random)
|
||||
static int smp_fetch_uuid(const struct arg *args, struct sample *smp, const char *kw, void *private)
|
||||
{
|
||||
long long int type = -1;
|
||||
|
@ -5739,8 +5739,8 @@ void ha_random_jump96(uint32_t dist)
|
||||
}
|
||||
}
|
||||
|
||||
/* Generates an RFC4122 version 4 UUID into chunk <output> which must be at least 37
|
||||
* bytes large.
|
||||
/* Generates an RFC 9562 version 4 UUID into chunk
|
||||
* <output> which must be at least 37 bytes large.
|
||||
*/
|
||||
void ha_generate_uuid_v4(struct buffer *output)
|
||||
{
|
||||
@ -5763,7 +5763,7 @@ void ha_generate_uuid_v4(struct buffer *output)
|
||||
(long long)((rnd[2] >> 14u) | ((uint64_t) rnd[3] << 18u)) & 0xFFFFFFFFFFFFull);
|
||||
}
|
||||
|
||||
/* Generates a draft-ietf-uuidrev-rfc4122bis-14 version 7 UUID into chunk
|
||||
/* Generates an RFC 9562 version 7 UUID into chunk
|
||||
* <output> which must be at least 37 bytes large.
|
||||
*/
|
||||
void ha_generate_uuid_v7(struct buffer *output)
|
||||
|
Loading…
Reference in New Issue
Block a user