Skip to content
  • alp@webkit.org's avatar
    2008-11-03 Holger Hans Peter Freyther <zecke@selfish.org> · c90968dc
    alp@webkit.org authored
            Reviewed by Alp Toker.
    
            https://bugs.webkit.org/show_bug.cgi?id=22041
            Fix CURL crashes on the test suite
    
            Fix segfault with setDefersLoading(). Do not call into curl when we
            don't have a CURL handle.
    
            It is attempted to defer the loading before the load has been
            started (no curl handle was allocated yet). If that happens then
            just remember that. ResourceHandleManager::startJob is already taking
            care of this and in initResourceHandle the the downloading will
            be paused if needed.
    
            Fixes fast/loader/simultaneous-reloads-assert.html
    
            * platform/network/curl/ResourceHandleCurl.cpp:
            (WebCore::ResourceHandle::setDefersLoading):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c90968dc