Don't send files twice and remove extra \r\n from header
authorTerry Wilson <twilson@digium.com>
Tue, 15 Jun 2010 21:10:15 +0000 (21:10 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 15 Jun 2010 21:10:15 +0000 (21:10 +0000)
commitfb71a38a41abfc3de4e29a660cf574431e4a25d3
tree47893409c05728690d8c7f3f45f3e8d6ae2a6ae7
parent480f4128588f1797aeed722bbf52ee2d82ff22ae
Don't send files twice and remove extra \r\n from header

After the manager http auth changes, we forgot to remove the manual
sending of the file. Also, ast_http_send adds two \r\n to the header that
is passed to it, so a trailing \r\n is removed from the Content-type
header. It might be better to change ast_http_send, but I don't like changing
the behavior of an API function.

(closes issue #17239)
Reported by: cjacobsen
Patches:
      patch2.diff uploaded by cjacobsen (license 1029)
Tested by: lathama, cjacobsen

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_phoneprov.c