Am 13.03.2015 18:26 schrieb "Bostjan Skufca" <bost...@a2o.si>:
>
> If we create unconditional php_server_context_cleanup() call at the
beginning of php_request(), would that be out of order? Does it remove also
all context-dependent configuration?

That's exactly what my Minipatch (addition of "1 ||") is doing.

The php_server_context_cleanup() does exactly one thing: set
SG(server_context) to NULL. My minipatch makes the code basically ignore
that in php_handler().

The problem I have is that I do not understand under which circumstances
that other codepath would be needed, which attempts to run a subrequest in
an already established and still active interpreter. The code must be there
for a reason, but I don't know it...

best regards
  Patrick

Reply via email to