diff options
-rw-r--r-- | ext/soap/php_xml.c | 3 | ||||
-rw-r--r-- | sapi/fpm/fpm/fpm_request.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c index b32acdf41d..35d2e4e8b0 100644 --- a/ext/soap/php_xml.c +++ b/ext/soap/php_xml.c @@ -100,6 +100,9 @@ xmlDocPtr soap_xmlParseFile(const char *filename) 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); xmlParseDocument(ctxt); php_libxml_disable_entity_loader(old); diff --git a/sapi/fpm/fpm/fpm_request.c b/sapi/fpm/fpm/fpm_request.c index 1e8016005a..ec8601b478 100644 --- a/sapi/fpm/fpm/fpm_request.c +++ b/sapi/fpm/fpm/fpm_request.c @@ -219,8 +219,6 @@ void fpm_request_finished() /* {{{ */ proc->request_stage = FPM_REQUEST_FINISHED; proc->tv = now; - memset(&proc->accepted, 0, sizeof(proc->accepted)); - proc->accepted_epoch = 0; fpm_scoreboard_proc_release(proc); } /* }}} */ |