don't use outputstr in the struct mansession, it's just
authorLuigi Rizzo <rizzo@icir.org>
Tue, 28 Nov 2006 17:08:19 +0000 (17:08 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 28 Nov 2006 17:08:19 +0000 (17:08 +0000)
commit0b798e298d9ae16ab9cda45ae9cc713129803e8e
treeea9ef1d906f93c9018a53e87d40cfdb88f468894
parente021f5fbb982c38c14e702fe76f9394a44a568e2
don't use outputstr in the struct mansession, it's just
an extra allocation on a path where we have way too many already.

Unfortunately the AMI-over-HTTP requires multiple copies,
because we need to generate a header, then the raw output to
an intermediate buffer, then convert it to html/xml, and
finally copy everything into a malloc'ed buffer because
that's what the generic_http_callback interface expects.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c