Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 6, 2010
  1. Merge branch 'concurrent'

    authored
    Conflicts:
    	Classes/ASIHTTPRequest.m
    	Classes/Tests/PerformanceTests.m
  2. Added async cancel test

    authored
  3. Fix typos

    authored
  4. Shave a bit of time off the end of the request by invalidating the ti…

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

    authored
    …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)
  2. Only invalidate+release the old status timer when the new one is sche…

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

    authored
    …essary
    
    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
  4. nextStreamNumberToCreate -> nextConnectionNumberToCreate

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

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

    authored
    Retain timer so we can explictly manage when we no longer need it, it will retain request
Commits on Jan 4, 2010
  1. Replace stupid and complicated auto-versioning script with a marginal…

    authored
    …ly less stupid and complicated one in ruby
  2. * Get rid of shouldRunInBackgroundThread, all queued requests run in …

    authored
    …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
Commits on Dec 20, 2009
  1. Lots of changes to fix regressions

    authored
    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
Commits on Dec 19, 2009
  1. Added support for persistent http connections

    authored
    More performance tests
  2. ASIHTTPRequest, ASIFormDataRequest, ASINetworkQueue, ASIS3Request, AS…

    authored
    …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)
  3. Tweaks

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

    authored
    Conflicts:
    	Classes/ASIHTTPRequest.m
    	Classes/Tests/ASIHTTPRequestTests.m
  2. Added PUTRequestForData:etc to ASIS3Request

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

    authored
    …T as per the browser convention (rather than the rfc)
  4. Merge branch 'master' into concurrent

    authored
    Conflicts:
    	Classes/ASIHTTPRequest.m
  5. Notify request delegate, and don't bother attempting main request, wh…

    authored
    …en head request created by ASINetworkQueue fails
    
    Thanks to Hermes Pique for his bug report!
  6. Add runRequestsInBackgroundThread property to ASINetworkQueue

    authored
    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
  7. Fix typos in header comments

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

    authored
Something went wrong with that request. Please try again.