it is useless and possibly wrong to use ast_cli() to send the
authorLuigi Rizzo <rizzo@icir.org>
Sun, 22 Oct 2006 08:28:16 +0000 (08:28 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 22 Oct 2006 08:28:16 +0000 (08:28 +0000)
commit5aa25a8d33783040b14aaf39dcef3a2e1fbb7560
treeeff1cea9bdb0f95c5e3809f51e0d168665bd1b71
parente85da9be416816ed1549e83335188c9b5fea6c42
it is useless and possibly wrong to use ast_cli() to send the
reply back to http clients.
Use fprintf/fwrite instead, since we are already using a FILE *
to read the input.

If you wonder why, this is because it makes it trivial to
implement https support (as long as your system has funopen()).

And this is what i am going to put in with the next few commits...

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