Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  factory-no-retry-ssl.patch.1   Sprache: unbekannt

 
Spracherkennung für: .1 vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

--- libcmis/src/libcmis/session-factory.cxx.orig 2024-06-19 18:43:56.244832053 +0200
+++ libcmis/src/libcmis/session-factory.cxx 2024-06-20 11:46:26.518263605 +0200
@@ -94,8 +94,13 @@
                 {
                     response = httpSession->httpGetRequest( bindingUrl );
                 }
-                catch ( const CurlException& )
+                catch (const CurlException& e)
                 {
+                    if (strcmp(e.what(), "Invalid SSL certificate") == 0)
+                    {
+                        // no point in trying other protocols
+                        throw e.getCmisException();
+                    }
                     // Could be SharePoint - needs NTLM authentication
                     session = new SharePointSession( bindingUrl, username,
                                                       password, verbose );

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-06-10]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002