summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.c
diff options
context:
space:
mode:
authorFelipe Pena <felipensp@gmail.com>2015-02-16 12:08:39 -0200
committerFelipe Pena <felipensp@gmail.com>2015-02-16 12:08:39 -0200
commit02de601ff8330a9ee2fa047d9098521908f6e583 (patch)
tree769d5f9ed30104814dcc2022c78397bf198e26fa /ext/soap/php_xml.c
parentc4664d173160c967a31234e7ba79516ba847ef1e (diff)
parent76a505f09b0087753d2430dd728e42b5ccd92ac9 (diff)
downloadphp-git-02de601ff8330a9ee2fa047d9098521908f6e583.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: - Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de BFN Update NEWS
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r--ext/soap/php_xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c
index 8a61efb2d2..6eb92c63f8 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);