fix race condition between accessing member of request context and its disposal

This commit is contained in:
Tomasz Janczuk 2011-10-18 19:51:08 -07:00
Родитель 0bc9f9bfd1
Коммит 3ad714d17a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)