mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
ext/soup/gstsouphttpsrc.c: Only ignore actual redirects not all responses when in state
Original commit message from CVS: Patch by: Sjoerd Simons <sjoerd at luon dot net> * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_response_cb): Only ignore actual redirects not all responses when in state GST_SOUP_HTTP_SRC_SESSION_IO_STATUS_RUNNING. Fixes bug #526337.
This commit is contained in:
parent
a91d574de1
commit
b19e963ba0
1 changed files with 3 additions and 2 deletions
|
@ -802,8 +802,9 @@ gst_soup_http_src_response_cb (SoupSession * session, SoupMessage * msg,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (G_UNLIKELY (src->session_io_status !=
|
if (G_UNLIKELY (src->session_io_status !=
|
||||||
GST_SOUP_HTTP_SRC_SESSION_IO_STATUS_RUNNING)) {
|
GST_SOUP_HTTP_SRC_SESSION_IO_STATUS_RUNNING)
|
||||||
/* Probably a redirect. */
|
&& SOUP_STATUS_IS_REDIRECTION (msg->status_code)) {
|
||||||
|
/* Ignore redirections. */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GST_DEBUG_OBJECT (src, "got response %d: %s", msg->status_code,
|
GST_DEBUG_OBJECT (src, "got response %d: %s", msg->status_code,
|
||||||
|
|
Loading…
Reference in a new issue