Skip to content

Commit d259a85

Browse files
committed
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
2 parents c4664d1 + 83f85a4 commit d259a85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/soap/php_xml.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC)
100100
ctxt->sax->warning = NULL;
101101
ctxt->sax->error = NULL;
102102
/*ctxt->sax->fatalError = NULL;*/
103+
#if LIBXML_VERSION >= 20703
104+
ctxt->options |= XML_PARSE_HUGE;
105+
#endif
103106
old = php_libxml_disable_entity_loader(1 TSRMLS_CC);
104107
xmlParseDocument(ctxt);
105108
php_libxml_disable_entity_loader(old TSRMLS_CC);

0 commit comments

Comments
 (0)