[libsoup] soup-session: update a comment for current reality



commit da167aad39438d4df33df189c97bd07e989d38d0
Author: Dan Winship <danw gnome org>
Date:   Sun Nov 3 18:31:59 2013 -0500

    soup-session: update a comment for current reality

 libsoup/soup-session.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index 3a29f4f..f2e643f 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]