From 080d85b19a3037251411060c7acad72924c9f9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 28 Jan 2022 15:31:55 +0200 Subject: [PATCH] souphttpsrc: Don't abort all pending operations on the session if shutting down a source with a shared session Only do it for a non-shared session. Other sources would otherwise get their requests cancelled unexpectedly. Part-of: --- subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c index 48b8ad4fb2..09f535cf20 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c @@ -1212,7 +1212,7 @@ _session_close_cb (gpointer user_data) g_clear_object (&src->msg); } - if (src->session_is_shared) + if (!src->session_is_shared) _soup_session_abort (src->session->session); /* there may be multiple of this callback attached to the session,