summaryrefslogtreecommitdiff
path: root/libsoup/soup-types.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-09-19 16:54:11 +0000
committerDan Winship <danw@src.gnome.org>2003-09-19 16:54:11 +0000
commited203a51133ed83ba407b0d6b537e0559f86ae87 (patch)
treefdfb8a2fc98b16129892246b62fe18957ce73408 /libsoup/soup-types.h
parent0bb5e818f98c8e877692c1fb759276e89d2082bb (diff)
downloadlibsoup-ed203a51133ed83ba407b0d6b537e0559f86ae87.tar.gz
free the hostent.
* libsoup/soup-address.c (update_address_from_entry): free the hostent. * libsoup/soup-connection-ntlm.c (ntlm_authorize_pre): Don't leak the domain * libsoup/soup-gnutls.c (soup_gnutls_get_iochannel): Add some more iochannel initialization. Not sure how this worked before... * libsoup/soup-message.c (soup_message_cleanup_response): Renamed from soup_message_prepare (and a few things removed). * libsoup/soup-message-client-io.c (soup_message_send_request): s/soup_message_prepare/soup_message_cleanup_response/ * libsoup/soup-message-io.c (io_read): Replace the final "\r\n" with "\0" on the headers before passing them to the parse function. (io_read): Call soup_message_cleanup_response after returning an informational response so the data doesn't leak. * libsoup/soup-headers.c (soup_headers_parse): Update for soup-message-io.c:io_read change * libsoup/soup-server.c (soup_server_new, soup_server_new_with_host): Don't leak the SoupAddress. * libsoup/soup-session.c (class_init): Make PROP_PROXY_URI not CONSTRUCT_ONLY. (set_property): If the proxy uri changes, call soup_session_abort() and cleanup_hosts(). (request_finished, final_finished): Fix a bug when requeuing messages. * tests/libsoup.supp: valgrind suppression file for soup tests * tests/Makefile.am (EXTRA_DIST): dist it. (noinst_PROGRAMS): move the former check_PROGRAMS to noinst_PROGRAMS instead.
Diffstat (limited to 'libsoup/soup-types.h')
-rw-r--r--libsoup/soup-types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-types.h b/libsoup/soup-types.h
index 3ba0962b..6ae8801a 100644
--- a/libsoup/soup-types.h
+++ b/libsoup/soup-types.h
@@ -13,12 +13,12 @@
typedef struct SoupAddress SoupAddress;
typedef struct SoupConnection SoupConnection;
-typedef struct SoupContext SoupContext;
typedef struct SoupMessage SoupMessage;
typedef struct SoupServer SoupServer;
typedef union SoupServerAuth SoupServerAuth;
typedef struct SoupServerAuthContext SoupServerAuthContext;
typedef struct SoupServerMessage SoupServerMessage;
+typedef struct SoupSession SoupSession;
typedef struct SoupSocket SoupSocket;
typedef struct SoupUri SoupUri;