Libsoup should offer a signal for paused messages where the remote client close the connection before the message being unpaused.
Submitted by Florent Viard
Assigned to libsoup-maint@gnome.bugs
Link to original bug (#616925)
Description
The page http://library.gnome.org/devel/libsoup/stable/libsoup-server-howto.html say: << you must call soup_server_pause_message on the message before returning from the callback. This will delay sending a response until you call soup_server_unpause_message. (You must also connect to the finished signal on the message in this case, so that you can break off processing if the client unexpectedly disconnects before you start sending the data.) >>
but currently, the finished signal is only called when the application call the unpause_message function. It would be good to fix that or have another signal for when the connection is closed before the message being unpaused.
In addition, having another function to retrieve the list of the message that are in paused state could also be useful.
Version: 2.28.x