You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by lg...@apache.org on 2014/05/18 14:33:38 UTC
svn commit: r1595613 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
Author: lgentis
Date: Sun May 18 12:33:38 2014
New Revision: 1595613
URL: http://svn.apache.org/r1595613
Log:
Update.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr?rev=1595613&r1=1595612&r2=1595613&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Sun May 18 12:33:38 2014
@@ -685,7 +685,7 @@ end
<highlight language="lua">
r:flush() -- vide le tampon de sortie
-- Renvoie true si le vidage a été effectué avec succès,
- false dans le cas contraire.
+ -- false dans le cas contraire.
while nous_avons_des_données_à_envoyer do
r:puts("Bla bla bla\n") -- envoi des données à envoyer vers le tampon
@@ -701,8 +701,9 @@ r:addoutputfilter("fooFilter") -- ins&eg
</highlight>
<highlight language="lua">
-r:sendfile(filename) -- envoie un fichier entier au client en
-utilisant sendfile s'il est supporté par la plateforme :
+r:sendfile(filename) -- envoie un fichier entier au client en utilisant
+ -- sendfile s'il est supporté par la
+ -- plateforme :
if use_sendfile_thing then
r:sendfile("/var/www/large_file.img")