diff options
| author | Dan Winship <danw@src.gnome.org> | 2003-12-17 19:49:14 +0000 |
|---|---|---|
| committer | Dan Winship <danw@src.gnome.org> | 2003-12-17 19:49:14 +0000 |
| commit | c2720d6770639fed2bf57a972fa7c9b47919d0ac (patch) | |
| tree | d00e278329a0e3f3053f556099a3eb518a6a8c02 /libsoup/soup-connection.h | |
| parent | de3cf1fc96532d10cdd1d6e55aea3c4f81501579 (diff) | |
| download | libsoup-c2720d6770639fed2bf57a972fa7c9b47919d0ac.tar.gz | |
Add gthread to glib check
* configure.in: Add gthread to glib check
* libsoup/soup-session.c: Make this an abstract class.
* libsoup/soup-session-async.c: A SoupSession class for
asynchronous gmain-based operation; replaces the old SoupSession.
* libsoup/soup-session-sync.c: A SoupSession class for synchronous
blocking operation for use with threaded apps.
* libsoup/soup-types.h, libsoup/soup.h: add the new session
subclasses
* libsoup/soup-connection.c (soup_connection_connect_sync): Don't
try to unref the socket if the socket creation fails.
(soup_connection_reserve): New, to explicitly mark a connection as
being in use without queueing a message on it.
* libsoup/soup-dns.c (check_hostent): Oof. Fix the logic of the
"block" flag to not be reversed.
* libsoup/soup-message.c (finished): set status to FINISHED here.
(soup_message_cancel): Gone; needs to be done at the session
level.
* libsoup/soup-message-queue.c: Add a mutex and make all of the
operations thread-safe.
* libsoup/soup-socket.c (disconnect_internal): Make this
thread-safe.
(soup_socket_connect): Make the sync case work correctly.
* libsoup/Makefile.am: add the SoupSession subclasses
* tests/Makefile.am: libsoup depends on libgthread now, so
revserver doesn't need to explicitly.
* tests/get.c, tests/auth-test.c, tests/simple-proxy.c: Use
soup_session_async_new().
Diffstat (limited to 'libsoup/soup-connection.h')
| -rw-r--r-- | libsoup/soup-connection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsoup/soup-connection.h b/libsoup/soup-connection.h index 2d88b5a9..d25b6a92 100644 --- a/libsoup/soup-connection.h +++ b/libsoup/soup-connection.h @@ -69,6 +69,7 @@ time_t soup_connection_last_used (SoupConnection *conn); void soup_connection_send_request (SoupConnection *conn, SoupMessage *req); +void soup_connection_reserve (SoupConnection *conn); /* protected */ void soup_connection_authenticate (SoupConnection *conn, |
