Skip to content
Permalink
Browse files

note that child is freed on exit

  • Loading branch information
alandekok committed Aug 9, 2019
1 parent ae5a6a4 commit 38bbf30c57b90a2b10ce2323b1b9717a828f755f
Showing with 6 additions and 3 deletions.
  1. +6 −3 doc/unlang/parallel.adoc
@@ -50,19 +50,22 @@ parallel {

=== Child Requests are Independent

Each module or subsection runs as a new child request which is a
Each module or subsection runs as a new child request which is an
identical copy of the parent request. Policies in the child can
update the original parent by using `update parent.request`, or
`update parent.reply`.

The child requests are required because each subsection is run
independently, with independent events, timers, etc.

Once the child requests are finished, they are freed. Any information
stored in them is discarded. Information needed after the `parallel`
section is run should be saved in the parent request.

.Example

When using complex policies inside of a `parallel` section, each
subsection should be enclosed in a link:group.adoc[group] keyword, as
follows.
subsection should be enclosed in a link:group.adoc[group] keyword.

[source,unlang]
----

0 comments on commit 38bbf30

Please sign in to comment.
You can’t perform that action at this time.