projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae496a5
)
Don't finish gtls connection if the handshake failed
author
Sjoerd Simons
<sjoerd.simons@collabora.co.uk>
Wed, 10 Aug 2011 13:56:13 +0000
(15:56 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 13 Aug 2011 20:15:11 +0000
(16:15 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=656283
gio/gsocketclient.c
patch
|
blob
|
history
diff --git
a/gio/gsocketclient.c
b/gio/gsocketclient.c
index
21bb7d9
..
814f0e8
100644
(file)
--- a/
gio/gsocketclient.c
+++ b/
gio/gsocketclient.c
@@
-1151,6
+1151,8
@@
g_socket_client_tls_handshake_callback (GObject *object,
{
g_object_unref (data->connection);
data->connection = G_IO_STREAM (object);
+
+ g_socket_client_async_connect_complete (data);
}
else
{
@@
-1162,8
+1164,6
@@
g_socket_client_tls_handshake_callback (GObject *object,
enumerator_next_async (data);
}
-
- g_socket_client_async_connect_complete (data);
}
static void