com php-src: - Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de: ext/soap/php_xml.c
| From: | Felipe Pena | Date: | Mon, 16 Feb 2015 14:46:43 +0000 |
| Subject: | com php-src: - Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de: ext/soap/php_xml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84931@lists.php.net to get a copy of this message | ||
Commit: 650098868ca952cd34b2b834b1bdbd284be62f1e
Author: Felipe Pena <felipensp@gmail.com> Mon, 16 Feb 2015 12:46:43 -0200
Parents: 5b6269a2531137cdb7c32f62bd47caa82b9c6bb5
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=650098868ca952cd34b2b834b1bdbd284be62f1e
Log:
- Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de
Bugs:
https://bugs.php.net/67427
Changed paths:
M ext/soap/php_xml.c
Diff:
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c
index f7c8fd5..bf30ab4 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);