Télécharger la liste

Description du projet

mod_pLua is an Apache HTTP Server 2.x module for developing Web applications with Lua. With mod_pLua, you can use Lua for scripting in two distinct ways; Embedded Lua scripting, <?lua print("Hello, world!") ?>, or plain Lua scripting with a CGI-style interface. mod_pLua precompiles all scripts and caches the compiled binary code so that each new call to the same file will be lightning fast, allowing you to serve hundreds of thousands of requests per minute on any modern server. Mod_pLua supports both the traditional Lua interpreter as well as LuaJIT for both Windows and UNIX platforms. If your Web server supports it, mod_pLua also utilizes APR_DBD and mod_dbd to handle persistent database connections through the dbopen() Lua function.

Système requise

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2012-03-10 07:13
0.51

Cette version se déplace une déclaration de l'en-tête du fichier c à faciliter l'installation de l'APXS, arrête les binaires construits avec l'aide de mod_dbd de se plaindre que mod_dbd n'est pas activée lorsqu'une connexion échoue et correctifs un problème qui a causé des données POST de que ne pas d'être correctement reconnue.
This release moves a declaration from the header to the C file to ease APXS installation, stops binaries built with mod_dbd support from complaining that mod_dbd isn't enabled when a connection fails, and fixes an issue which caused POST data from XMLHttpRequests not to be properly recognized.

2012-02-28 07:58
0.50

Le script de Makefile est maintenant correctement nettoyer lorsque « make clean » est appelée. La fonction getEnv() rendra maintenant ainsi une valeur Server-Version (major.minor.patch). Les directives sont maintenant seulement permises dans la configuration Apache principale. La fonction include() prend désormais en charge y compris les fichiers Lua ordinaire, comme défini par la directive pLuaRaw.
Tags: Minor, Bugfixes
The Makefile script will now properly clean up when `make clean` is called. The getEnv() function will now report a Server-Version value as well (major.minor.patch). Directives are now only permissable within the main Apache configuration. The include() function now supports including plain Lua files, as set by the pLuaRaw directive.

2012-02-21 07:50
0.48

Cette version ajoute file.send(filename) pour l'envoi de fichiers statiques à l'aide du mécanisme interne sendfile. Appel de sleep(n) avec un nombre négatif sera maintenant par défaut pour dormir pendant 1 seconde. print(...) affichera désormais les valeurs des valeurs booléennes et nils, ainsi que REF aux tables, userdata et fonctions. Cette version ajoute string.explode (string, délimiteur) pour fractionner des chaînes en gros morceaux. Il corrige un problème où la directive pLuaIgnoreLibrary pourrait être lu correctement.
Tags: Major, Bugfixes
This release adds file.send(filename) for sending static files using the internal sendfile mechanism. Calling sleep(n) with a negative number will now default to sleeping for 1 second. print(...) will now output the values of booleans and nils, as well as refs to tables, userdata, and functions. This release adds string.explode(string, delimiter) for splitting up strings into chunks. It fixes a potential issue where the pLuaIgnoreLibrary directive could be read incorrectly.

2012-02-15 07:33
0.42

Certaines vérifications du thread, qui n'étaient pas nécessaires dans les appels de fonction Lua C, ont été supprimées. Poussant le thread Lua sur le registre lors de l'acquisition de l'État a été rétablie pour éviter d'avoir à recourir à la sauvegarde de la liste. La httpError(N) de la fonction Lua a été ajouté pour appeler le gestionnaire d'erreur Apache interne avec le code de retour setReturnCode n. met désormais uniquement le code de retour ; Il n'appelle pas le gestionnaire d'erreur de Apache (utilisation httpError plutôt).
Tags: Minor, New function introduced
Some thread checks, which were not needed in Lua C function calls, have been removed. Pushing the Lua thread onto the registry when acquiring the state has been reinstated to avoid having to resort to the backup list. The Lua function httpError(N) has been added for calling the internal Apache error handler with return code N. setReturnCode now only sets the return code; it does not call the Apache error handler (use httpError instead).

2012-02-13 22:56
0.41

Cette version résout les problèmes avec certains modules externes vider la pile de Registre, brisant certains appels aux fonctions internes mod_pLua. Dans de tels cas, mod_pLua fera maintenant utiliser une sauvegarde de la liste de paires de thread/État afin de n'assurer aucune erreur come cela.
Tags: Minor, compatibility issue
This release addresses issues with certain external modules emptying the registry stack, breaking certain calls to internal mod_pLua functions. In such cases, mod_pLua will now make use of a backup list of thread/state pairs to ensure no errors come of this.

Project Resources