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:34:19 UTC
svn commit: r1595614 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.html.fr
Author: lgentis
Date: Sun May 18 12:34:19 2014
New Revision: 1595614
URL: http://svn.apache.org/r1595614
Log:
Update.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_lua.html.fr
Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.html.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.html.fr?rev=1595614&r1=1595613&r2=1595614&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.html.fr (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.html.fr Sun May 18 12:34:19 2014
@@ -711,7 +711,7 @@ end</pre>
<pre class="prettyprint lang-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
@@ -725,8 +725,9 @@ end</pre>
r:addoutputfilter("fooFilter") -- insère le filtre fooFilter dans le flux de sortie</pre>
-<pre class="prettyprint lang-lua">r:sendfile(filename) -- envoie un fichier entier au client en
-utilisant sendfile s'il est supporté par la plateforme :
+<pre class="prettyprint lang-lua">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")