mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 06:00:45 +00:00
urlmon: Delay processing notifications from Read during MIME verification.
This commit is contained in:
parent
e15a923a0a
commit
506b369c73
@ -897,8 +897,12 @@ static HRESULT WINAPI ProtocolSinkHandler_ReportData(IInternetProtocolSink *ifac
|
||||
|
||||
do {
|
||||
read = 0;
|
||||
if(is_apartment_thread(This))
|
||||
This->continue_call++;
|
||||
hres = IInternetProtocol_Read(This->protocol, buf,
|
||||
sizeof(buf)-This->buf_size, &read);
|
||||
if(is_apartment_thread(This))
|
||||
This->continue_call--;
|
||||
if(FAILED(hres) && hres != E_PENDING)
|
||||
return hres;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user