Skip to content

Commit

Permalink
- Fixed bug #67427 (SoapServer cannot handle large messages) patch by…
Browse files Browse the repository at this point in the history
…: brandt at docoloc dot de
  • Loading branch information
felipensp committed Feb 16, 2015
1 parent 5b6269a commit 40c60b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/soap/php_xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 40c60b8

Please sign in to comment.