Skip to content

Commit ab1abc1

Browse files
committed
Small nits
1 parent a345ac1 commit ab1abc1

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/Servers/IIS/AspNetCoreModuleV2/InProcessRequestHandler/inprocessapplication.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class IN_PROCESS_APPLICATION : public InProcessApplicationBase
162162

163163
PFN_ASYNC_COMPLETION_HANDLER m_AsyncCompletionHandler;
164164
PFN_DISCONNECT_HANDLER m_DisconnectHandler;
165-
PFN_REQUESTS_DRAINED_HANDLER m_RequestsDrainedHandler;
165+
PFN_REQUESTS_DRAINED_HANDLER m_RequestsDrainedHandler;
166166

167167
std::wstring m_dotnetExeKnownLocation;
168168

src/Servers/IIS/IIS/src/NativeMethods.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static extern int register_callbacks(IntPtr pInProcessApplication,
6161
PFN_SHUTDOWN_HANDLER shutdownCallback,
6262
PFN_DISCONNECT_HANDLER disconnectCallback,
6363
PFN_ASYNC_COMPLETION asyncCallback,
64-
PFN_REQUESTS_DRAINED_HANDLER drainHandler,
64+
PFN_REQUESTS_DRAINED_HANDLER requestsDrainedHandler,
6565
IntPtr pvRequestContext,
6666
IntPtr pvShutdownContext);
6767

@@ -162,11 +162,11 @@ public static void HttpRegisterCallbacks(IntPtr pInProcessApplication,
162162
PFN_SHUTDOWN_HANDLER shutdownCallback,
163163
PFN_DISCONNECT_HANDLER disconnectCallback,
164164
PFN_ASYNC_COMPLETION asyncCallback,
165-
PFN_REQUESTS_DRAINED_HANDLER drainHandler,
165+
PFN_REQUESTS_DRAINED_HANDLER requestsDrainedHandler,
166166
IntPtr pvRequestContext,
167167
IntPtr pvShutdownContext)
168168
{
169-
Validate(register_callbacks(pInProcessApplication, requestCallback, shutdownCallback, disconnectCallback, asyncCallback, drainHandler, pvRequestContext, pvShutdownContext));
169+
Validate(register_callbacks(pInProcessApplication, requestCallback, shutdownCallback, disconnectCallback, asyncCallback, requestsDrainedHandler, pvRequestContext, pvShutdownContext));
170170
}
171171

172172
public static unsafe int HttpWriteResponseBytes(IntPtr pInProcessHandler, HttpApiTypes.HTTP_DATA_CHUNK* pDataChunks, int nChunks, out bool fCompletionExpected)

src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/StartupTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using System.IO;
77
using System.Linq;
88
using System.Net;
9-
using System.Net.Http;
109
using System.Text.RegularExpressions;
1110
using System.Threading.Tasks;
1211
using System.Xml.Linq;

0 commit comments

Comments
 (0)