]> git.sesse.net Git - vlc/commit
sap: fix implicit timeout calculation
authorSantiago Gimeno <santiago.gimeno@gmail.com>
Mon, 17 Nov 2014 12:16:50 +0000 (13:16 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 18 Nov 2014 17:05:12 +0000 (18:05 +0100)
commit125acdef1ed11c0684ccf57110d4f8741a4e705c
tree4261c7c5e562233847f2ecbf66034b2bcb05e885
parent7529f9c0c3d4418a1bc0af2640ce24c450f0e9b1
sap: fix implicit timeout calculation

- RFC2974 states in Section 4:
      "If a session announcement message has not been received for ten times the
       announcement period, or one hour, whichever is the greater, then the
       session is deleted from the receiver's session cache."
  But the session was being deleted after three times the announcement period.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/services_discovery/sap.c