• 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
Testing resumeData from cancelByProducingResumeData:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testing resumeData from cancelByProducingResumeData:


  • Subject: Testing resumeData from cancelByProducingResumeData:
  • From: Scott Hancher <email@hidden>
  • Date: Wed, 19 Feb 2014 17:31:06 -0800

I'm currently working on some code that uses NSURLSessionDownloadTask's cancelByProducingResumeData: to support cancelling/resuming of downloads, and although I can get a non-nil NSData object from this method on downloading from a network server, I can't seem to get a non-nil NSData object when using a test server based on a BSD socket and responding to a localhost URL. My test server works for numerous other test cases, but this one's got me stumped. What is required of my test server for it to support the creation of a non-nil NSData object from cancelByProducingResumeData?

Thank you,
Scott.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Testing resumeData from cancelByProducingResumeData:
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: NKE: Socket filter
  • Next by Date: Re: Testing resumeData from cancelByProducingResumeData:
  • Previous by thread: Re: NKE: Socket filter
  • Next by thread: Re: Testing resumeData from cancelByProducingResumeData:
  • Index(es):
    • Date
    • Thread