MMS: close access on network timeout
commit21f7e7ea477453871b494758c2dec31e0c23287c
authorRafaël Carré <funman@videolan.org>
Fri, 28 Mar 2008 09:45:25 +0000 (28 10:45 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 28 Mar 2008 09:54:55 +0000 (28 10:54 +0100)
treeefc3db36387cd006f1bcce7ee130a0819dd5526e
parentd0641277d87a51ed1602dc36f5585c9b4705dccb
MMS: close access on network timeout

defaults to timeout on 5s (configurable) without data (there will be 10 tries before returning EOF)
fix some EOF return paths
check malloc()

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
modules/access/mms/mms.c
modules/access/mms/mmstu.c
modules/access/mms/mmstu.h