Matthew Jordan
22e2340813
res/res_http_media_cache: Add an HTTP(S) backend for the core media cache
...
This patch adds a bucket backend for the core media cache that interfaces to a
remote HTTP server. When a media item is requested in the cache, the cache will
query its bucket backends to see if they can provide the media item. If that
media item has a scheme of HTTP or HTTPS, this backend will be invoked.
The backend provides callbacks for the following:
* create - this will always retrieve the URI specified by the provided
bucket_file, and store it in the file specified by the object.
* retrieve - this will pull the URI specified and store it in a temporary
file. It is then up to the media cache to move/rename this file
if desired.
* delete - destroys the file associated with the bucket_file.
* stale - if the bucket_file has expired, based on received HTTP headers from
the remote server, or if the ETag on the server no longer matches
the ETag stored on the bucket_file, the resource is determined to be
stale.
Note that the backend respects the ETag, Expires, and Cache-Control headers
provided by the HTTP server it is querying.
ASTERISK-25654
Change-Id: Ie201c2b34cafc0c90a7ee18d7c8359afaccc5250
2016-03-23 13:53:22 -03:00
..
2015-05-13 21:55:07 -04:00
2015-09-29 12:10:45 -05:00
2015-09-04 11:22:26 -05:00
2016-03-14 09:37:42 -06:00
2015-05-13 21:55:07 -04:00
2016-01-26 10:25:43 -06:00
2015-04-13 03:48:57 -04:00
2015-04-14 12:53:03 -04:00
2015-04-14 12:53:03 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-11-25 15:26:35 -06:00
2015-05-13 16:34:23 -05:00
2015-08-07 14:57:45 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-09-22 09:59:47 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2013-07-27 23:11:02 +00:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-08-18 16:38:19 -05:00
2013-07-27 23:11:02 +00:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2016-01-10 13:32:59 -06:00
2015-12-09 12:48:51 -06:00
2015-05-13 16:34:23 -05:00
2015-05-04 20:47:18 -04:00
2015-05-13 16:34:23 -05:00
2016-03-07 03:42:18 -03:00
2015-05-13 16:34:23 -05:00
2016-03-07 03:42:18 -03:00
2016-02-22 10:11:43 +01:00
2015-09-18 13:49:55 -05:00
2015-05-04 20:47:18 -04:00
2015-06-26 22:06:06 -05:00
2016-01-09 13:39:09 -06:00
2016-03-23 13:53:22 -03:00
2015-11-24 13:57:05 -06:00
2015-05-14 10:57:04 -05:00
2015-12-16 15:21:14 -06:00
2014-07-18 15:49:46 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-11-19 08:09:51 +01:00
2015-12-04 07:20:41 -06:00
2015-08-11 18:24:29 -05:00
2015-12-04 09:01:16 -06:00
2015-05-13 16:34:23 -05:00
2015-05-22 22:30:22 -05:00
2015-05-13 16:34:23 -05:00
2014-03-28 18:32:50 +00:00
2016-03-23 13:53:22 -03:00
2015-04-13 03:48:57 -04:00
2015-12-28 11:41:41 -08:00
2014-06-26 18:27:53 +00:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2016-01-13 07:50:29 -06:00
2015-04-13 03:48:57 -04:00
2015-05-21 18:18:57 -05:00
2016-01-04 17:31:24 -06:00
2014-01-06 17:45:25 +00:00
2016-03-07 05:02:45 -03:00
2016-01-22 11:59:06 -06:00
2016-02-03 14:11:11 -06:00
2016-02-16 16:42:26 -06:00
2015-05-04 20:47:01 -04:00
2016-02-11 20:19:03 +00:00
2014-10-09 17:46:23 +00:00
2016-02-18 16:30:29 -06:00
2016-01-20 09:56:13 -07:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2016-03-03 20:35:12 -06:00
2016-02-15 21:37:04 -06:00
2015-07-06 16:15:12 -05:00
2016-03-01 20:21:58 -06:00
2015-05-02 02:22:31 -05:00
2016-03-03 10:43:20 -06:00
2016-02-08 19:11:18 -06:00
2016-03-07 13:16:41 -06:00
2016-02-08 19:11:18 -06:00
2015-10-22 15:39:58 -05:00
2013-07-30 18:14:50 +00:00
2015-05-13 16:34:23 -05:00
2015-12-31 21:27:39 -06:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2016-03-02 18:02:38 -06:00
2016-02-08 19:11:18 -06:00
2015-05-13 16:34:23 -05:00
2016-03-07 13:16:41 -06:00
2016-02-08 19:11:18 -06:00
2016-03-07 13:16:41 -06:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2016-02-18 12:04:56 -06:00
2014-08-07 14:35:09 +00:00
2016-02-19 18:57:55 -06:00
2016-03-07 13:16:41 -06:00
2015-05-13 16:34:23 -05:00
2015-07-06 16:15:12 -05:00
2015-08-06 05:20:47 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2016-03-07 13:16:41 -06:00
2015-10-22 15:39:58 -05:00
2016-03-17 15:11:39 -03:00
2015-05-13 16:34:23 -05:00
2016-03-07 13:16:41 -06:00
2015-11-13 16:34:41 -05:00
2016-02-08 19:11:18 -06:00
2016-03-03 05:32:59 -06:00
2016-03-03 20:35:12 -06:00
2015-03-10 16:08:40 +00:00
2015-05-13 16:34:23 -05:00
2016-02-29 12:50:43 -06:00
2016-02-08 19:11:18 -06:00
2015-07-06 16:15:12 -05:00
2016-03-03 20:35:12 -06:00
2013-11-23 17:26:57 +00:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-06-10 18:06:14 -05:00
2016-02-03 17:06:20 -06:00
2015-08-19 17:09:58 -05:00
2015-05-22 22:30:22 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-07-11 12:22:41 -05:00
2015-07-19 09:11:18 -05:00
2016-02-25 14:18:57 -06:00
2016-02-15 13:48:44 -06:00
2016-02-02 15:01:37 -06:00
2015-05-13 16:34:23 -05:00
2013-09-16 18:00:32 +00:00
2015-04-13 03:48:57 -04:00
2015-03-17 22:03:01 +00:00
2015-05-13 16:34:23 -05:00
2016-02-04 12:05:52 -06:00
2013-11-23 17:48:28 +00:00
2015-05-13 16:34:23 -05:00
2014-01-14 23:44:57 +00:00
2015-12-16 15:21:14 -06:00
2015-12-16 15:21:14 -06:00
2015-05-13 16:34:23 -05:00
2013-11-23 12:40:46 +00:00
2015-05-19 21:11:21 -05:00
2015-12-16 15:21:14 -06:00
2015-11-22 22:38:34 -06:00
2016-02-16 12:26:29 -06:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-07-02 05:13:37 -05:00
2015-05-13 16:34:23 -05:00
2015-07-02 05:13:37 -05:00
2016-02-02 06:48:15 -06:00