Browse code

xhttp: extended example for event_route[xhttp:request]

(cherry picked from commit 195de260f102f1a016ad7bd1021571c1dd8a983f)

Daniel-Constantin Mierla authored on 21/06/2021 07:42:28
Showing 1 changed files
... ...
@@ -222,6 +222,11 @@ event_route[xhttp:request] {
222 222
         </para>
223 223
         <programlisting  format="linespecific">
224 224
 ...
225
+tcp_accept_no_cl=yes
226
+...
227
+loadmodule "sl.so"
228
+loadmodule "xhttp.so
229
+...
225 230
 event_route[xhttp:request] {
226 231
     xhttp_reply("200", "OK", "text/html",
227 232
         "&lt;html&gt;&lt;body&gt;OK - [$si:$sp]&lt;/body&gt;&lt;/html&gt;");