[Pkg-owncloud-commits] [owncloud-client] 414/498: CheckServerJob: Only show SSL ticket warning when actually suceeded

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit eafc45d83cf470aa0397fb798992119cb7c32558
Author: Markus Goetz <markus at woboq.com>
Date:   Thu Jul 30 18:15:55 2015 +0200

    CheckServerJob: Only show SSL ticket warning when actually suceeded
---
 src/libsync/networkjobs.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libsync/networkjobs.cpp b/src/libsync/networkjobs.cpp
index 29da0a7..34f2760 100644
--- a/src/libsync/networkjobs.cpp
+++ b/src/libsync/networkjobs.cpp
@@ -396,7 +396,8 @@ bool CheckServerJob::finished()
 
 #if QT_VERSION > QT_VERSION_CHECK(5, 2, 0)
     if (reply()->request().url().scheme() == QLatin1String("https")
-            && reply()->sslConfiguration().sessionTicket().isEmpty()) {
+            && reply()->sslConfiguration().sessionTicket().isEmpty()
+            && reply()->error() == QNetworkReply::NoError) {
         qDebug() << "No SSL session identifier / session ticket is used, this might impact sync performance negatively.";
     }
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list