summaryrefslogtreecommitdiffstats
path: root/modules/lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* No need for trailing semicolon after APR_DECLARE_EXTERNAL_HOOK.Rainer Jung2010-06-101-2/+2
| | | | | | gcc complains when using -pedantic. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953351 13f79535-47bb-0310-9956-ffa450edef68
* Mop up more than a dozen const'ness faultsWilliam A. Rowe Jr2010-06-102-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953216 13f79535-47bb-0310-9956-ffa450edef68
* Drop ap_body_to_table due to missing constraints; a DoS waitingWilliam A. Rowe Jr2010-06-102-16/+1
| | | | | | | | | for an exploit. Some mod_lua fan aught to revisit this and provide a sensible implementation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953203 13f79535-47bb-0310-9956-ffa450edef68
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-064-1/+7
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* Fix some modules to make them compile with per-module loglevels.Stefan Fritsch2010-06-062-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951894 13f79535-47bb-0310-9956-ffa450edef68
* odd assortment of spelling fixesJeff Trawick2010-05-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@947651 13f79535-47bb-0310-9956-ffa450edef68
* Note that it would be nice if we could write authn and authz providersDaniel Earl Poirier2010-05-061-0/+1
| | | | | | | in lua. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@941734 13f79535-47bb-0310-9956-ffa450edef68
* Add info to debug logging.Daniel Earl Poirier2010-05-011-3/+14
| | | | | | | | | | | 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
* Log error if unable to load lua file.Daniel Earl Poirier2010-05-011-1/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@939986 13f79535-47bb-0310-9956-ffa450edef68
* An uninitialized pointer in ap_lua_mapped_handler_spec was causingDaniel Earl Poirier2010-05-011-2/+2
| | | | | | | seg faults in lua. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@939980 13f79535-47bb-0310-9956-ffa450edef68
* Change references from mod_wombat to mod_lua.Daniel Earl Poirier2010-04-305-15/+10
| | | | | | | Remove references to no-longer-needed pre-req, mod_apreq2. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@939703 13f79535-47bb-0310-9956-ffa450edef68
* Use "=" instead of "==" in test condition forRainer Jung2009-12-081-1/+1
| | | | | | | improved shell compatibility. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@888546 13f79535-47bb-0310-9956-ffa450edef68
* expose r->notes to luaBrian McCallister2009-11-051-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@833141 13f79535-47bb-0310-9956-ffa450edef68
* * modules/lua/: s/apr_strnatcmp/strcmp/ - strnat*cmp functions areJoe Orton2009-11-053-16/+16
| | | | | | | for natural order string sorting. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832910 13f79535-47bb-0310-9956-ffa450edef68
* allow setting of r->user from luaBrian McCallister2009-11-051-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832905 13f79535-47bb-0310-9956-ffa450edef68
* map r->err_headers_out into luaBrian McCallister2009-11-051-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832901 13f79535-47bb-0310-9956-ffa450edef68
* push_connection, push_server also targetted for export, no?William A. Rowe Jr2009-08-282-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808727 13f79535-47bb-0310-9956-ffa450edef68
* Not static; trusting this targetted for export?William A. Rowe Jr2009-08-281-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808726 13f79535-47bb-0310-9956-ffa450edef68
* Always make mod_*.h files available where they exist, modpath by modpathWilliam A. Rowe Jr2009-08-281-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808722 13f79535-47bb-0310-9956-ffa450edef68
* skip another lua source file with NetWare build.Guenter Knauf2009-07-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@793593 13f79535-47bb-0310-9956-ffa450edef68
* and another NetWare build fix for mod_lua.Guenter Knauf2009-07-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@793449 13f79535-47bb-0310-9956-ffa450edef68
* final NetWare mod_lua build fixes.Guenter Knauf2009-07-131-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@793442 13f79535-47bb-0310-9956-ffa450edef68
* added NetWare makefile for mod_lua.Guenter Knauf2009-07-131-0/+272
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@793432 13f79535-47bb-0310-9956-ffa450edef68
* change use of luaL_openlib to luaL_register via path from Arfrever Frehtes ↵Brian McCallister2009-06-151-1/+1
| | | | | | Taifersar Arahesis git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@784644 13f79535-47bb-0310-9956-ffa450edef68
* change use of luaL_openlib to luaL_register via path from Arfrever Frehtes ↵Brian McCallister2009-06-151-1/+1
| | | | | | Taifersar Arahesis git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@784643 13f79535-47bb-0310-9956-ffa450edef68
* remove unusable test fileBrian McCallister2009-06-151-64/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@784642 13f79535-47bb-0310-9956-ffa450edef68
* Add . 'default' test first before searching paths, to determine if theWilliam A. Rowe Jr2009-05-081-16/+37
| | | | | | | | | | | | | | | | lua.h, liblua5.1, liblua-5.1 or liblua can be resolved. This avoids adding strange paths on fedora/redhat, and choosing the wrong /lib[64] flavor. Also ensure -lm is always added to the actual linked libraries, avoiding a LoadModule failure on fedora/redhat. Still should first try to search for pkg-config lua settings, but note this would break fedora until that build hackery is corrected, c.f. the bug https://bugzilla.redhat.com/show_bug.cgi?id=499238 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@772864 13f79535-47bb-0310-9956-ffa450edef68
* headers are nice tooWilliam A. Rowe Jr2009-03-261-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758647 13f79535-47bb-0310-9956-ffa450edef68
* fix symbol space and exportsWilliam A. Rowe Jr2009-03-2510-160/+167
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758428 13f79535-47bb-0310-9956-ffa450edef68
* add luaWilliam A. Rowe Jr2009-03-251-0/+127
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758427 13f79535-47bb-0310-9956-ffa450edef68
* remove leftover debug statementBrian McCallister2009-03-011-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@748949 13f79535-47bb-0310-9956-ffa450edef68
* change syntax for getting document root in mod_lua to r.document_root, ↵Brian McCallister2009-03-011-9/+7
| | | | | | suggested by Bertrand Mansion git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@748948 13f79535-47bb-0310-9956-ffa450edef68
* change r.content_type = "something" to use ap_set_content_type, which it ↵Brian McCallister2009-03-013-20/+5
| | | | | | 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
* changes headers_in and headers_out handling in mod_lua to map apr_table_t ↵Brian McCallister2009-01-244-28/+34
| | | | | | instances as boxed pointers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@737293 13f79535-47bb-0310-9956-ffa450edef68
* minor edit to lua readmeBrian McCallister2009-01-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@737290 13f79535-47bb-0310-9956-ffa450edef68
* Use LDADD mechanism to only link mod_serf resp.Rainer Jung2009-01-031-1/+1
| | | | | | | | | | 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
* Use APACHE_HELP_STRING() for --enable-luajit in configureRainer Jung2009-01-021-1/+3
| | | | | | | 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
* Add in the ability to fetch from headers_in.Paul Querna2008-12-241-1/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729194 13f79535-47bb-0310-9956-ffa450edef68
* Hack to add basic support for LuaJIT.Paul Querna2008-12-222-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728779 13f79535-47bb-0310-9956-ffa450edef68
* * Comment out unused pstack_dump for the time being until it is used, a betterRuediger Pluem2008-12-221-0/+2
| | | | | | | 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
* * Remove unused variableRuediger Pluem2008-12-221-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728621 13f79535-47bb-0310-9956-ffa450edef68
* Use the HTTP_INTERNAL_SERVER_ERROR define instead of 500 directly.Paul Querna2008-12-221-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728568 13f79535-47bb-0310-9956-ffa450edef68
* Fix more ISO C90 forbids mixed declarations and code...Paul Querna2008-12-213-28/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728544 13f79535-47bb-0310-9956-ffa450edef68
* Rename rstack_dump to apl_rstack_dump.Paul Querna2008-12-212-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728540 13f79535-47bb-0310-9956-ffa450edef68
* Attempt to make mod_lua compile under a strict c89 compiler by moving all ↵Paul Querna2008-12-215-41/+61
| | | | | | variable declarations to be before code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728539 13f79535-47bb-0310-9956-ffa450edef68
* Remove some extra logging, and make it more debug instead of warning.Paul Querna2008-12-211-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728535 13f79535-47bb-0310-9956-ffa450edef68
* Change apl_get_lua_state to take a apl_vm_spec instead of a filename, and to Paul Querna2008-12-213-25/+30
| | | | | | | | 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
* Reformat mod_lua according to the HTTP Server Project C Style Guide:Paul Querna2008-12-2110-811/+1112
| | | | | | | | <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
* Include standard ASF license block.Paul Querna2008-12-212-0/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728512 13f79535-47bb-0310-9956-ffa450edef68
* Make all of the hook callbacks static functions.Paul Querna2008-12-211-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728511 13f79535-47bb-0310-9956-ffa450edef68