Re: [PATCH] libxml - Move Callback Reg to Request Init
| From: | Rasmus Lerdorf | Date: | Fri, 28 May 2004 00:51:30 +0000 |
| Subject: | Re: [PATCH] libxml - Move Callback Reg to Request Init | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10131@lists.php.net to get a copy of this message | ||
Is it not possible to do this at the time set_streams_context is called?
I am weary of having this done per-request for all PHP requests regardless
of whether or not they actually call anything in libxml.
-Rasmus
On Fri, 28 May 2004, Andi Gutmans wrote:
> Anyone see a problem with this patch? If not, I'd like to include it in RC3
> because it makes sense.
>
> Andi
>
> At 10:13 PM 5/26/2004 -0700, Paul Querna wrote:
> >Patch Moves the Registering of the PHP XML Streams to the request init,
> >instead of installing them globaly in the Module init.
> >
> >This is needed if any other Apache modules use libxml2 on a non-php
> >request. If this patch is not applied, any other use of libxml2 in the
> >same process will likely fail when the PHP callbacks are called.
> >
> >Thanks,
> >
> >-Paul Querna
> >
> >--
> >PHP Internals - PHP Runtime Development Mailing List
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>