[Bug 746382] souphttpsrc: Use proxy username/password from http_proxy

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 18 03:47:02 PDT 2015


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

--- Comment #8 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
I must say I didn't notice we had support for that. I think it is a bad idea in
general. Proxy configuration is something that depends on the platform, and the
http_proxy is very ill defined and implemented differently all over the place.
Clearly souphttpsrc is no exception.

What I think would be useful, is to allow application to react interactively
when authentication is needed. In this case, SoupSession has the "authenticate"
signal. This can be called for normal HTTP authentication or for proxy (see
soup_auth_is_for_proxy()). As there is no way to access SoupSession safely, I
think that souphttpsrc element should provide a callback to relay. One could
then properly interact with authentication and avoid using deprecated forms of
user/passwd passing (http://user:pass@...).

-- 
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