[Bug 688535] New: write/poll on closed sockets after handling a TEARDOWN request

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Nov 17 06:01:47 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=688535
  GStreamer | gst-rtsp-server | git

           Summary: write/poll on closed sockets after handling a TEARDOWN
                    request
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: alessandro.d at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=229238)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=229238)
fix

As discussed on IRC, we currently send the TEARDOWN response and immediately
close the client connection without waiting that the response has been written
to the client. This can lead to writing/polling on closed sockets, which can
causes SIGPIPE or poll() to fail.

The attached patch fixes this issue.

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