From fc22d135bef1fbaec5a7c305e79f85c8c03bafc8 Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Fri, 24 Oct 2003 17:15:17 +0000 Subject: [PATCH] Call soup_dns_entry_get_hostent() on the SoupAddress passed in, not the 2003-10-24 Joe Shaw * libsoup/soup-address.c (update_address_from_entry): Call soup_dns_entry_get_hostent() on the SoupAddress passed in, not the one in addr->priv->lookup. Fixes a crash on synchronous DNS lookups. * libsoup/soup-server.c (soup_server_new): We need to ref the address we're binding to, because soup_socket_get_local_address() doesn't ref for us. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6428072..f1a4857 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2003-10-24 Joe Shaw + + * libsoup/soup-address.c (update_address_from_entry): Call + soup_dns_entry_get_hostent() on the SoupAddress passed in, not the + one in addr->priv->lookup. Fixes a crash on synchronous DNS + lookups. + + * libsoup/soup-server.c (soup_server_new): We need to ref the + address we're binding to, because soup_socket_get_local_address() + doesn't ref for us. + 2003-10-23 Dan Winship * libsoup/soup-socket.c (init): Initialize flags to default -- 2.7.4