[Webkit-unassigned] [Bug 24263] New: [GTK] ref ResourceHandle until we are finished with it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 28 11:21:17 PST 2009


           Summary: [GTK] ref ResourceHandle until we are finished with it
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xan.lopez at gmail.com

Add a ref to the ResourceHandle in startHttp so we can keep it alive untill all
callbacks have been executed, and unref it when soup tells us it's done with
the SoupMessage (in finishedCallback). Fixes a number of crashes when calling
didReceiveData whould crash because of the handle dying.

Ideally we'd like to do this automatically with RefPtr I guess, but I'm not
sure how to apply that here.

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

More information about the webkit-unassigned mailing list