From 87bd3ad69cdcc3b1bba650f885d4277fe3fbe861 Mon Sep 17 00:00:00 2001 From: Vladimir Krivopalov Date: Tue, 12 Mar 2019 16:56:36 -0700 Subject: [PATCH] Do not enforce stream in-body inspection flag for IIS. Signed-off-by: Vladimir Krivopalov --- iis/mymodule.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/iis/mymodule.cpp b/iis/mymodule.cpp index 1bb2c400d5..071a6ec914 100644 --- a/iis/mymodule.cpp +++ b/iis/mymodule.cpp @@ -972,11 +972,6 @@ CMyHttpModule::OnBeginRequest(IHttpContext* httpContext, IHttpEventProvider* pro rsc->responseProcessingEnabled = (config->config->resbody_access == 1); RequestStoredContext* context = rsc.get(); - // on IIS we force input stream inspection flag, because its absence does not add any performance gain - // it's because on IIS request body must be restored each time it was read - // - modsecSetConfigForIISRequestBody(r); - StoreIISContext(r, rsc.get()); httpContext->GetModuleContextContainer()->SetModuleContext(rsc.release(), g_pModuleContext);