summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-11-03 18:31:59 -0500
committerDan Winship <danw@gnome.org>2013-11-04 16:44:44 -0500
commitda167aad39438d4df33df189c97bd07e989d38d0 (patch)
tree228eeb2501984bbc2c590e626ef75ce54c4d9700
parent8ca8bf9550e92f45efab590ee7ff53b83bae8e75 (diff)
downloadlibsoup-da167aad39438d4df33df189c97bd07e989d38d0.tar.gz
soup-session: update a comment for current reality
-rw-r--r--libsoup/soup-session.c6
1 files 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,