Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
fb12f204
Commit
fb12f204
authored
Aug 02, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inform better about serial mode
parent
f6e58943
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
README.rst
README.rst
+9
-3
vdp_pesi.vcc
src/vdp_pesi.vcc
+9
-3
No files found.
README.rst
View file @
fb12f204
...
@@ -70,16 +70,22 @@ appropriately.
...
@@ -70,16 +70,22 @@ appropriately.
VOID serial(BOOL serial=0)
VOID serial(BOOL serial=0)
--------------------------
--------------------------
Activates serial mode if the argument is ``true``.
To be called from vcl_deliver {} only, the default argument is
To be called from vcl_deliver {} only, the default argument is
``false``.
``false``.
I
f called with a ``true`` argument, no new threads will be starte
d
I
n serial mode, no new threads will be started from this request an
d
from this request and all ESI subrequests at the next level only will
all ESI subrequests at the next level only will be processed by the
be processed by the
current thread.
current thread.
In other words, the setting only affects include processing for the
In other words, the setting only affects include processing for the
current response body.
current response body.
It is strongly recommended to _not_ use serial mode from ESI level 0
because the ESI level 0 thread is responsible for sending available
data to the client.
.. _vmod_pesi.version:
.. _vmod_pesi.version:
STRING version()
STRING version()
...
...
src/vdp_pesi.vcc
View file @
fb12f204
...
@@ -56,16 +56,22 @@ appropriately.
...
@@ -56,16 +56,22 @@ appropriately.
$Function VOID serial(BOOL serial=0)
$Function VOID serial(BOOL serial=0)
Activates serial mode if the argument is ``true``.
To be called from vcl_deliver {} only, the default argument is
To be called from vcl_deliver {} only, the default argument is
``false``.
``false``.
I
f called with a ``true`` argument, no new threads will be starte
d
I
n serial mode, no new threads will be started from this request an
d
from this request and all ESI subrequests at the next level only will
all ESI subrequests at the next level only will be processed by the
be processed by the
current thread.
current thread.
In other words, the setting only affects include processing for the
In other words, the setting only affects include processing for the
current response body.
current response body.
It is strongly recommended to _not_ use serial mode from ESI level 0
because the ESI level 0 thread is responsible for sending available
data to the client.
$Function STRING version()
$Function STRING version()
Return the version string for this VDP.
Return the version string for this VDP.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment