souphttpsrc: refactor to use Soup's sync API
Replace the async API with the sync API to remove all the extra mainloop and context handling. Currently it blocks reading until 'blocksize' bytes are available but that can be improved by using: https://developer.gnome.org/gio/unstable/GPollableInputStream.html#g-pollable-input-stream-read-nonblocking https://bugzilla.gnome.org/show_bug.cgi?id=693911
This diff is collapsed.
Please register or sign in to comment