[glib] Clarify that g_socket_client_connect_to_uri() doesn't know about TLS



commit b5a707ec90f75aac499c9804592ebb14257cf751
Author: Dan Winship <danw gnome org>
Date:   Mon Dec 6 17:21:16 2010 +0100

    Clarify that g_socket_client_connect_to_uri() doesn't know about TLS

 gio/gsocketclient.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c
index 0464322..e6008a3 100644
--- a/gio/gsocketclient.c
+++ b/gio/gsocketclient.c
@@ -1019,7 +1019,9 @@ g_socket_client_connect_to_service (GSocketClient  *client,
  *
  * @uri may be any valid URI containing an "authority" (hostname/port)
  * component. If a port is not specified in the URI, @default_port
- * will be used.
+ * will be used. TLS will be negotiated if #GSocketClient:tls is %TRUE.
+ * (#GSocketClient does not know to automatically assume TLS for
+ * certain URI schemes.)
  *
  * Using this rather than g_socket_client_connect() or
  * g_socket_client_connect_to_host() allows #GSocketClient to



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]