-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
_beginRequestWithHandlerInvocation: contains
NSURLConnection *theConnection = [NSURLConnection connectionWithRequest:...delegate:...];
[info setObject:theConnection forKey:..];
This is dangerous since according to NSURLConnection documentation, connectionWithRequest:delegate: "Returns nil if a connection can't be created"
i believe should either make a way for a failure to bubble up through beginRequestWithTarget:, or create the NSURLConnection in init instead (unscheduled, using initWithRequest:delegate:startImmediately:NO) where failure can release self & return nil
Metadata
Metadata
Assignees
Labels
No labels