No subject
Wed Jul 30 17:08:51 UTC 2008
> static int php_handler(request_rec *r)
> {
[...]
> /* apply_config() needs r in some cases, so allocate server_context early */
> ctx = SG(server_context);
> if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) {
normal:
> ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx));
> /* register a cleanup so we clear out the SG(server_context)
> * after each request. Note: We pass in the pointer to the
> * server_context in case this is handled by a different thread.
> */
[...]
> zend_first_try {
[...]
php_handler sounds like apache2handler's equiv of apache's php_run
(which is where the other patch was applied). So it looks fine
(although I'm not familiar at all with apache's SAPI-related stuff).
>
> sean
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iD8DBQFJPFltynjLPm522B0RAg81AJ9dxW/NAdxqIiYqmo/STUBZhpFu6ACcCvHO
> +x4AnUNcSatjf3Glxy9vmlM=
> =pfXj
> -----END PGP SIGNATURE-----
>
Cheers,
--
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net
Marie von Ebner-Eschenbach - "Even a stopped clock is right twice a day."
More information about the pkg-php-maint
mailing list