]> granicus.if.org Git - php/commitdiff
- Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at...
authorFelipe Pena <felipensp@gmail.com>
Mon, 16 Feb 2015 14:46:43 +0000 (12:46 -0200)
committerFelipe Pena <felipensp@gmail.com>
Mon, 16 Feb 2015 14:46:43 +0000 (12:46 -0200)
ext/soap/php_xml.c

index f7c8fd51e599e7a4f26a37e4aa4406ddadb3a3df..bf30ab40aaa4196f0b888755c2fbde196b12d0e2 100644 (file)
@@ -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);