1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
William A. Rowe Jr
aa4b1cff0b fix symbol space and exports
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758428 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 20:09:08 +00:00
William A. Rowe Jr
3a8d6ff515 add lua
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758427 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 20:07:47 +00:00
Brian McCallister
0b298347d5 remove leftover debug statement
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@748949 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 01:46:17 +00:00
Brian McCallister
b059de05d2 change syntax for getting document root in mod_lua to r.document_root, suggested by Bertrand Mansion
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@748948 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 01:37:44 +00:00
Brian McCallister
d68a529544 change r.content_type = "something" to use ap_set_content_type, which it should as was pointed out by Bertrand Mansion
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@748946 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 01:25:27 +00:00
Brian McCallister
0f4cf6e591 changes headers_in and headers_out handling in mod_lua to map apr_table_t instances as boxed pointers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@737293 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 03:10:40 +00:00
Brian McCallister
bdb54f2aeb minor edit to lua readme
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@737290 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 01:50:36 +00:00
Rainer Jung
8eb168a906 Use LDADD mechanism to only link mod_serf resp.
mod_lua to libserf resp. liblua.

No need to include this dependency in all other
modules and binaries.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730876 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 00:20:14 +00:00
Rainer Jung
c662d88e8f Use APACHE_HELP_STRING() for --enable-luajit in configure
to allow automatic indentation in configure help output.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730686 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 09:47:54 +00:00
Paul Querna
fb4dd06b2d Add in the ability to fetch from headers_in.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729194 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 02:22:38 +00:00
Paul Querna
4fbf0b5ff3 Hack to add basic support for LuaJIT.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728779 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 21:15:32 +00:00
Ruediger Pluem
94db5b0012 * Comment out unused pstack_dump for the time being until it is used, a better
compile time conditional is found or it is removed from the code.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728623 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 06:47:42 +00:00
Ruediger Pluem
bd4a986cf3 * Remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728621 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 06:45:32 +00:00
Paul Querna
9ad474c462 Use the HTTP_INTERNAL_SERVER_ERROR define instead of 500 directly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728568 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 01:05:25 +00:00
Paul Querna
2e920b6abf Fix more ISO C90 forbids mixed declarations and code...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728544 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 22:53:08 +00:00
Paul Querna
a36f6f7048 Rename rstack_dump to apl_rstack_dump.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728540 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 22:40:43 +00:00
Paul Querna
ce336c773a Attempt to make mod_lua compile under a strict c89 compiler by moving all variable declarations to be before code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728539 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 22:38:07 +00:00
Paul Querna
afa287e242 Remove some extra logging, and make it more debug instead of warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728535 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 22:25:22 +00:00
Paul Querna
db88fbdb27 Change apl_get_lua_state to take a apl_vm_spec instead of a filename, and to
load the bytecode if it is present, rather than the file, as this gets the 
inline config file blocks hooks working again.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728531 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 22:21:54 +00:00
Paul Querna
729bcf2b58 Reformat mod_lua according to the HTTP Server Project C Style Guide:
<http://httpd.apache.org/dev/styleguide.html>
No functional changes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728516 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:41:52 +00:00
Paul Querna
41fa7d796a Include standard ASF license block.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728512 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:32:04 +00:00
Paul Querna
3cb4269f13 Make all of the hook callbacks static functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728511 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:31:02 +00:00
Paul Querna
21b46796ac Fixup lua_config.c with prefix rename, and make mod_lua.c so it compiles again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728509 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:29:11 +00:00
Paul Querna
3948867f51 Rename all files in mod_lua to have a lua_ prefix, as things like 'config.h' are way to generic and will often conflict with other include files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728508 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:27:01 +00:00
Paul Querna
afcdc6d85c Rename most of the module formally known as mod_wombat to mod_lua conventions, switching apw prefixes for apl.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728506 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:17:15 +00:00
Paul Querna
badab85d11 Make pstack_dump a static function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728498 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 20:56:05 +00:00
Paul Querna
de90d326f5 Remove old commented out code, if we need any of this in the future, we always will have the svn history.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728497 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 20:55:51 +00:00
Paul Querna
c16fe2875d Rename mod_wombat -> mod_lua.
Note that this isn't a complete transformation yet, but it should basically compile and load as mod_lua.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728494 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 20:48:19 +00:00