Commits

Laurence Rowe  committed c8349ca

XML_PARSE_COMPACT to save memory

  • Participants
  • Parent commits 9487b3a

Comments (0)

Files changed (1)

File src/http/modules/ngx_http_xslt_filter_module.c

             return NGX_ERROR;
         }
         xmlCtxtUseOptions(ctxt, XML_PARSE_NOENT|XML_PARSE_DTDLOAD
-                          |XML_PARSE_NOWARNING);
+                          |XML_PARSE_NOWARNING|XML_PARSE_COMPACT);
 
         ctxt->sax->externalSubset = ngx_http_xslt_sax_external_subset;
         ctxt->sax->setDocumentLocator = NULL;