[Bug 663542] New: souphttpsrc doesn't reopen HTTP connection after pause
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Nov 7 00:49:03 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=663542
GStreamer | gst-plugins-good | 0.10.29
Summary: souphttpsrc doesn't reopen HTTP connection after pause
Classification: Platform
Product: GStreamer
Version: 0.10.29
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: mxm.spambox at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=200864)
--> (https://bugzilla.gnome.org/attachment.cgi?id=200864)
patch to force souphttpsrc reconnect when connection lost
The issue can be reproduced as follows:
1) start the playback
2) put gstreamer into the PAUSED state
3) wait for a long time so that the server would terminate the connection. I
believe, around 2 minutes will be enough for most servers.
4) unpause gstreamer
What then happens is that souphttpsrc would continue receiving a number of
chunks (at my system they are in total around 124 kb) and then go to the "got
body" signal handler, signalling EOS. This is inspite the rest of the file is
much longer than these 124 kb. I believe it would read from some internal
buffer, not realizing that the connection is broken.
We have solved this issue using the attached patch file. Please consider
integrating it into a new version of souphttpsrc or solving this issue in some
other way.
--
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