зеркало из https://github.com/Azure/iisnode.git
fix race condition between accessing member of request context and its disposal
This commit is contained in:
Родитель
0bc9f9bfd1
Коммит
3ad714d17a
|
@ -59,7 +59,7 @@ HRESULT CProtocolBridge::InitiateRequest(CNodeHttpStoredContext* context)
|
|||
context->SetNextProcessor(CProtocolBridge::CreateNamedPipeConnection);
|
||||
CProtocolBridge::CreateNamedPipeConnection(S_OK, 0, context->InitializeOverlapped());
|
||||
|
||||
return context->GetHresult(); // synchronous completion HRESULT
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void WINAPI CProtocolBridge::CreateNamedPipeConnection(DWORD error, DWORD bytesTransfered, LPOVERLAPPED overlapped)
|
||||
|
|
Загрузка…
Ссылка в новой задаче