[asterisk-bugs] [Asterisk 0011000]: Read timeouts of less than 1ms result in using the default (6s)

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 16 16:15:52 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11000 
====================================================================== 
Reported By:                michael-fig
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11000
Category:                   Applications/app_read
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 85883 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-16-2007 13:33 CDT
Last Modified:              10-16-2007 16:15 CDT
====================================================================== 
Summary:                    Read timeouts of less than 1ms result in using the
default (6s)
Description: 
If somebody accidentally uses a Read timeout of less than 0.001, the code
currently truncates it to 0, which means use the default.  The attached
patch fixes that.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 10-16-07 16:15  
---------------------------------------------------------------------- 
I'm committing this along with a printed warning letting the user know that
we're assuming a 1 ms timeout.

Thanks very much for the patch! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-16-07 16:15  putnopvut      Note Added: 0072115                          
======================================================================




More information about the asterisk-bugs mailing list