[Bug 724077] gstshm: use shutdown() instead of close()
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Feb 10 15:23:14 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=724077
GStreamer | gst-plugins-bad | git
Olivier Crete (Tester) <olivier.crete> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |olivier.crete at ocrete.ca
Resolution| |FIXED
Target Milestone|HEAD |1.3.1
--- Comment #3 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2014-02-10 23:23:10 UTC ---
I guess it's because close() really just does a unref on the socket, and the
poll() also holds a ref, so maybe that causes the closing to be delayed more
than expected. I see no harm in your patch, so I committed it.
commit f5a1ccd0deb8d82c6befab358e942739ed609b25
Author: Aleix Conchillo Flaqué <aleix at oblong.com>
Date: Mon Feb 10 14:33:49 2014 -0800
shm: use shutdown() instead of close()
we make sure both ends get notified when the socket is closed by using
shutdown() instead of close().
https://bugzilla.gnome.org/show_bug.cgi?id=724077
--
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