Add beginnings of session timeouts and limits
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 4 Feb 2009 18:52:50 +0000 (19:52 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 4 Feb 2009 18:52:50 +0000 (19:52 +0100)
commitaedd4652f386747efc65c6d230600e7422c8cc4a
treec462587055dfea39f0cc697b71ab299039140d6a
parente789a8fdf31aeae4234a2fb7a7e4b251b47edfa5
Add beginnings of session timeouts and limits

Add the timeout value to the Session header for unusual timeout values.

Allow us to configure a limit to the amount of active sessions in a pool. Set a
limit on the amount of retry we do after a sessionid collision.

Add properties to the sessionid and the timeout of a session. Keep track of
creation time and last access time for sessions.
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-session-pool.c
gst/rtsp-server/rtsp-session-pool.h
gst/rtsp-server/rtsp-session.c
gst/rtsp-server/rtsp-session.h