Clarify that g_socket_client_connect_to_uri() doesn't know about TLS
authorDan Winship <danw@gnome.org>
Mon, 6 Dec 2010 16:21:16 +0000 (17:21 +0100)
committerDan Winship <danw@gnome.org>
Tue, 7 Dec 2010 09:41:06 +0000 (10:41 +0100)
gio/gsocketclient.c

index 0464322..e6008a3 100644 (file)
@@ -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