Re: SAPI apache2handler + pipelined HTTP request core dumps
| From: | Patrick Schaaf | Date: | Fri, 13 Mar 2015 17:31:11 +0000 |
| Subject: | Re: SAPI apache2handler + pipelined HTTP request core dumps | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84699@lists.php.net to get a copy of this message | ||
Am 13.03.2015 18:26 schrieb "Bostjan Skufca" <bostjan@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