| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
We prefer spaces now instead of tabs.
|
| |
|
|
|
|
| |
This prevents some unnecessary string copies and a tiny bit of memory.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
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.
|