r9409: fix a problem that volker noticed with web page timeouts causing smbd
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Aug 2005 04:38:35 +0000 (04:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:33:34 +0000 (13:33 -0500)
commitfd74e3e1f5eb1a20be773627864415676b0cec21
tree23a359a147c088cb5735c25d7fecf5b94794f8a1
parent3fd6b47502bac57ca720e372d80843ae63c02723
r9409: fix a problem that volker noticed with web page timeouts causing smbd
to crash. This is one of the downsides of the fact that the ejs engine
is not event driven, resulting in the rendering of each web page being
'semi-async'. We need to protect the web context from the timeout
processing until we have unwound the stack back to the point that the
'web' variable representing the page rendering logic won't be used any
more.
(This used to be commit 97e3c9eaf1a917eb504a2c3414c5d2b64cd4539a)
source4/web_server/http.c
source4/web_server/web_server.c