From b5a707ec90f75aac499c9804592ebb14257cf751 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 6 Dec 2010 17:21:16 +0100 Subject: [PATCH] Clarify that g_socket_client_connect_to_uri() doesn't know about TLS --- gio/gsocketclient.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.7.4