Commit Graph

171 Commits (f6f4cf459f43f072604927209b39646f84aaa2e2)

Author SHA1 Message Date
Paul Belanger 3556e4c2d4 Replace ast_log(LOG_DEBUG, ...) with ast_debug()
14 years ago
Andrew Latham 25691c31b3 Asterisk HTTP response Content-type
14 years ago
Matthew Nicholson e706b5706e According to section 19.1.2 of RFC 3261:
14 years ago
Mark Michelson 3162a8e558 Enable IPv6 for the built-in HTTP server.
15 years ago
Paul Belanger da2a5e5aa9 Merged revisions 279726 via svnmerge from
15 years ago
Mark Michelson cd4ebd336f Add IPv6 to Asterisk.
15 years ago
Terry Wilson de18661bee Don't continue sending the file when there has been an error
15 years ago
Terry Wilson 66053b8a58 Don't act like an http write failed when it didn't
15 years ago
Olle Johansson 8d64231c62 Adding external reference for doxygen
16 years ago
Tilghman Lesher 0f6b01f914 Fix a trunk compilation warning.
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
David Vossel ca138fc807 Consistent SSL/TLS options across conf files
16 years ago
David Vossel 8f0b88c8c8 TLS/SSL private key option
16 years ago
Tilghman Lesher ce6ebaef97 Support HTTP digest authentication for the http manager interface.
16 years ago
Tilghman Lesher 1030a25ac9 Modify headers and macros, according to Russell's suggestions on the -dev list
16 years ago
Tilghman Lesher 1745773f30 Allow browsers to cache images and other static content.
16 years ago
Terry Wilson e0b40036e1 Fix qualify for TCP peer
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Kevin P. Fleming 1ddc834b39 cleaup of the TCP/TLS socket API:
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
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
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
18 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