Summary: | ASTERISK-04058: [patch] rtp.c: wrong error message on recvfrom error | ||
Reporter: | Kevin P. Fleming (kpfleming) | Labels: | |
Date Opened: | 2005-05-04 00:37:46 | Date Closed: | 2011-06-07 14:10:46 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 4156.stable.patch.txt | |
Description: | recvfrom sometimes returns no data. This is perfectly normal being on a non-blocking socket. The code in rtp.c misinterprets this as "bad checksum" and prints an error message.<br /> The problem is in a couple of places probably due to cut&paste of sections of code - both in HEAD and 1.07 (so i believe it is also in the -stable branch).<br /> A trivial patch is attached. Applies to both modulo a few lines of offset. | ||
Comments: | By: Michael Jerris (mikej) 2005-05-30 21:45:56 Drumkilla... a patch for you :) Disclaimer on file blah blah... By: Russell Bryant (russell) 2005-05-30 22:22:16 fixed in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:36:25.000-0600 Repository: asterisk Revision: 5791 U branches/v1-0/rtp.c ------------------------------------------------------------------------ r5791 | russell | 2008-01-15 15:36:24 -0600 (Tue, 15 Jan 2008) | 2 lines don't print an error when you receive no data until normal circumstances with recvfrom (bug ASTERISK-4058) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5791 |