Changeset: 45faa48aaded for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/45faa48aaded
Modified Files:
        clients/mapilib/connect.c
Branch: monetdburl
Log Message:

Detect and refuse TLS connections (for now)


diffs (14 lines):

diff --git a/clients/mapilib/connect.c b/clients/mapilib/connect.c
--- a/clients/mapilib/connect.c
+++ b/clients/mapilib/connect.c
@@ -43,6 +43,10 @@ mapi_reconnect(Mapi mid)
                return MERROR;
        }
 
+       bool tls = msetting_bool(mid->settings, MP_TLS);
+       if (tls)
+               return mapi_setError(mid, "TLS (monetdbs://...) is not 
supported yet", __func__, MERROR);
+
        // If neither host nor port are given, scan the Unix domain sockets in
        // /tmp and see if any of them serve this database.
        // Otherwise, just try to connect to what was given.
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to