• 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
Reusing HTTP connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reusing HTTP connections


  • Subject: Reusing HTTP connections
  • From: John Stiles <email@hidden>
  • Date: Thu, 16 Nov 2006 13:37:35 -0800

(Sorry for the repost; this time I am starting a new thread instead of replying to an existing thread. Please keep any replies on this thread.)

We've written a bunch of code that relies on NSURLConnection etc. to download files via HTTP. It works well.
We're trying to modify it to do two things:


1 - Get byte ranges from a file instead of getting the whole file all at once. We found that this was possible by calling addValue:forHTTPHeaderField: and specifying a Range field. It seemed to work well.

2 - Reuse the same network connection to download several ranges in sequence, instead of disconnecting and reconnecting for each download. Is this supported at all?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: NSTextField & Hidden Binding Problem
  • Next by Date: Re: Tooltips for hidden applications
  • Previous by thread: Re: IOKit notifications
  • Next by thread: Non-square (triangular) views
  • Index(es):
    • Date
    • Thread