]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: Update UUID references to RFC 9562
authorTim Duesterhus <tim@bastelstu.be>
Sun, 12 May 2024 15:08:34 +0000 (17:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 15 May 2024 09:40:08 +0000 (11:40 +0200)
When support for UUIDv7 was added in commit
aab6477b67415c4cc260bba5df359fa2e6f49733
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.

doc/configuration.txt
src/sample.c
src/tools.c

index f0168b0ea80c78692d4d8396f0e319193715a1f2..7732843427beaf386a512b00bd89b5f9f5779f67 100644 (file)
@@ -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.
index 43ab0035295d876cbffb28162f79f69f2bcfde3e..49017fe56bb852be846f8d50c469550947e0e733 100644 (file)
@@ -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;
index 61e0eaf6ff895cb48a9d29142a33750c3d0c18c7..1f6766523783f8e15e0c247d0dff69fa93f17e19 100644 (file)
@@ -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)