Files
asterisk/tests
George Joseph e65b3f0faa db.c: Remove limit on family/key length
Consumers like media_cache have been running into issues with
the previous astdb "/family/key" limit of 253 bytes when needing
to store things like long URIs.  An Amazon S3 URI is a good example
of this.  Now, instead of using a static 256 byte buffer for
"/family/key", we use ast_asprintf() to dynamically create it.

Both test_db.c and test_media_cache.c were also updated to use
keys/URIs over the old 253 character limit.

Resolves: #881

UserNote: The `ast_db_*()` APIs have had the 253 byte limit on
"/family/key" removed and will now accept families and keys with a
total length of up to SQLITE_MAX_LENGTH (currently 1e9!).  This
affects the `DB*` dialplan applications, dialplan functions,
manager actions and `databse` CLI commands.  Since the
media_cache also uses the `ast_db_*()` APIs, you can now store
resources with URIs longer than 253 bytes.

(cherry picked from commit cc06c95ed2)
2024-11-14 20:01:34 +00:00
..
2023-01-03 09:00:42 -06:00
2022-09-12 14:58:04 -05:00
2022-09-12 14:58:04 -05:00
2021-11-15 22:48:56 -06:00
2021-11-15 22:48:56 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2021-11-18 10:19:10 -06:00
2021-11-18 10:19:10 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2020-06-10 09:33:28 -05:00
2021-11-18 10:19:10 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 22:48:56 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 22:48:56 -06:00
2021-11-15 22:48:56 -06:00
2016-10-27 09:53:55 -04:00
2023-06-09 18:19:53 +00:00
2022-05-09 08:21:45 -05:00