From: Felipe Pena Date: Mon, 16 Feb 2015 15:07:26 +0000 (-0200) Subject: - Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at... X-Git-Tag: php-5.4.38~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e08bef442c63a3e0f9eac43d8f5e09213347d3ca;p=php - Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de --- 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);