Fix a few issues in the previous (disabled) HTTPS code,
authorLuigi Rizzo <rizzo@icir.org>
Sun, 22 Oct 2006 19:09:25 +0000 (19:09 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 22 Oct 2006 19:09:25 +0000 (19:09 +0000)
commitc15f7953c8192d09d5cdda7248a4366e66346212
treef9e3708612b6c436093a561ee294e0e612003d24
parente8a65b715575fa2695825dd3f3f50a2cddd3cc95
Fix a few issues in the previous (disabled) HTTPS code,
and support linux as well (using fopencookie(), which should
be available in glibc).

Update configure.ac to check for funopen (BSD) and fopencookie(glibc),
and while we are at it also for gethostbyname_r
(the generated files need to be updated, or you need
to run bootstrap.sh yourself).

Document the new options in http.conf.sample
(names are only tentative, better ones are welcome).

At this point we can safely enable the option.
Anyone willing to try this on Sun and Apple platforms ?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/http.conf.sample
configure.ac
main/Makefile
main/http.c