Commit Graph

100 Commits (71ebf2e7ca7ed51a88d46a1ac58aed1945b97cd8)

Author SHA1 Message Date
Kevin P. Fleming 1036849a42 import gcc 4.3.2 warning fixes from trunk, with a few changes specific to this branch
17 years ago
Kevin P. Fleming f0c712cf4b Merged revisions 151101 via svnmerge from
17 years ago
Sean Bright b69c8e6ab5 Another big chunk of changes from the RSW branch. Bunch of stuff from main/
17 years ago
Tilghman Lesher aca394bf0c HTTP module memory leaks
17 years ago
Terry Wilson 671627028c Fix mime parsing by re-adding support for passing headers to callback functions
17 years ago
Kevin P. Fleming 54b0143463 Merged revisions 134983 via svnmerge from
17 years ago
Brett Bryant e03f7ce05a Fix deadlock when unloading res_http_post because the uris lock was still locked.
17 years ago
Brandon Kruse dff6f08784 Committing a fix that was introduced a long time
17 years ago
Terry Wilson a32369fcd5 Expose the prefix variable so that it can be used by modules depending on http support
17 years ago
Brett Bryant 2aae0ba13d Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
17 years ago
Brett Bryant d32c2d6fd9 Add new functionality to http server that requires manager authentication for any path that includes a directory named 'private'. This patch also
17 years ago
Luigi Rizzo c7a4899ac4 Document the possible presence of multiple variables with the
17 years ago
Luigi Rizzo d56a42cb1a Reverse the check for Cookie: and remove leftover code implementing
17 years ago
Russell Bryant 76917df5cb Merged revisions 114600 via svnmerge from
17 years ago
Terry Wilson 1eb31edde2 Re-add HTTP post support by moving to res_http_post.c
17 years ago
Terry Wilson f02c11d88b Yeah, simplify that logic a bit...
17 years ago
Terry Wilson aa720d402b Handle blank prefix= in http.conf
17 years ago
Terry Wilson 2848068017 Fix another little http problem. In making it match coding guidelines, a comparison was dropped
17 years ago
Terry Wilson 4c2531989a Stupid strcasecmp function :-)
17 years ago
Tilghman Lesher ef4eff9a9b Add the "config reload <conffile>" command, which allows you to tell Asterisk
17 years ago
Kevin P. Fleming 75cb5032e6 actually implement HTTP request dispatching based on both URI and method; reduce duplication of data when generating responses using ast_http_error()
17 years ago
Kevin P. Fleming 84b133bd81 clean up code to conform to coding guidelines
17 years ago
Russell Bryant f1d2a11aad Minor change to use Asterisk macros
17 years ago
Kevin P. Fleming e191b51a08 start the process of changing HTTP request dispatching to do it based on *both* URI and method, so that POST support can move into a module; move http.c's private function prototypes into _private.h
17 years ago
Terry Wilson e727d15d34 Replace minimime with superior GMime library so that the entire contents of an http post are not read into memory.
17 years ago
Russell Bryant c3c56990df Make the default prefix empty, like it was in Asterisk 1.4.
17 years ago
Russell Bryant 8bbef5f996 Rename ast_tcptls_server_instance to session_instance, since this pertains to
17 years ago
Russell Bryant 96e04792bd add a destroy API call for a server instance
17 years ago
Russell Bryant cc55483858 More public API name changes to use an appropriate ast_ prefix
17 years ago
Russell Bryant efb1e30a38 Rename public object server_instance to ast_tcptls_server_instance
17 years ago
Russell Bryant 0036cde5f3 Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
17 years ago
Russell Bryant b995c78c31 Merge changes from team/group/sip-tcptls
18 years ago
Pari Nannapaneni 0c33fdfb49 merging a comment added in 1.4
18 years ago
Russell Bryant 54bc2c20b6 Now that the version.h file was getting properly regenerated every time the svn
18 years ago
Luigi Rizzo 49c0eaf803 remove some unnecessary includes
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo 1e6489a175 trim more redundant headers
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Jason Parker c7a9ec1691 (issue #10724)
18 years ago
Doug Bailey 410bdaf535 Fix memory leak introduced when POST support was added.
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
18 years ago
Russell Bryant 4a6f3770f9 Fix my recent change for sending large files via the http server. This code
18 years ago
Russell Bryant 408dbc4304 Merge changes from team/russell/http_filetxfer
18 years ago
Russell Bryant 80166c6de8 Conversions to ast_debug()
18 years ago