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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 18 22:52:48 PDT 2015


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

--- Comment #9 from Rajat Verma <kameyameha at gmail.com> ---
Just for sake of clarification, what I undertand is currently, souphttpsrc
connects with "authenticate" signal provided by libsoup:
  g_signal_connect (src->session, "authenticate",
      G_CALLBACK (gst_soup_http_src_authenticate_cb), src);

Inside, this callback, souphttpsrc tried to authenticate using its proxy-id &
proxy-pw using below code:
static void
gst_soup_http_src_authenticate_cb (SoupSession * session, SoupMessage * msg,
    SoupAuth * auth, gboolean retrying, GstSoupHTTPSrc * src)
{
....
      if (src->proxy_id && src->proxy_pw)
        soup_auth_authenticate (auth, src->proxy_id, src->proxy_pw);
....
}

So, what you are implying is to implement a signal in souphttpsrc itself, which
application/client can connect to, right?

If this is the case, can you please provide some snippet about when that signal
should be emitted by souphttpsrc as we would already be inside
gst_soup_http_src_authenticate_cb() callback when we become aware that proxy
credentials are required?

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