summaryrefslogtreecommitdiff
path: root/libsoup
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2020-09-30 11:40:58 +0200
committerPatrick Griffis <tingping@tingping.se>2020-10-05 20:28:27 +0000
commit99e633f74e82b557326c17169a7d654712519001 (patch)
tree1001f529d0556bb15656d0cd5ca72413e10c704b /libsoup
parente8f9ea8549ef8129a2eb7450edc644bbf8efda58 (diff)
downloadlibsoup-99e633f74e82b557326c17169a7d654712519001.tar.gz
session: make soup_session_steal_connection static
And remove the stealing tests since it's internal api already covered by websockets tests.
Diffstat (limited to 'libsoup')
-rw-r--r--libsoup/soup-session-private.h3
-rw-r--r--libsoup/soup-session.c5
2 files changed, 2 insertions, 6 deletions
diff --git a/libsoup/soup-session-private.h b/libsoup/soup-session-private.h
index 023cd6cb..3272301b 100644
--- a/libsoup/soup-session-private.h
+++ b/libsoup/soup-session-private.h
@@ -15,9 +15,6 @@ G_BEGIN_DECLS
SoupMessageQueue *soup_session_get_queue (SoupSession *session);
-GIOStream * soup_session_steal_connection (SoupSession *session,
- SoupMessage *msg);
-
G_END_DECLS
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index d801f6f8..1ae7aba2 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -3995,9 +3995,8 @@ steal_connection (SoupSession *session,
* connection). No guarantees are made about what kind of #GIOStream
* is returned.
*
- * Since: 2.50
- **/
-GIOStream *
+ */
+static GIOStream *
soup_session_steal_connection (SoupSession *session,
SoupMessage *msg)
{