Hang when downloading flatpak data
@krnowak
Submitted by Krzesimir Nowak Assigned to libsoup-maint@gnome.bugs
Link to original bug (#778135)
Description
There is a corner case leading to a hang since 8e1b0f5a.
Basically the situation is:
- the SoupQueueMessageItem has async_pending set to TRUE
- its state is SOUP_MESSAGE_FINISHING
- but somehow no idle_run_queue GSource is scheduled
- the item is first in the queue
The result is that all the items in the queue with the same context as the one the first item has are not processed, so it hangs.
I'll attach patches in the followup comments.
Version: 2.57.x