Commit Graph

191 Commits (16)

Author SHA1 Message Date
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
Jason Parker 37e66fd859 Revert the change made in revision 45474, since this causes other issues.
18 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
18 years ago
Russell Bryant 3181a91148 Merged revisions 62414 via svnmerge from
18 years ago
Russell Bryant 2047feb97e Merged revisions 61407 via svnmerge from
18 years ago
Tilghman Lesher a858c92e3f Merged revisions 60712 via svnmerge from
18 years ago
Russell Bryant 0a9750ef9f Merged revisions 60603 via svnmerge from
18 years ago
Russell Bryant e545f2e02f Merged revisions 60265 via svnmerge from
18 years ago
Joshua Colp 82641ec8d3 Merged revisions 59089 via svnmerge from
18 years ago
Kevin P. Fleming a37ed6decb Merged revisions 58354 via svnmerge from
18 years ago
Kevin P. Fleming 4a1a0993f2 Merged revisions 58351-58352 via svnmerge from
18 years ago
Russell Bryant 4cbce3356e Merged revisions 55634 via svnmerge from
19 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Olle Johansson a9849288de Doxygen updates
19 years ago
Joshua Colp b712e10a13 Convert uri_redirects list to read/write locks.
19 years ago
Joshua Colp 6d9273d0d8 Merged revisions 49024 via svnmerge from
19 years ago
Kevin P. Fleming adca0ff14b Merged revisions 49006 via svnmerge from
19 years ago
Russell Bryant 850dd4ea61 Use spaces as a separator for the redirect option to improve readability
19 years ago
Russell Bryant 5d5cc243c6 Simplify the definition of http_uri_redirect such that only one allocation is
19 years ago
Russell Bryant 2c5071a006 - Convert the list of URI handlers to use the linked list macros. While doing
19 years ago
Luigi Rizzo 20b382cfff replace ast_build_string() with ast_str_*() functions.
19 years ago
Luigi Rizzo 437f4288cd - Generalize the function ssl_setup() so that the certificate info
19 years ago
Luigi Rizzo 6a147ed134 Make externally visible some generic code useful to create
19 years ago
Luigi Rizzo da80478d94 In the previous commit i forgot to set the poll_timeout to -1,
19 years ago
Luigi Rizzo 7a6914a126 document the support for running a server on TCP/TLS and
19 years ago
Luigi Rizzo 2e7fd7cbdb add a new http.conf option, sslbindaddr.
19 years ago
Luigi Rizzo 3637b60b19 in the helper thread, separate the FILE * creation from the actual
19 years ago
Luigi Rizzo a381d3552e staticize a global variable and remove an unused field structure.
19 years ago
Luigi Rizzo 2657279cb5 generalize a bit the functions used to create an tcp socket
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Luigi Rizzo c15f7953c8 Fix a few issues in the previous (disabled) HTTPS code,
19 years ago
Luigi Rizzo e8a65b7155 Implement https support.
19 years ago
Luigi Rizzo 5aa25a8d33 it is useless and possibly wrong to use ast_cli() to send the
19 years ago
Luigi Rizzo a0ae6ebd8e the default port number was erroneously stored in host order,
19 years ago
Luigi Rizzo fbe6c86b0b introduce uri_decode() so that '+' are translated into ' '
19 years ago
Luigi Rizzo d1058df18f various code simplifications to reduce nesting depth,
19 years ago
Luigi Rizzo 97fc34d450 comment some functions, and more small code simplifications
19 years ago
Luigi Rizzo 250ad2ad7e fix indentation of a large block after changes in previous commit
19 years ago
Luigi Rizzo 9146e44403 simplify string parsing routines using ast_skip_*() functions.
19 years ago
Luigi Rizzo 895eb4fd73 don't forget to close a descriptor on a malloc failure.
19 years ago
Luigi Rizzo 9a3cef21ac typo: serer -> server
19 years ago
Luigi Rizzo 3f641c6048 make sure sockets are blocking when they should be blocking.
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Tilghman Lesher 2b55678e1f Remove deprecated CLI apps from the core
19 years ago
Jason Parker fc60c151d3 After discussing this with other people, we decided we'd like to try to do this a little differently.
19 years ago
Anthony LaMantia 3f3402d69e 5240 update
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago