I messed around with trying to get RemoteFile.cpp to intercept sslerrors
without any luck at all. The Directory::Error function was always grabbing
them.
Then I just did a simple change to change the https redirect to http and
downloading samples works just fine now.Unless sourceforge gets rid of port 80
access (which I sincerely doubt) this fixes the SSL problem without having to
install any additional libraries.Also changed the error message to be a bit
more informative of where the errors were occurring.
de Mike W9MDB
Index:
SampleDownloader/RemoteFile.cpp===================================================================---
SampleDownloader/RemoteFile.cpp (revision 7366)+++
SampleDownloader/RemoteFile.cpp (working copy)@@ -157,6 +157,7 @@ {
if (listener_->redirect_request (redirect_url)) {+
redirect_url.setScheme("http"); if (++redirect_count_ < 10) //
maintain sanity { // follow redirect@@ -189,7 +190,7
@@ // report errors that are not due to abort if
(QNetworkReply::OperationCanceledError != reply_->error ()) {-
listener_->error (tr ("Network Error"), reply_->errorString ());+
listener_->error (tr ("Network Error RemoteFile"), reply_->errorString ());
} } else
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel