diff options
author | Felipe Pena <felipensp@gmail.com> | 2015-02-16 12:08:07 -0200 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2015-02-16 12:08:07 -0200 |
commit | 40c60b8212b8ab18fd5bf9a426f99e42d9908f8e (patch) | |
tree | ba17e99267dc798a5aef3d1bca6827a2c7082030 /ext/soap/php_xml.c | |
parent | 5b6269a2531137cdb7c32f62bd47caa82b9c6bb5 (diff) | |
download | php-git-40c60b8212b8ab18fd5bf9a426f99e42d9908f8e.tar.gz |
- Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r-- | ext/soap/php_xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c index f7c8fd51e5..bf30ab40aa 100644 --- a/ext/soap/php_xml.c +++ b/ext/soap/php_xml.c @@ -100,6 +100,9 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC) ctxt->sax->warning = NULL; ctxt->sax->error = NULL; /*ctxt->sax->fatalError = NULL;*/ +#if LIBXML_VERSION >= 20703 + ctxt->options |= XML_PARSE_HUGE; +#endif old = php_libxml_disable_entity_loader(1 TSRMLS_CC); xmlParseDocument(ctxt); php_libxml_disable_entity_loader(old TSRMLS_CC); |