HTTP: For httpd server, need option to define server name for security purposes
authorAshley Sanders <asanders@digium.com>
Fri, 30 Jan 2015 17:21:50 +0000 (17:21 +0000)
committerAshley Sanders <asanders@digium.com>
Fri, 30 Jan 2015 17:21:50 +0000 (17:21 +0000)
commit6a76740b83c1ced26e9464a7abb5b30de4a60e6f
treeae6e42d3ff91c1669a262986d16523c9d5a3b6ab
parentbd0bdf1e41c52afb6dbf262d60a8ed02d2110fcd
HTTP: For httpd server, need option to define server name for security purposes

Added a new config property [servername] to the http.conf file; updated the http server to use the new property when sending responses, for showing http status through the CLI and when reporting status through the 'httpstatus' webpage. In this version, [servername] is uncommented by default.

ASTERISK-24316 #close
Reported By: Andrew Nagy
Review: https://reviewboard.asterisk.org/r/4374/
........

Merged revisions 431471 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/samples/http.conf.sample
include/asterisk/http.h
main/http.c