diff --git a/src/IISIntegration/src/AspNetCoreModuleV1/AspNetCore/src/websockethandler.cxx b/src/IISIntegration/src/AspNetCoreModuleV1/AspNetCore/src/websockethandler.cxx index afa0b950e1..1816154a0c 100644 --- a/src/IISIntegration/src/AspNetCoreModuleV1/AspNetCore/src/websockethandler.cxx +++ b/src/IISIntegration/src/AspNetCoreModuleV1/AspNetCore/src/websockethandler.cxx @@ -1154,8 +1154,8 @@ Arguments: // WINHTTP_HELPER::sm_pfnWinHttpWebSocketShutdown( _hWebSocketRequest, - 1011, // indicate that a server is terminating the connection because it encountered - // an unexpected condition that prevent it from fulfilling the request + WINHTTP_WEB_SOCKET_SERVER_ERROR_CLOSE_STATUS, // indicate that a server is terminating the connection because it encountered + // an unexpected condition that prevent it from fulfilling the request NULL, // Reason 0); // length og Reason }