[gstreamer-bugs] [Bug 167509] New: [tcpserversrc] Assumes a blocking socket
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Tue Feb 15 11:01:43 PST 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=167509
GStreamer | gst-plugins | Ver: HEAD CVS
Summary: [tcpserversrc] Assumes a blocking socket
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: algernon at bonehunter.rulez.org
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
Some code in tcpserversrc assumes a blocking socket, by expecting that
read(socket, buffer, size) will either return an error, or will read exactly
size bytes of data.
As suggested by thomasvs on IRC, the solution is to wrap the read in a loop,
until the required amount of data is fetched.
A patch that does that is being tested as I write this.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list