- Turns out the external entity loader is not a per-thread global but a true

global. Changed code accordingly; however, applications that embed PHP and
  also use libxml2 may be affected negatively.
This commit is contained in:
Gustavo André dos Santos Lopes 2011-08-30 01:08:22 +00:00
parent 88e36378ff
commit 6affeb6b60
2 changed files with 131 additions and 130 deletions

View file

@ -43,7 +43,6 @@ ZEND_BEGIN_MODULE_GLOBALS(libxml)
zval *stream_context;
smart_str error_buffer;
zend_llist *error_list;
xmlExternalEntityLoader defaultEntityLoader; /* saved here to allow it restored */
struct _php_libxml_entity_resolver {
zend_fcall_info fci;
zend_fcall_info_cache fcc;