diff options
| author | Linus Jahn <lnj@kaidan.im> | 2020-09-08 17:31:34 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2021-03-11 19:26:57 +0100 |
| commit | 11a0af384ff12e96827a08dd378c7b1830c31790 (patch) | |
| tree | 5520cff2e7696ccd884507f10bca4577f18f27ed /src/base/QXmppHttpFileSource.cpp | |
| parent | 952d925d3492ae98a7ed617ed8d76d7238cbcd5c (diff) | |
| download | qxmpp-11a0af384ff12e96827a08dd378c7b1830c31790.tar.gz | |
QXmppClient: Reset Stream Management package cache on JID changes
The stream management mechanisms cache sent packages until the client
receives an acknowledgement from the server. When the connection gets
lost, the client resends all packages from the last connection that
have not been acknowledged.
And here comes the problem: When connecting with a different JID, the
client still resends all packages from the last connection. Packages
that were never intended to be sent from another account / to another
server.
This commit fixes this behaviour by resetting the package cache, when
the JID changes.
Diffstat (limited to 'src/base/QXmppHttpFileSource.cpp')
0 files changed, 0 insertions, 0 deletions
