[Bug 777222] souphttpsrc: redirect uri is never set

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 18 01:17:29 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=777222

Thiago Sousa Santos <thiagossantos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
commit 02317496c6f3334e1fb2eae72662d04db51d5851
Author: Arnaud Vrac <avrac at freebox.fr>
Date:   Mon Jan 16 11:58:02 2017 +0100

    souphttpsrc: make flow return values handling clearer

    The flow return values was stored in the element before because the
    result had to be set from callbacks. This is not the case anymore, we
    can return the flow result directly from functions, making the code
    easier to understand.

    https://bugzilla.gnome.org/show_bug.cgi?id=777222

commit 9b23732559dfed243ae425f92a9a8f4cd2261588
Author: Arnaud Vrac <avrac at freebox.fr>
Date:   Fri Jan 13 16:40:43 2017 +0100

    souphttpsrc: properly track redirections

    The current code configures libsoup to handle redirections
    transparently, without informing the caller, thus preventing the element
    to record the redirect code and location uri.

    Fix this by always setting the SOUP_MESSAGE_NO_REDIRECT, preventing
    libsoup from handling the redirection. When we receive a redirection
    request and libsoup can safely handle it, return a custom error which
    triggers a retry with the new URI.

    https://bugzilla.gnome.org/show_bug.cgi?id=777222

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list