ebb62867fb
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
...
advantage of per-module loglevels
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 16:59:50 +00:00
1f4b662ca5
Add info to debug logging.
...
Avoid null pointer dereference by returning if we can't get
a lua VM.
Move "we got a VM" message to after we know we have one.
Check that we found the lua handler function before trying to
call it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@939987 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:04:27 +00:00
0aa10f9c58
* modules/lua/: s/apr_strnatcmp/strcmp/ - strnat*cmp functions are
...
for natural order string sorting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832910 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 23:39:57 +00:00
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
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
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
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
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
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
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
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
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
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
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
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