Summary:ASTERISK-11714: Problems with http manager interface
Reporter:dea (dea)Labels:
Date Opened:2008-03-24 15:24:44Date Closed:2008-03-27 14:49:38
Versions:Frequency of
Environment:Attachments:( 0) astman-http-strawcode.txt
Description:I found that I could not get connected to the web management interface using
any URI even the drop dead simple httpstatus.

I 'found' a number of suspected problems in the code, but I do not understand
the code well enough to be certain.

I can say that the attached patch improves the situation, but may be utter

I'm attaching it as a strawman arguement to see if it helps point to the
root of the issue.
Comments:By: dea (dea) 2008-03-24 15:28:26

I did not include the changes I made in manager.c, since it was only adding the post method to the callbacks, which may not be needed.

By: Terry Wilson (twilson) 2008-03-26 16:22:11

Try a fresh trunk checkout.  There was a logic error that was making GETs look like POSTs.

By: Terry Wilson (twilson) 2008-03-27 14:49:37

Going ahead and closing since the bug that was breaking http is fixed in trunk.  The problem was a strcasecmp() that should have been a !strcasecmp().  GETs were being treated as POSTs and vice versa.