diff options
author | Dan Winship <danw@src.gnome.org> | 2005-12-22 03:26:19 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2005-12-22 03:26:19 +0000 |
commit | a9e96959a0787cdf011193f89560e289edb5ad17 (patch) | |
tree | f7e62e75e1cf4192e14d2df9054f281f1215a5ea /libsoup/soup-server.c | |
parent | 3a63e742931cf7ae1b8a68c4799f6f5e7141aea6 (diff) | |
download | libsoup-pre214-branch.tar.gz |
Remove the "connect_result" signal. Make local_address and remote_addresslibsoup-pre214-branch
* libsoup/soup-socket.c: Remove the "connect_result" signal. Make
local_address and remote_address into (construct-only) properties.
(soup_socket_connect_async, soup_socket_connect_sync): Replace
soup_socket_connect. _async takes a callback+user_data (like the
old soup_socket_client_new_async), but doesn't implement the
callback in terms of a connect_result signal.
(soup_socket_client_new_async, soup_socket_client_new_sync): Gone.
(Unused since the async_context addition anyway). Replaced by the
new construct properties and connect methods.
* libsoup/soup-connection.c:
* libsoup/soup-server.c: Update for SoupSocket changes
Diffstat (limited to 'libsoup/soup-server.c')
-rw-r--r-- | libsoup/soup-server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libsoup/soup-server.c b/libsoup/soup-server.c index ab963664..8b787ebf 100644 --- a/libsoup/soup-server.c +++ b/libsoup/soup-server.c @@ -319,10 +319,11 @@ soup_server_new (const char *optname1, ...) } priv->listen_sock = - soup_socket_new (SOUP_SOCKET_SSL_CREDENTIALS, priv->ssl_creds, + soup_socket_new (SOUP_SOCKET_LOCAL_ADDRESS, priv->interface, + SOUP_SOCKET_SSL_CREDENTIALS, priv->ssl_creds, SOUP_SOCKET_ASYNC_CONTEXT, priv->async_context, NULL); - if (!soup_socket_listen (priv->listen_sock, priv->interface)) { + if (!soup_socket_listen (priv->listen_sock)) { g_object_unref (server); return NULL; } |