This revision upgrades gloox to the development version (hopefully being the future 1.0.25 🤞🏻) on Windows.
There is a bit of API breakage, encapsulated in the gloox wrapper.
This entirely fixes #4705: connecting with TLS now works on Windows. I believe dropping support for non-TLS connection should happen after FF.
I tested connecting with TLS 1.2 with the following (not usable outside Windows, this is a gloox feature that doesn't exist on 1.0.24):
--- glooxwrapper.cpp (revision 27485) +++ glooxwrapper.cpp (working copy) @@ -366,7 +370,7 @@ void glooxwrapper::Client::setTls(gloox::TLSPolicy tls) { - m_Wrapped->setTls(tls); + m_Wrapped->setTls(tls, gloox::TLSv1_2); } void glooxwrapper::Client::setCompression(bool compression)
and that works, so TLS 1.0 (and maybe 1.1) can be disabled server-side (probably right after committing this, to detect possible issues).