Commit Graph

110 Commits (8088fcd3128fb6a99d779f2d8ea059ea3d39cb21)

Author SHA1 Message Date
Joshua Colp cd56d84085 Properly handle an error result from a manager action. This could have left the action list permanently locked for reading.
20 years ago
Olle Johansson 8ac0fb2bc3 New CLI command "Core show settings" to list some core settings
20 years ago
Joshua Colp cd1973e4bc It is with pleasure that I announce the return of rawman support through the HTTP server. (issue #9013 reported by Jynger)
20 years ago
Tilghman Lesher 5f3b3d2358 Merged revisions 53246 via svnmerge from
20 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
20 years ago
Russell Bryant 9e1370e6c6 Merged revisions 52688 via svnmerge from
20 years ago
Russell Bryant 9540b7fcea The changes for trunk are less extensive, but include
20 years ago
Joshua Colp 68c1f5338f Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)
20 years ago
Russell Bryant ac884e0c3a Merged revisions 51781 via svnmerge from
20 years ago
Russell Bryant 8137080816 Merged revisions 51750 via svnmerge from
20 years ago
Russell Bryant 606ee0dab4 Break out of the config processing loop for manager.conf once the correct user
20 years ago
Russell Bryant 0e8bd82efe Fix trunk version of manager support for users.conf. Now it actually pays
20 years ago
Russell Bryant 2c5d2168c1 Merged revisions 51233 via svnmerge from
20 years ago
Joshua Colp 2964e9eab6 Merged revisions 50895 via svnmerge from
20 years ago
Joshua Colp e82a8a1d0a Exit from session loop upon error (ie: they disconnected) and don't do any buffer manipulation in do_message. get_input will handle it.
20 years ago
Joshua Colp c64ced140f Merged revisions 50602 via svnmerge from
20 years ago
Kevin P. Fleming 4a6ed271f5 probably shouldn't leave the mmap'ed file hanging around in memory
20 years ago
Kevin P. Fleming d0f3b18d16 a little more const-ification
20 years ago
Kevin P. Fleming d0542012c0 Merged revisions 49680 via svnmerge from
20 years ago
Kevin P. Fleming 3d376fca97 use mmap() to read in the results of the manager action for an HTTP request, instead of reading it into a buffer
20 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
20 years ago
Joshua Colp af3e5903c8 It's pretty difficult to pthread_kill a thread that doesn't exist. (issue #8681 reported by bkruse)
20 years ago
Olle Johansson e5b5a92a56 Fix manager too.
20 years ago
Kevin P. Fleming adca0ff14b Merged revisions 49006 via svnmerge from
20 years ago
Russell Bryant 08cfbe97b8 Remove a debug message. If this is still needed for debugging something,
20 years ago
Luigi Rizzo 79fb4e4579 Replace ast_build_string with ast_str_*().
20 years ago
Luigi Rizzo 20b382cfff replace ast_build_string() with ast_str_*() functions.
20 years ago
Luigi Rizzo 055abfe9d9 simplify the ast_dynamic_str_*.... routines by
20 years ago
Luigi Rizzo 4e427d84bd unbreak the output for http session.
20 years ago
Luigi Rizzo 77e986e0d0 properly initialize a malloc'ed buffer
20 years ago
Luigi Rizzo 1b45dc4eee normalize the scanning of "general" options in the config file.
20 years ago
Luigi Rizzo f6c706c71b make sure the argument to ast_malloc() is > 0.
20 years ago
Luigi Rizzo 437f4288cd - Generalize the function ssl_setup() so that the certificate info
20 years ago
Steve Murphy cb5e37e56c Merged revisions 47986,47995,47997,48001,48003-48004,48008-48014,48016,48018-48019 via svnmerge from
20 years ago
Luigi Rizzo 605b9a914e remove duplicated code to start the server threads, use
20 years ago
Luigi Rizzo ce6804c877 Part of the transformations necessary to add TLS support,
20 years ago
Luigi Rizzo 0b798e298d don't use outputstr in the struct mansession, it's just
20 years ago
Luigi Rizzo 3dbc33ed4f initialize the dynamic string in a sane way.
20 years ago
Luigi Rizzo 29985ff8c3 do not return 500 Internal error if the AMI command provides
20 years ago
Luigi Rizzo 77ae04d7c1 mosty comment and documentation cleanup on waitevent.
20 years ago
Luigi Rizzo 0153bdd72c Move the code to purge stale sessions to a function,
20 years ago
Luigi Rizzo 5ce08d37ca Various simplifications of the code:
20 years ago
Luigi Rizzo 1c570d9ba0 More informative message on invalid commands.
20 years ago
Luigi Rizzo a8e9428317 another normalization of AMI vs HTTP identification.
20 years ago
Luigi Rizzo d1dcb0de2a always use managerid to determine whether this is an AMI or HTTP session,
20 years ago
Mark Spencer cc0c154f0e Restore some sense of security to manager
20 years ago
Luigi Rizzo b3867180cf comments-only change:
20 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
20 years ago
Luigi Rizzo 0bf4235ff1 add a new cli/manager.conf option "debug" to enable/disable
20 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
20 years ago