[Webkit-unassigned] [Bug 163545] New: NetworkSession: PendingDownload is leaked if canceled before willDecidePendingDownloadDestination

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 17 08:55:16 PDT 2016


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

            Bug ID: 163545
           Summary: NetworkSession: PendingDownload is leaked if canceled
                    before willDecidePendingDownloadDestination
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: achristensen at apple.com

If a download started by DownloadManager::startDownload() is cancelled before DownloadManager::willDecidePendingDownloadDestination() is called, DownloadManager::cancelDownload() does nothing, because the Download hasn't been created yet and m_downloadsWaitingForDestination map doesn't contain the download ID, and the PendingDownload is never removed from the m_pendingDownloads map.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161017/946d7f43/attachment.html>


More information about the webkit-unassigned mailing list