History log of /httpd/modules/lua/lua_apr.c
Revision Date Author Comments Expand
b2c17021012bc4f7cd8e374c6bd72b926737320f 1612068 20-Jul-2014 jailletc36

Add missing APLOGNO. Refactor some lines to keep APLOGNO on the same line as ap_log_error, when applicable. Split lines longer than 80. Improve alignment.

dcf8ff6177847a0f232bd6be758be6a8ffcb0ac9 1582881 28-Mar-2014 humbedooh

Add a note on t->r checking, as per RĂ¼diger's email.

aa69a38d65db26d070cd79dcb07db2a45db21a6a 1582877 28-Mar-2014 humbedooh

mod_lua: Since c->notes is the only place where r will be NULL, we don't need to check a second time, since we'll never meddle with tables named 'notes'

d14183c7679493efa822e8d25855b041830feefe 1582858 28-Mar-2014 humbedooh

mod_lua: Redesign the table construction/access mechanism, so we pass on a struct with the request_rec, the table pointer and the table name instead of just the table pointer. This allows us to use the request_rec for logging/editing purposes, as well as inform the user which exact table in the request_rec was modified.

01353db931f4766d1ec5bc652f1c8cdb9dcaf642 1582262 27-Mar-2014 humbedooh

mod_lua: Prevent HTTP Response Splitting by not allowing tables in the request_rec to be set with values containing newlines. This is a semi-ugly hack, but it will have to do until we find another way of setting these values.

c4737d2670800fc4f6c7ab1b619590654c7c84b1 1487956 30-May-2013 fuankg

Remove unneeded exports from mod_lua.

810af90ba87187d7c69a2e2b7d641cfbb3a75c95 1485292 22-May-2013 fuankg

Removed obsolete define (already exists in mod_lua.h).

748982bb948086d4e34e62bb731a0de8ae4f4aa5 1433967 16-Jan-2013 humbedooh

Using the traditional way of declaring Lua functions does not seem to work with NetWare (and possibly Windows too?) Thus, at least until we find a smarter way, we have to move the r:* functions into lua_request.c and connect them from there. The only functional change is that the transferred functions are now called through the request object instead of the apache2 package. The distinction between what merited it to be in either structure seems very vague, so for now, we'll keep the HTTP return codes in the apache2 table, and the request/server functions in the request object.

757959ba06c2651708bea7c364c54ca9df8e73c8 1429169 05-Jan-2013 sf

fix typo: || not |

48f401ab1240fc21e48c6531ef66db6beeafdf6d 1425450 23-Dec-2012 humbedooh

Style tweaks, remove add_version_component and fix up some sloppy code. Many thanks to sfritsch for the pointers! And a merry christmas everyone :)

d7589d950253fc4b91ee9395e7d1c9915ab466c7 1425243 22-Dec-2012 humbedooh

Style tweaks, no functional change.

a64a8f8464718f89a6b756f00f24702438baab56 1422552 16-Dec-2012 sf

use ap_bin2hex() to simplify md5/sha1 code also fixes some 'array subscript is above array bounds' warnings

16d295626d28f9bd559f242457ba0f7371fe16fc 1422548 16-Dec-2012 sf

remove unused variable

cda4d5a60a6e0ff15bb3ce8dea67350ea1eadff5 1422531 16-Dec-2012 humbedooh

mod_lua: Fix unitialized variable in lua_ap_send_interim_response.

bcc8cf07e157c4737ff564ac943c21b9a7da3691 1422373 15-Dec-2012 humbedooh

mod_lua: If a regex fails, return false plus an error message as second return value. Also fix some functions who weren't always returning a value.

f88951ace0ecc3021ece862789272f9fe5d7f685 1422072 14-Dec-2012 humbedooh

mod_lua: Fix Windows compatibility issues and remove an unused variable. Thanks, Gregg!

18f5d8c8794b54fddc32ca2047f62ce2a429ae10 1421784 14-Dec-2012 humbedooh

mod_lua: Oops, there was a stray 'int i' in the middle of lua_ap_regex.

9ef862e80ed33c64b645dc4fc4dacc9fb48c9c62 1421780 14-Dec-2012 humbedooh

mod_lua: Fix signedness/other small bugs as per cjaillet/fuankg's emails - thanks guys :)

e53ae81ffa6d05c08191384c5c6040dee6d1d7d2 1420377 11-Dec-2012 humbedooh

mod_lua: Add a lot of core httpd/apr functionality to mod_lua (such as regex matching, expr evaluation, changing/fetching server configuration/info - see docs for a complete list). This also includes a bunch of automatically scraped functions, which may or may not be super useful. Comments appreciated as always, especially on the more hacky bits.

b1b343f2d172bbc78ffaf305590aee2ace17a4e1 1239029 01-Feb-2012 rjung

luaL_reg was already deprecated in Lua 5.1.4. It is gone in Lua 5.2.0 and was replaced by luaL_Reg which already existed in 5.1.4. So use that one..

11e076839c8d5a82d55e710194d0daac51390dbd 1174929 23-Sep-2011 sf

More cleanup: Expand tabs and some more indentation fixes No functional change

/httpd/include/ap_hooks.h /httpd/include/ap_listen.h /httpd/include/ap_mpm.h /httpd/include/apache_noprobes.h /httpd/include/http_connection.h /httpd/include/http_core.h /httpd/include/http_log.h /httpd/include/http_main.h /httpd/include/http_protocol.h /httpd/include/http_request.h /httpd/include/http_vhost.h /httpd/include/httpd.h /httpd/include/mod_core.h /httpd/include/scoreboard.h /httpd/include/util_md5.h /httpd/include/util_script.h /httpd/modules/aaa/mod_authz_core.c /httpd/modules/arch/win32/mod_isapi.h /httpd/modules/cache/cache_hash.h /httpd/modules/dav/main/mod_dav.c /httpd/modules/filters/libsed.h /httpd/modules/filters/mod_reqtimeout.c /httpd/modules/filters/regexp.c /httpd/modules/filters/regexp.h /httpd/modules/filters/sed.h /httpd/modules/filters/sed0.c /httpd/modules/filters/sed1.c /httpd/modules/generators/mod_autoindex.c /httpd/modules/generators/mod_cgi.c /httpd/modules/generators/mod_info.c /httpd/modules/http/http_filters.c /httpd/modules/ldap/util_ldap_cache.h lua_apr.c lua_vmprep.h mod_lua.c mod_lua.h /httpd/modules/mappers/mod_rewrite.c /httpd/modules/proxy/mod_proxy_fcgi.c /httpd/modules/proxy/mod_proxy_scgi.c /httpd/modules/proxy/proxy_util.c /httpd/modules/ssl/mod_ssl.c /httpd/modules/ssl/ssl_engine_config.c /httpd/modules/ssl/ssl_engine_ocsp.c /httpd/modules/ssl/ssl_engine_vars.c /httpd/os/unix/os.h /httpd/os/unix/unixd.h /httpd/server/core.c /httpd/server/request.c /httpd/server/scoreboard.c /httpd/server/util_expr_eval.c /httpd/support/ab.c
4841fb915a2a7dd384b05b8857feccecdeb1bc59 808726 28-Aug-2009 wrowe

Not static; trusting this targetted for export?

4a35e885b7b3077dfb3036a18422e56b37fc1e06 784644 15-Jun-2009 brianm

change use of luaL_openlib to luaL_register via path from Arfrever Frehtes Taifersar Arahesis

280fbb2a5f1c492e8dce40d318b3a7446ccece90 784643 15-Jun-2009 brianm

change use of luaL_openlib to luaL_register via path from Arfrever Frehtes Taifersar Arahesis

b4a69660c802909ef489e1b605beb2dcc9837909 758428 25-Mar-2009 wrowe

fix symbol space and exports

e4709c20138a8cd7c85a6ffba716d85fd2f6cdf5 737293 24-Jan-2009 brianm

changes headers_in and headers_out handling in mod_lua to map apr_table_t instances as boxed pointers

21776881c58b65ff1c0a787f8412dbc83d0c5100 728539 21-Dec-2008 pquerna

Attempt to make mod_lua compile under a strict c89 compiler by moving all variable declarations to be before code.

2d8099733b19806900cb95470c5715df2e5a1f3d 728516 21-Dec-2008 pquerna

Reformat mod_lua according to the HTTP Server Project C Style Guide: <http://httpd.apache.org/dev/styleguide.html> No functional changes.

a593e26ef2faf7b2b9cc465836352cf24afc7959 728512 21-Dec-2008 pquerna

Include standard ASF license block.

e0e7a4768845d518c21ce98d359d2ba8314832ba 728508 21-Dec-2008 pquerna

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.