[Bug 761257] New: [PATCH] gstmultisocketsink doesn't handle client close and EWOULDBLOCK

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 28 07:47:13 PST 2016


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

            Bug ID: 761257
           Summary: [PATCH] gstmultisocketsink doesn't handle client close
                    and EWOULDBLOCK
    Classification: Platform
           Product: GStreamer
           Version: 1.6.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: tom.deseyn at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 319947
  --> https://bugzilla.gnome.org/attachment.cgi?id=319947&action=edit
Patch for 1.6 branch

This change
http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/gst/tcp/gstmultisocketsink.c?id=6db2ee56b6e862f54c479e553f179daf2056da74
rendered the 'client close'-handling inert (navail == 0).

The change was made to fix: https://bugzilla.gnome.org/show_bug.cgi?id=743834.
The use case here lead to navail==0 and EWOULDBLOCK.

The attached patch re-enables client close handling and also handle
EWOULDBLOCK. I've verified both the 'client close'-case and the
'EWOULDBLOCK'-case are properly handled with the patch on 1.6.

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