"GStreamer" (GNOME Bugzilla)
2015-12-22 14:50:06 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=759777
Bug ID: 759777
Summary: Limit number of connecting clients in GstRTSPServer
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@hotmail.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
GstRTSPServer currently has a way of limiting the number of work being done in
parallel by setting the maximum number of threads on the GstRTSPThreadPool
being used. But there is no way to limit the number of connecting clients (some
of which may later be accepted, and some be denied e.g. by the ->prepare()
virtual function denying access). If there is no limit then some resource may
be depleted, e.g. the number of file descriptors that may be open in the
process running GstRTSPServer.
The proposed patch adds a property on GstRTSPServer exposing a max-clients
limit. Once this limit has been reached the server will simply disconnect any
connecting client without letting it send its request and without sending any
RTSP response.
I'm of course available for further discussions concerning this patch.
Bug ID: 759777
Summary: Limit number of connecting clients in GstRTSPServer
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@hotmail.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
GstRTSPServer currently has a way of limiting the number of work being done in
parallel by setting the maximum number of threads on the GstRTSPThreadPool
being used. But there is no way to limit the number of connecting clients (some
of which may later be accepted, and some be denied e.g. by the ->prepare()
virtual function denying access). If there is no limit then some resource may
be depleted, e.g. the number of file descriptors that may be open in the
process running GstRTSPServer.
The proposed patch adds a property on GstRTSPServer exposing a max-clients
limit. Once this limit has been reached the server will simply disconnect any
connecting client without letting it send its request and without sending any
RTSP response.
I'm of course available for further discussions concerning this patch.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.