Browse code

xhttp: extended example for event_route[xhttp:request]

(cherry picked from commit 195de260f102f1a016ad7bd1021571c1dd8a983f)
(cherry picked from commit 42df0f0b58a2b5780a9bf613a5a29d4af27b4f67)
(cherry picked from commit 198753a49da7ff81965d4eeac1d96e53dbe901a6)

Daniel-Constantin Mierla authored on 21/06/2021 07:42:28 • Henning Westerholt committed on 22/10/2021 12:01:57
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;");