Provide yet another temporary buffer that is needed to generate
reply in the case when UDP mode is enabled. This should fix 2.0
on Linux where sprintf() does not handle cases when both buffer
and some of the arguments point to the same memory location, as
I can't blame it for that. FreeBSD seems to be handling this better.
Add rtpp_mem_debug, a simple yet effective opt-in dynamic memory
allocation/deallocation tracker, which can be used to check for any
memory leaks and in the future possibly for other types of memory
misuse (i.e. out-of-bounds writes). It has 10-15% overhead and
is not enabled by default.
Add rtpp_mem_debug.[ch].
 #if RTPP_CHECK_LEAKS -> #ifdef RTPP_CHECK_LEAKS
Eliminate the use of RTP packet pool, malloc'in objects is not
really where we spend time, it's send/recv syscalls, while it
is not locked and could produce all sorts of issues ranging
from memory leaks to memory corruption. Let system malloc figure
it out on how to manage this efficiently on the SMP.
Make rtpp_memdeb_dumpstats() return number of errors found, so that
we can exit with an error to aid debugging and regression testing.
Add a way to ruberstamp certain functions to not trigger unallocated
alarm up to a certain number of allocations. This is to get around
having to shutdown things that we don't care to shutdown and deallocate
properly.
Add asprintf() and vasprintf() wrappers in the rtpp_mem_debug.
vasprintf() is defined in the stdio, so don't define it here.
Turn off roughing of phase detector input, it has adverse effect
under real-world load.
Add stdint.h to main.c, re-gen automake
Merge branch 'master' of github.com:jevonearth/rtpproxy