[Bug 724717] New: souphttpsrc: Error at the end of connection with unknown content size

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 19 05:57:00 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=724717
  GStreamer | gst-plugins-good | 1.2.1

           Summary: souphttpsrc: Error at the end of connection with
                    unknown content size
    Classification: Platform
           Product: GStreamer
           Version: 1.2.1
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: katreniak at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Bug 683536 introduced regression for us.

Commit 46fd12ae5ec53200b16dfd7f17048d6bc60fbfbc introduced connection recovery.
That if very desired functionality.

But the commit introduced regression when souphttpsrc us used
with http server that does not specify the content-size.
Souphttpsrc tries to reconnect after every regular end of connection.
If the server does not support seeking, souphttpsrc throws error.
Even when server responds RANGE_NOT_SATISFIABLE, souphttpsrc throws error.
It throws error at the end of every connection.

Ideally we could check whether the TCP connection was finished with FIN or with
RST and do not retry on FIN. But I did not find a way how to dig this
information from soup. 

Does it make sense to retry when content-size is not known?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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