webticket: store expiration time for cached tokens
commit3a8b590c42256413cff9c0b87d7bf6a4bd1c6248
authorStefan Becker <chemobejk@gmail.com>
Tue, 20 Nov 2012 16:59:57 +0000 (20 18:59 +0200)
committerStefan Becker <chemobejk@gmail.com>
Wed, 21 Nov 2012 15:45:32 +0000 (21 17:45 +0200)
tree3082365adfb26f211e545fe66f2125509f67b816
parent8de33e06f38cb241cd3fc47f9576c2b3ca6c69a8
webticket: store expiration time for cached tokens

cache_hit() now returns NULL when the cached token is valid for less
than 60 seconds. That should make sure that we don't have a service
request pending when the token expires.
src/core/sipe-webticket.c