Module: sip-router
Branch: master
Commit: f3528b2e48a8dca862f61ebef2dd2eb2bd843234
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f3528b2e48a8dca862f61ebef2dd2eb2bd843234

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date:   Wed Oct  7 18:31:08 2009 +0200

memcached(sr): add support for setting of value expiration - $mctex(key)

- add support for setting of value expiration. As the memcache library
  don't provide functions to later change the expire value of an existing
  key we need to fetch the value and then store it again with the given
  time. This should be changed with a different (improved) library
- refactor functions a bit, use a helper method instead of duplicating
  the cache access functions
- update documentation

---

 modules_k/memcached/README                  |   30 +++-
 modules_k/memcached/doc/memcached_admin.xml |   19 +++
 modules_k/memcached/mcd_var.c               |  223 ++++++++++++++++-----------
 modules_k/memcached/mcd_var.h               |   13 ++
 modules_k/memcached/memcached.c             |    4 +-
 5 files changed, 191 insertions(+), 98 deletions(-)

Diff:   
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=f3528b2e48a8dca862f61ebef2dd2eb2bd843234

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to