webticket: implement queueing
commit22549adc0363fc9b924f37851e6e1878e71d9ff7
authorStefan Becker <chemobejk@gmail.com>
Wed, 21 Nov 2012 21:01:21 +0000 (21 23:01 +0200)
committerStefan Becker <chemobejk@gmail.com>
Wed, 21 Nov 2012 21:01:21 +0000 (21 23:01 +0200)
tree8afdeb721679c00dc85f911f3f94284b33e224b1
parent3a8b590c42256413cff9c0b87d7bf6a4bd1c6248
webticket: implement queueing

When a Web Ticket request is pending for a Service URI and another
request is started for the same URI, then we simply queue the new
request on the already pending one. Once the pending one is completed it
will call its callback and all callbacks from the queued list. This will
speed up all operations that start multiple requests in a row.
src/core/sipe-core.c
src/core/sipe-webticket.c