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