summaryrefslogtreecommitdiff
path: root/libsoup/soup-io-stream.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Add g_task_set_source_tag() everywherePhilip Withnall2023-04-131-0/+1
| | | | | | | This makes it easier to identify what a `GTask` instance is when debugging a running process. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* Use G_DECLARE_FINAL_TYPE when applicablePatrick Griffis2021-07-281-1/+1
|
* Use g_object_notify_by_pspec instead of g_object_notifyCarlos Garcia Campos2021-05-041-7/+12
|
* Stop using emacs indent-tabs-modeCarlos Garcia Campos2021-03-181-1/+1
| | | | We prefer spaces now instead of tabs.
* Modernize GObject usage of various classesPatrick Griffis2020-10-271-22/+38
|
* Always use G_PARAM_STATIC_STRINGSNiels De Graef2020-01-131-2/+4
| | | | This prevents some unnecessary string copies and a tiny bit of memory.
* WebSockets: closed signal not emitted when io stream is SoupIOStreamCarlos Garcia Campos2019-06-251-0/+8
| | | | | | | | That's the case of connections created by SoupSession. In that case, if the server hasn't closed its end of the connection, we fail to shutdown the client end, because shutdown_wr_io_stream() does nothing when the io stream is not a GSocketConnection. So, for SoupIOStream we need to get the base io stream which is a GSocketConnection.
* Port some of the classes to the new glib private apiIgnacio Casal Quinteiro2016-11-141-6/+2
| | | | | | | | We are already depending on the a newly enough glib so we are now allowed to clean up a bit and use the new private api. https://bugzilla.gnome.org/show_bug.cgi?id=774189
* soup-io-stream: fix close_asyncDan Winship2015-03-011-3/+21
| | | | | | | | It's not completely legitimate for SoupIOStream's close_async() method to just pass the callback and user_data it receives on to its base stream's close_async() method (and in fact, this loses horribly with glib < 2.42 [https://bugzilla.gnome.org/show_bug.cgi?id=722723]). Fix it to properly indirect through its own callback instead.
* valgrindageDan Winship2012-08-111-0/+2
|
* Clean up includesDan Winship2012-07-131-2/+1
| | | | | | | | Especially, include soup.h rather than individually including a bunch of other public soup-*.h files. Remove unnecessary system includes (many are leftovers from code that has moved down into glib).
* Use g_clear_object(), g_clear_pointer()Dan Winship2012-07-131-2/+1
|
* Move SoupSocket stuff out of soup-message-io.cDan Winship2012-04-281-0/+205
Add a new SoupIOStream, which wraps the SoupFilterInputStream and GOutputStream that SoupSocket exposes. Pass that to soup-message-io rather than the SoupSocket, and update various other things for this.