[Bug 777222] souphttpsrc: redirect uri is never set

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 19 11:55:00 UTC 2017


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

--- Comment #14 from Arnaud Vrac <rawoul at gmail.com> ---
Created attachment 343794
  --> https://bugzilla.gnome.org/attachment.cgi?id=343794&action=edit
souphttpsrc: report a useful error message when soup_session_send fails

I've seen that libsoup can return a NULL input stream in soup_session_send, and
not set the message status code (status code is 0). In this case it's better to
print the GError message to understand what's happening.

Thiago, do you know why libsoup doesn't set the status code in some cases ?
I've seen this while running gst-validate, I got some network errors like
Socket I/O timed out or Connection reset by peer, and the status code would
stay at 0. In this case the connection is not retried and we don't report a
pretty error to the user.

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