diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2021-05-12 15:26:20 +0200 |
---|---|---|
committer | Carlos Garcia Campos <cgarcia@igalia.com> | 2021-05-12 15:26:20 +0200 |
commit | 548991d17ce0267c256f4925e06743d7f69c0bb4 (patch) | |
tree | a68f48b595082fcc7bd470bce99aa97326195991 /libsoup/cache | |
parent | 235160bc0cfb75c98bb3cfde53e166dcb001aa58 (diff) | |
download | libsoup-548991d17ce0267c256f4925e06743d7f69c0bb4.tar.gz |
Move soup_message_setup_body_istream() to soup-session
It's declared in soup-message-private and implemented in
soup-client-message-io-http1, but it's not http1 specific and will be
used by http2 too.
Diffstat (limited to 'libsoup/cache')
-rw-r--r-- | libsoup/cache/soup-cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsoup/cache/soup-cache.c b/libsoup/cache/soup-cache.c index 2d78bfab..8dfef003 100644 --- a/libsoup/cache/soup-cache.c +++ b/libsoup/cache/soup-cache.c @@ -737,9 +737,9 @@ soup_cache_send_response (SoupCache *cache, SoupMessage *msg) /* Create the cache stream. */ soup_message_disable_feature (msg, SOUP_TYPE_CACHE); - cache_stream = soup_message_setup_body_istream (body_stream, msg, - priv->session, - SOUP_STAGE_ENTITY_BODY); + cache_stream = soup_session_setup_message_body_input_stream (priv->session, + msg, body_stream, + SOUP_STAGE_ENTITY_BODY); g_object_unref (body_stream); client_stream = soup_cache_client_input_stream_new (cache_stream); |