ed08a0b8fba309cc2f7281e5b88dfeadc6f98e87 1578882 |
|
18-Mar-2014 |
humbedooh |
fix message number |
4891a7f01a965911a2daccd7af20b5971e3e6310 1578870 |
|
18-Mar-2014 |
humbedooh |
mod_lua: Actually check whether interpreting the base structure of a file works or not, don't just assume it works. |
001a44c352f89c9ec332ffd3e0a6927dcd19432c 1526906 |
|
27-Sep-2013 |
humbedooh |
mod_lua: Use a (new) global pool/mutex setup for IVM rather than a per-process pool. |
c4737d2670800fc4f6c7ab1b619590654c7c84b1 1487956 |
|
30-May-2013 |
fuankg |
Remove unneeded exports from mod_lua. |
810d55e173d117b85adddb0567750552fce60e4a 1487769 |
|
30-May-2013 |
fuankg |
Provide proper module extension. |
58223c4d9336cffa51b04cbc3ab07d8afe310278 1424939 |
|
21-Dec-2012 |
humbedooh |
- return NULL if apr_reslist_acquire fails, so we don't end up possibly referencing a null-object
- initialize cache_info as NULL |
e7c752eb965a7f8671f3114d215080dd5a14939d 1420181 |
|
11-Dec-2012 |
humbedooh |
lua_vmprep.c: Additional check to see if the resource list was successfully created, so we don't end up trying to fetch a non-existent resource list when we use the 'server' option for the LuaScope directive. |
594f46201120ea2ae374dd166e3da48cc1dd8124 1398025 |
|
14-Oct-2012 |
jailletc36 |
No need to test for NULL before calling apr_pstrdup. |
e4b7200c3038dd4f7300c24c61af55886831f53f 1383037 |
|
10-Sep-2012 |
sf |
another style fix |
19a96e59a4250d39c542c58782b5aa06d10d03f1 1383028 |
|
10-Sep-2012 |
sf |
more coding style (no logic change) |
98ec179633086375491ca6782be132c3def65f7e 1383024 |
|
10-Sep-2012 |
sf |
coding style |
a6bcf98c8b3a9b16dd9eb1487645cae8fd842095 1383022 |
|
10-Sep-2012 |
sf |
Fix warnings about unused variable and (false positive) "'mkey' may be used uninitialized in this function" |
8ef30b572f5cee245f1dd27860e9a4c7d5f375cd 1383013 |
|
10-Sep-2012 |
sf |
Replace duplicate log msg numbers |
c66602abed71bb4166e051e3a8368145b4e2d749 1369793 |
|
06-Aug-2012 |
trawick |
fix "lua_vmprep.c:355:17: warning: no previous prototype for ‘copy_vm_spec’ [-Wmissing-prototypes]" |
4363f87bbb41935718999670e15208a1375e41b3 1369763 |
|
06-Aug-2012 |
humbedooh |
Reverting r1369758 |
679c5329c641e9de6ae65ad1e5b6cb4c9d0ed4b6 1369758 |
|
06-Aug-2012 |
humbedooh |
use the ap_mutex functions to create the mutex instead of the apr_mutex ones. |
295c2dff5970a27964598238325d26340ab8d1a0 1369656 |
|
05-Aug-2012 |
humbedooh |
Add a server scope for Lua states (in LuaScope), which creates a pool of states with manageable minimum and maximum size. |
1c090d5036aa34c2031c37e828021cc68ac7ddf8 1367040 |
|
30-Jul-2012 |
humbedooh |
mod_lua: Pass on the request_rec to ap_lua_get_lua_state, so we can use it for allocating memory for the cache info lookup. |
585ef75329cd8800cfb5bba00a94c8a64f732290 1367025 |
|
30-Jul-2012 |
humbedooh |
mod_lua: Fix up LuaCodeCache:
- Check both mtime and size of a file when comparing with cache, in case the file is being written to while read
- If LuaCodeCache is 'never', only reload it if it has been run once or more.
- Never use cache if LuaScope is 'once'. |
6733711aacc2369da3bf21ccc9a36e32db703139 1366890 |
|
29-Jul-2012 |
humbedooh |
Add LuaCodeCache directive for controlling in-memory caching.
This might need some tweaking on the hash key generation for the mtime lookups, ideas are welcome. |
84d037d25827739cce57d489ab4a97accbe2fd18 1361784 |
|
15-Jul-2012 |
rjung |
Add missing HTTP status codes taken from
http://www.iana.org/assignments/http-status-codes/http-status-codes.xml
The new codes are now known and some canned error
strings are provided. The web server does not yet actually
produce them in responses or reacts on getting them
from an origin server when acting as a proxy or gateway. |
e20c6ecbd465cd7dabb44acea6afafc7925f3a03 1351020 |
|
17-Jun-2012 |
sf |
Add new directive LuaAuthzProvider to allow implementing an
authorization provider in lua |
9b0a28dcfa914cd2493a4b7e6000c4552e022dcf 1351019 |
|
17-Jun-2012 |
sf |
use macro to make definition of integer fields more compact |
ec7851f543720a66e94295707116b4bc91961030 1351012 |
|
17-Jun-2012 |
sf |
Change prototype of vm_construct, to work around gcc bug which
causes a segfault.
PR: 52779
Submitted by: Dick Snippe <Dick Snippe tech omroep nl> |
12b6cd07aee83e788bccf135a86141f902bc95e4 1305586 |
|
26-Mar-2012 |
sf |
Be more verbose when logging syntax errors |
bb57ae727420d91974aef38a9db40c2293c90604 1300766 |
|
14-Mar-2012 |
sf |
Fix some typos |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
1a38ae5adc8151d6214847fd40584e735eecf6d9 1203632 |
|
18-Nov-2011 |
trawick |
remove lingering reslist cruft |
b830f030981974ed6224a02cf1ccfa36c516bd67 1200646 |
|
11-Nov-2011 |
brianm |
remove lingering reslist references before killing server scope |
ded506c7887b4175dfacfee306480e352a8eff02 1200639 |
|
11-Nov-2011 |
brianm |
remove ability to set min and max pool sizes for server scope in prep for removing server scope |
2e82e0b7f60901d68ad80292a12dd983895c0355 1200614 |
|
11-Nov-2011 |
brianm |
remove some debug logging which snuck in |
7bf1401ef4bee095f2f6ce59519e0a6c1018324f 1200513 |
|
10-Nov-2011 |
brianm |
remove last traces of the code cache |
2e81af32604c9525701ce1ed2bdeee63447831d0 1200475 |
|
10-Nov-2011 |
brianm |
fix issue with incorrect munging of the lua package path -- LuaPackagePath directives were not working |
0b38656f11127e404f913fad1573bc7b42868654 1195168 |
|
30-Oct-2011 |
covener |
add constants for PROXYREQ_* to the apache2 global, allow r.proxyreq and
r.handler to be writable. |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
68541ba0213a27b4e19cfb198857e6fd04188bcf 1147680 |
|
17-Jul-2011 |
sf |
Simplify code by using apr_array_pstrcat() |
ad860e5f3ef4f4f5d09c3ba388c642f1bcc909bb 1098399 |
|
01-May-2011 |
sf |
avoid compiler warnings with gcc |
efc0c6e379da7b96fcb0b9d270b1f9dff6e56c14 1082033 |
|
16-Mar-2011 |
fuankg |
Fixed mod_lua - 2nd trial.
Reverted changed vm_release call from r1082026;
fixed cleanup_lua call. |
3ffd452725889dda9a7f243ab76c5f0ecf1efe09 1082030 |
|
16-Mar-2011 |
fuankg |
Fixed indent. |
a974d0a1a2d6b3d55ee51e2a6fec3fbb383c4468 1082026 |
|
16-Mar-2011 |
fuankg |
Fixed mod_lua.
Added some casts to make picky compilers happy;
changed vm_release() proto and call. |
5f3b00aed8bb38b16e6ff5590c97166eae862c12 1081611 |
|
15-Mar-2011 |
brianm |
apply patch from zhiguo zhao <zhaozg@gmail.com> to significantly improve server scope handling |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
ac6cf208df123dc0065a64a8de8fc6116f8e4fd8 939986 |
|
01-May-2010 |
poirier |
Log error if unable to load lua file. |
b4a69660c802909ef489e1b605beb2dcc9837909 758428 |
|
25-Mar-2009 |
wrowe |
fix symbol space and exports |
4eda6116f974311ae4b9e75f2d45ad2913b86297 748946 |
|
01-Mar-2009 |
brianm |
change r.content_type = "something" to use ap_set_content_type, which it should as was pointed out by Bertrand Mansion |
03d877a27a12f90ca99f3fcbdb28766c3043b862 728779 |
|
22-Dec-2008 |
pquerna |
Hack to add basic support for LuaJIT. |
d635c4ab9b6c90b16f3587cf2067b057f6b433c8 728623 |
|
22-Dec-2008 |
rpluem |
* 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. |
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. |
724961227438fd36511c2ca1fafcf377fc486662 728535 |
|
21-Dec-2008 |
pquerna |
Remove some extra logging, and make it more debug instead of warning. |
39bfc06718264cb819a2646ec4cd1e9c421549b9 728531 |
|
21-Dec-2008 |
pquerna |
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. |
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. |
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. |