Age | Commit message (Collapse) | Author |
|
If a server closes the XMPP stream, it sends a </stream:stream>
tag. The client is supposed to respond with the same tag and
then both parties can close the TLS/TCP socket.
Previously Swift(-en) would simply ignore </stream:stream>
tag if it was not directly followed by a shutdown of the TCP
connection.
In addition there is now a timeout timer started as soon as
Swiften or the server initiates a shutdown. It will close
the socket and cleanup the ClientSession if the server does
not respond in time or the network is faulty.
Refactored some code in ClientSession in the process. Moved
ClientSession::State to a C++11 strongly typed enum class.
This also fixes issues where duplicated </stream:stream>
tags would be send by Swift.
Test-Information:
Tested against Prosody ba782a093b14 and M-Link 16.3v6-0,
which provide ad-hoc commands to end a user session.
Previously this was ignored by Swift. Now it correctly responds
to the server, detects it as a disconnect and tries to
reconnect afterwards.
Added unit test for the case where the server closes the
session stream.
Change-Id: I59dfde3aa6b50dc117f340e5db6b9e58b54b3c60
|
|
Test-Information:
None.
Change-Id: I2514d83fdec851db9874f2f0160493435e7240f8
|
|
This is supposed to happen automatically according to Qt
documentation but it does not.
Qt also changed the context of QT_LAYOUT_DIRECTION from
Application to QGuiApplication. This commit adjusts our
translations accordingly.
Test-Information:
Tested with Qt 5.4.2 and Qt 5.5.1 on OS X 10.11.6 with
German and Hebrew translations.
Change-Id: I0b6a8bf35487e95f5186fd4fa09d4dcb92ba0c01
|
|
Test-Information:
None.
Change-Id: I967942086d573cf7e6b4b18c7d370a07e5c03806
|
|
The added dates are the author dates of the tagged commit
corresponding to the release.
Test-Information:
None.
Change-Id: I35c72a8fb017c48a99c5b655d7857498cba790b3
|
|
Test-Information:
None.
Change-Id: I04e12ee197e45ec47a8f93bf97248adbbe12f649
|
|
Test-Information:
None.
Change-Id: I48a31e040a9f58fe279ed7903a0c404865f7f767
|
|
* swift-2.x:
Remove incorrect CFRelease() calls in MacOSXProxyProvider.
Change-Id: Ia9fe8954839d65be9e337304ce095c7b48a64155
|
|
This avoids a potential crash when using proxies on Mac OS X.
Change-Id: I393ba03a6ffd89668e31c5dad8c0d7277601fc14
|
|
Change-Id: I5baaa2cf28cbc344bf442c4a74e0c9ff3ba31ea1
|
|
Change-Id: I2da5116ab8467645b83afa1908f438301f326dbe
|
|
|
|
|
|
|