urlmon: Delay processing notifications from Read during MIME verification.

This commit is contained in:
Jacek Caban 2013-03-27 14:12:44 +01:00 committed by Alexandre Julliard
parent e15a923a0a
commit 506b369c73
1 changed files with 4 additions and 0 deletions

View File

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