[Development] [API Change] New authentication method in QNetworkAccessManager

Giuseppe D'Angelo dangelog at gmail.com
Mon Mar 10 08:37:52 CET 2014


On 10 March 2014 07:43, Kurt Pattyn <pattyn.kurt at gmail.com> wrote:
> Is the documentation on the signal sslErrors() still correct then: "Note:
> You cannot use Qt::QueuedConnection when connecting to this signal, or
> calling QSslSocket::ignoreSslErrors() will have no effect." ?

I presume it's still correct in order to retain compatibility with Qt
4. The new pausing mechanism is opt-in: you need to call
setPauseMode(QAbstractSocket::PauseOnSslErrors) in order to make the
socket pause when emitting sslErrors(). Once that signal gets emitted,
the socket pauses and will not proceed further unless the user then
calls ignoreSslErrors() + resume() or so.

To me this mechanism seems flexible enough to be coupled with anything...

-- 
Giuseppe D'Angelo



More information about the Development mailing list