• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSData DataWithContentsOfURL within a protocol handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData DataWithContentsOfURL within a protocol handler


  • Subject: Re: NSData DataWithContentsOfURL within a protocol handler
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 06 Sep 2012 09:36:20 -0500

From what Google tells me, you got a prompt response from Jens Alfke, a very experienced Cocoa-networking programmer, explaining why what you're doing shouldn't be expected to work. Are you looking for a workaround, or just for somebody who will give you better news? I don't think better news is in the cards.

	— F

On 5 Sep 2012, at 7:59 PM, danchik <email@hidden> wrote:

> Hello, is there a recomendation of a better list for this question ?
>
> ----- Original Message ----- From: "danchik" <email@hidden>
> To: <email@hidden>
> Sent: Thursday, August 02, 2012 3:33 PM
> Subject: NSData DataWithContentsOfURL within a protocol handler
>
>
>> Hello, I was callingNSData *data = [NSData DataWithContentsOfURL:url.... within the -startLoading of custom protocol handler, which worked fine for 10.5 through 10.7, but in 10.8, for some reason the call timesout with unknown error (256)
>>
>> Seems that in 10.8 any calls I make to pull the content form the web using NSString or NSData or NSURLConnection will time out if I am in the custom protocol handler inside the -startLoading
>>
>> Seems like it is waiting for me to return before it will process the command, is there a way I can make a syncronouse url content pull from within the -startLoading protocol handler?


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSData DataWithContentsOfURL within a protocol handler
      • From: Jean Suisse <email@hidden>
References: 
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: danchik <email@hidden>)

  • Prev by Date: Re: autosavesInPlace and sandbox
  • Next by Date: View based outline view and custom NSTableCellViews
  • Previous by thread: Re: NSData DataWithContentsOfURL within a protocol handler
  • Next by thread: Re: NSData DataWithContentsOfURL within a protocol handler
  • Index(es):
    • Date
    • Thread