Commits on Jan 6, 2010
  1. Merge branch 'concurrent'

    committed Jan 6, 2010
  2. Added async cancel test

    committed Jan 6, 2010
  3. Fix typos

    committed Jan 6, 2010
  4. Reinstate cookie use to perf tests, it really makes very little diffe…

    …rence to test results
    committed Jan 6, 2010
  5. Shave a bit of time off the end of the request by invalidating the ti…

    …mer and stopping the runloop when done
    Make readStream non-atomic
    committed Jan 6, 2010
Commits on Jan 5, 2010
  1. Stop stopping the runloop in markAsFinished, otherwise the timer does…

    …n't get invalidated and it leaks the whole request
    Stop reading request headers in handleBytesAvailable - they are now read only in handleStreamComplete.
    This change prevents a neverending loop of ASIAuthenticationDialogs caused by the new lockless delegate authentication system.
    (It also means the request body will always get downloaded, which may be useful sometimes when failing authentication)
    committed Jan 5, 2010
  2. Only invalidate+release the old status timer when the new one is sche…

    …duled - prevents a crash for async requests when only the timer is retaining the request
    committed Jan 5, 2010
  3. Stop retaining mainRequest, avoids retain cycle, plus not really nesc…

    Fix a potential leak when creating a request where the old stream would not get released if opening the new one failed
    statusTimer is now a retained property
    Tweak tests to remove leaks
    committed Jan 5, 2010
  4. nextStreamNumberToCreate -> nextConnectionNumberToCreate

    Add helpful comments to some of the new additions, reinstate refs to the mailing list posts that were so helpful
    committed Jan 5, 2010
  5. Close whichever stream was using the connection last when opening a n…

    …ew one, rather than only when it's the same request
    Test tweaks
    committed Jan 5, 2010
  6. Tweak progress tests to run in main thread to make them reliable

    Retain timer so we can explictly manage when we no longer need it, it will retain request
    committed Jan 5, 2010
Commits on Jan 4, 2010
  1. usedConnection => connectionInfo

    committed Jan 4, 2010
  2. Replace stupid and complicated auto-versioning script with a marginal…

    …ly less stupid and complicated one in ruby
    committed Jan 4, 2010
  3. * Get rid of shouldRunInBackgroundThread, all queued requests run in …

    …new thread (or gcd thread pool on sn)
    This is probably for the best in the long wrong - the extra flexibility brings x-platform behaviour differences / bugs, and would almost certainly mean support headaches down the line
    * Combine authenticationChallengeInProgress / proxyAuthenticationNeeded into authenticationNeeded
    * Make readStream an NSInputStream = more typecasting, but less CFRetain/CFRelease risks, and probably better for subclassers
    * Tweak tests and remove support for auto-redirect for 305/307 to prevent crash
    * Use more accessors
    committed Jan 4, 2010
Commits on Dec 20, 2009
  1. Lots of changes to fix regressions

    Redirect / authentication required requests download the full response before trying again, so they can re-use the connection
    Invalidate the connection when a request fails to prevent subsequent requests getting stuck on a bad line
    committed Dec 20, 2009
Commits on Dec 19, 2009
  1. Added support for persistent http connections

    More performance tests
    committed Dec 19, 2009
  2. ASIHTTPRequest, ASIFormDataRequest, ASINetworkQueue, ASIS3Request, AS…

    …IListRequest, ASIBucketObject all now implement the NSCopying protocol
    Tweak to notify NSOperation that the request is finished when failWithError called (important for requests that fail during construction)
    committed Dec 19, 2009
  3. Added automatic retry for timeouts

    committed Dec 19, 2009
  4. Tweaks

    committed Dec 19, 2009
Commits on Dec 18, 2009
  1. Merge branch 'master' into concurrent

    committed Dec 18, 2009
  2. Added PUTRequestForData:etc to ASIS3Request

    Closes gh-14.
    Also fixed unit tests for S3 on Mac, continued fallout from that setDoubleValue: debacle
    committed Dec 18, 2009
  3. Change redirection behaviour for 301, 302 http status codes to use GE…

    …T as per the browser convention (rather than the rfc)
    committed Dec 18, 2009
  4. Merge branch 'master' into concurrent

    committed Dec 18, 2009
  5. Notify request delegate, and don't bother attempting main request, wh…

    …en head request created by ASINetworkQueue fails
    Thanks to Hermes Pique for his bug report!
    committed Dec 18, 2009
  6. More wack-a-mole style bug fixing

    committed Dec 18, 2009
  7. Add runRequestsInBackgroundThread property to ASINetworkQueue

    Add back in Snow Leopard detection for deciding whether to spawn a new thread
    Made delegate authentication work again in a background thread
    Tweak tests
    committed Dec 18, 2009
  8. Fix typos in header comments

    Expand explanation on delegate selectors
    Thanks to Christoph Ludwig for noting these issues!
    committed Dec 18, 2009
Commits on Dec 17, 2009
  1. Reinstate part of throttle test

    committed Dec 17, 2009