[gstreamer-bugs] [Bug 529454] New: udpsrc generates false error

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 22 16:08:40 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=529454

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: udpsrc generates false error
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: youness.alaoui at collabora.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
udpsrc on Windows can generate a false error. When sending a packet with
udpsink, if the remote ip/port is unreachable, we receive an ICMP response with
"port unreachable"... the corresponding udpsrc will then return an error on the
recvfrom and WSAGetLastError will return WSAECONNRESET. That error is not
checked (actually errors from recvfrom do not check WSAGetLastError at all). 
The correct behavior would be to ignore the WSAECONNRESET and retry to recv a
packet instead of throwing an error.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=529454.




More information about the Gstreamer-bugs mailing list