[Bug 773509] New: souphttpsrc: connection loss / reconnect issues

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 26 07:27:16 UTC 2016


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

            Bug ID: 773509
           Summary: souphttpsrc: connection loss / reconnect issues
    Classification: Platform
           Product: GStreamer
           Version: 1.9.90
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: m.olbrich at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 338475
  --> https://bugzilla.gnome.org/attachment.cgi?id=338475&action=edit
souphttpsrc: reset read_position when reading fails

Since 8816764112408766889c8b680a3af51115df4bf5 ("souphttpsrc: reduce reading
latency by using non-blocking read") souphttpsrc loses the connection with
"Socket I/O timed out" occasionally. It reconnects immediately, but the 'Range'
is not updated, so the wrong data is fetched.

I've attached a patch that fixes the 'Range' issue. With this, playing the file
works again. The error+reconnect still happen but recovery works as expected.

Sp far I have no idea why the error occurs. It's introduced by the commit
mentioned above. The HTTP server is in the local network. The error always
occurs at the same position in my test video.

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