svc: add HTTP session handling
commitbfff95502c3b36ce132fa4bad76a1bf5e980c4c4
authorStefan Becker <chemobejk@gmail.com>
Tue, 13 Mar 2012 19:49:07 +0000 (13 21:49 +0200)
committerStefan Becker <chemobejk@gmail.com>
Tue, 13 Mar 2012 19:49:07 +0000 (13 21:49 +0200)
tree8387bdac5e152bc839cfd5415c571928e37e9110
parent92a34cf603a801c0e606723f493b7c03c47d5a5d
svc: add HTTP session handling

Microsoft seems to have enabled server load balancing on Office365.
Compared to the logs taken at the end of last year, the new logs now
show that the server responses contain HTTP Set-Cookie: headers. We need
to store the cookie and send it in all related SOAP requests so that the
same server processes them.

The highest layer, i.e. Certificate or MS-DLX, must now allocate a
session which will be re-used in all requests.
src/core/sipe-buddy.c
src/core/sipe-certificate.c
src/core/sipe-svc.c
src/core/sipe-svc.h
src/core/sipe-webticket.c
src/core/sipe-webticket.h