From da167aad39438d4df33df189c97bd07e989d38d0 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 3 Nov 2013 18:31:59 -0500 Subject: soup-session: update a comment for current reality --- libsoup/soup-session.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c index 3a29f4f8..f2e643f3 100644 --- a/libsoup/soup-session.c +++ b/libsoup/soup-session.c @@ -3868,10 +3868,10 @@ send_async_maybe_complete (SoupMessageQueueItem *item, /* Give the splice op its own ref on item */ soup_message_queue_item_ref (item); + /* We don't use CLOSE_SOURCE because we need to control when the + * side effects of closing the SoupClientInputStream happen. + */ g_output_stream_splice_async (ostream, stream, - /* We can't use CLOSE_SOURCE because it - * might get closed in the wrong thread. - */ G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET, G_PRIORITY_DEFAULT, item->cancellable, -- cgit v1.2.1