SoupSession: cancel_message cancels the cancellable too
@nagisa
Submitted by nagisa Assigned to libsoup-maint@gnome.bugs
Link to original bug (#710959)
Description
Created attachment 258210 Minimal test case
If you pass message to the soup_session_send_async with a cancellable, the cancellable will be cancelled when the message is cancelled. I don't think this should happen, especially given this behaviour is not documented.
Either the documentation should be updated or Soup should make a new cancellable and cancel that one when the message is cancelled of the passed in cancellable is cancelled.
Attachment 258210, "Minimal test case":
test2.py
Version: 2.44.x