summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-05-06 10:06:20 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-05-06 10:06:20 +0200
commit9502a731c09593db0d3b7ad3a1d3ee90b8b44901 (patch)
treea3ae5a7100bd613716800287a1b3899f24f1454f
parent9497b86d1a5a31684f8fcce9c6db3d66b5a79260 (diff)
tiny changes in documentation about extension callbacksv1.1.1
-rw-r--r--documentation/extension-callbacks.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/extension-callbacks.html b/documentation/extension-callbacks.html
index 4821f9b..b8c2686 100644
--- a/documentation/extension-callbacks.html
+++ b/documentation/extension-callbacks.html
@@ -151,7 +151,7 @@ extern "C" {
while the shutdown function is called by <i>every</i> child process
that gracefully exits. The onShutdown is thus not only called when the
Apache process is stopped, but also when one of the worker processes
- exits because it no longer is necessary, or because it is replaced by
+ exits because it no longer is needed, or because it is replaced by
a fresh and new worker.
</p>
<p>
@@ -159,7 +159,8 @@ extern "C" {
called when your extension is initially loaded. But not only then. When
apache is reloaded (for example by giving the command line instruction
"apachectl reload"), your get_module() gets called for a second time,
- and the callback that you registered with Extension::onStartup() too.
+ and the callback that you registered with Extension::onStartup() is
+ called again too.
This is normally not a problem, because the static extension object is
in a locked state after the first get_module() call, and the functions
and classes that you try to add to the extension object in the second