[Webkit-unassigned] [Bug 87953] [SOUP] WebProcess crashes when a download is started from an existing ResourceHandle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 31 08:18:12 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87953





--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-05-31 08:18:12 PST ---
(In reply to comment #2)
> (From update of attachment 145045 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=145045&action=review
> 
> > Source/WebKit2/WebProcess/Downloads/soup/DownloadSoup.cpp:154
> > +    // If the handle already got a response, make sure the download client is notified.
> > +    ResourceHandleInternal* handleInternal = m_resourceHandle->getInternal();
> > +    if (!handleInternal->m_response.isNull())
> > +        m_downloadClient->didReceiveResponse(m_resourceHandle.get(), handleInternal->m_response);
> 
> Is there a chance that data has already been received or the request already failed as well? If that was the case then we'd have to forward those events. Or is the resource handle paused during policy decisions?

Policy decisions happen before data is sent, when the response has been received. If it fails, it's not converted to a download.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list