George Joseph
01aa84e42f
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.
2024-09-20 14:06:24 +00:00
..
2022-11-02 12:01:45 -05:00
2022-09-12 14:57:39 -05:00
2022-09-12 14:57:39 -05:00
2021-11-16 05:37:26 -06:00
2017-12-22 09:23:22 -05:00
2022-04-26 15:35:52 -05:00
2022-04-26 15:35:52 -05:00
2022-07-11 04:10:39 -05:00
2022-04-26 15:35:52 -05:00
2017-12-22 09:23:22 -05:00
2018-03-19 17:59:59 -04:00
2021-11-16 05:37:26 -06:00
2016-10-27 09:53:55 -04:00
2018-09-12 12:34:54 -05:00
2018-10-17 14:50:54 -05:00
2016-10-27 09:53:55 -04:00
2021-12-02 10:38:23 -06:00
2018-11-21 08:47:27 -05:00
2021-12-02 10:38:23 -06:00
2021-12-13 09:00:04 -06:00
2017-04-12 15:57:21 -06:00
2016-10-27 09:53:55 -04:00
2022-09-12 11:23:31 -05:00
2022-01-31 09:36:55 -06:00
2018-11-29 15:05:33 -06:00
2017-04-12 15:57:21 -06:00
2017-03-27 19:54:44 +00:00
2022-09-13 09:50:38 -05:00
2022-03-23 17:04:44 -05:00
2016-10-27 09:53:55 -04:00
2017-08-03 22:09:28 -04:00
2023-02-28 07:52:35 -06:00
2019-09-10 13:11:07 -05:00
2024-09-20 14:06:24 +00:00
2021-11-18 10:38:40 -06:00
2017-12-22 09:23:22 -05:00
2021-11-18 10:38:40 -06:00
2016-12-08 07:22:33 +11:00
2016-12-08 07:22:33 +11:00
2016-12-08 07:22:33 +11:00
2016-12-08 07:22:33 +11:00
2018-10-17 14:50:54 -05:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2016-11-15 21:21:59 -05: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
2021-12-02 10:38:23 -06:00
2016-10-27 09:53:55 -04:00
2021-09-13 07:17:40 -05:00
2016-10-27 09:53:55 -04:00
2022-11-21 07:28:58 -06:00
2021-10-21 11:39:15 -05:00
2020-06-10 09:33:28 -05:00
2017-11-18 22:13:32 -05:00
2024-09-20 14:06:24 +00:00
2021-11-18 10:38:40 -06:00
2022-10-28 07:41:05 -05:00
2016-04-08 13:52:02 -05:00
2016-10-27 09:53:55 -04:00
2021-11-16 05:37:26 -06:00
2023-04-10 10:52:45 -05:00
2016-10-27 09:53:55 -04:00
2018-11-13 13:26:06 -05:00
2020-10-13 11:14:04 -05:00
2024-03-21 18:55:16 +00:00
2023-01-09 10:37:56 -07:00
2019-03-11 23:57:01 +01:00
2022-01-21 10:05:48 -06:00
2020-06-30 09:22:32 -05:00
2018-11-21 09:56:16 -05:00
2016-10-27 09:53:55 -04:00
2017-12-22 09:23:22 -05:00
2016-10-27 09:53:55 -04:00
2021-11-16 05:37:26 -06:00
2016-10-27 09:53:55 -04:00
2021-11-16 05:37:26 -06:00
2023-11-07 14:27:07 +00:00
2023-06-12 08:37:50 -06:00
2022-10-28 07:41:05 -05:00
2022-10-28 07:41:05 -05:00
2020-07-01 09:27:14 -05:00
2016-04-13 14:01:37 -06:00
2022-07-07 08:22:43 -05:00
2017-12-22 09:23:22 -05:00
2021-11-16 05:37:26 -06:00
2018-10-17 09:14:05 -04:00
2022-01-04 05:55:35 -06:00
2016-10-27 09:53:55 -04:00
2023-06-09 18:19:46 +00:00
2022-05-09 08:21:58 -05:00
2021-11-18 10:38:40 -06:00
2018-12-02 08:55:23 -05:00
2016-10-27 09:53:55 -04:00