Skip to content

Untitled #2

@smallduck

Description

@smallduck

_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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions