diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 22:43:18 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 22:43:18 +0000 |
commit | d8e7fcf209d7694d70ce0d46a8c60131ab7ba71f (patch) | |
tree | 19f29aed9ad9813da3843062a7089d28de6108d4 /utils | |
parent | e37f8f077ac812a2007cae698e0a67785d473f17 (diff) |
Merged revisions 49676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49678 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r-- | utils/astman.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/astman.c b/utils/astman.c index b47371497..357cc5fe5 100644 --- a/utils/astman.c +++ b/utils/astman.c @@ -39,7 +39,6 @@ #include "asterisk/md5.h" #include "asterisk/linkedlists.h" -#include "asterisk/manager.h" #undef gethostbyname @@ -54,6 +53,13 @@ */ #define _NEWT_CAST (void *) +#define DEFAULT_MANAGER_PORT 5038 + +struct message { + unsigned int hdrcount; + char headers[MAX_HEADERS][MAX_LEN]; +}; + static struct ast_mansession { struct sockaddr_in sin; int fd; |