mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-01 11:15:57 +00:00
extend magic cache api to export the expires value (if available)
This commit is contained in:
@@ -309,7 +309,7 @@ PHP_FUNCTION(uwsgi_cache_get) {
|
||||
RETURN_NULL();
|
||||
}
|
||||
|
||||
char *value = uwsgi_cache_magic_get(key, keylen, &valsize, cache);
|
||||
char *value = uwsgi_cache_magic_get(key, keylen, &valsize, NULL, cache);
|
||||
if (value) {
|
||||
char *ret = estrndup(value, valsize);
|
||||
free(value);
|
||||
|
||||
Reference in New Issue
Block a user