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 15:07:26 +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-84934@lists.php.net to get a copy of this message | ||
Commit: e08bef442c63a3e0f9eac43d8f5e09213347d3ca
Author: Felipe Pena <felipensp@gmail.com> Mon, 16 Feb 2015 13:07:26 -0200
Parents: 5b6269a2531137cdb7c32f62bd47caa82b9c6bb5
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e08bef442c63a3e0f9eac43d8f5e09213347d3ca
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);