Changeset 66fe9a72ca4319ebcb46b7c56832e8728bafd8a0
- Timestamp:
- 09/09/07 19:52:38
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1189360358 +0000
- git-parent:
[30f60c2450957bc64ae3377d31352c85221dae3d]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1189360358 +0000
- Message:
Default RTSP timeout value is 60 seconds, rather than never - closes #1163
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re40d134 |
r66fe9a7 |
|
| 899 | 899 | /* Retrieve the timeout value and set up a timeout prevention thread */ |
|---|
| 900 | 900 | p_sys->i_timeout = p_sys->rtsp->sessionTimeoutParameter(); |
|---|
| 901 | | if( p_sys->i_timeout > 0 && !p_sys->p_timeout ) |
|---|
| | 901 | if( p_sys->i_timeout <= 0 ) |
|---|
| | 902 | p_sys->i_timeout = 60; /* default value from RFC2326 */ |
|---|
| | 903 | if( !p_sys->p_timeout ) |
|---|
| 902 | 904 | { |
|---|
| 903 | 905 | msg_Dbg( p_demux, "We have a timeout of %d seconds", p_sys->i_timeout ); |
|---|