Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 18, 2013
  1. @mattt

    Bumping version to 2.0.3

    mattt authored
  2. @mattt
  3. @mattt

    Merge pull request #1600 from lukabratos/master

    mattt authored
    Removed empty, unused else clause.
  4. @lukabratos
Commits on Nov 17, 2013
  1. @mattt

    [Issue #1580] [Issue #1589] Porting AFNetworking 1.x behavior for ima…

    mattt authored
    …ge construction in inflation to ensure correct orientation
  2. @mattt
  3. @mattt

    [Issue #1592] Replacing NSParameterAssert with early nil return if se…

    mattt authored
    …ssion was unable to create a task
  4. @mattt

    [Issue #1592] Adding NSParameterAssert for internal task constructors…

    mattt authored
    … in order to catch invalid constructions early
  5. @mattt

    Minor formatting

    mattt authored
  6. @mattt

    Merge pull request #1545 from pavolas/cancel_bug

    mattt authored
    Fix a non-deterministic failure in [AFURLConnectionOperation cancel]
  7. @mattt

    Merge pull request #1544 from pavolas/master

    mattt authored
    Infinite loop on network thread
  8. @mattt

    Merge pull request #1582 from jeremymailen/issue/1579

    mattt authored
    Remove deletion of all task delegates in URLSessionDidFinishEventsForBac...
  9. @mattt

    Merge pull request #1593 from kcharwood/query_string_fix

    mattt authored
    Fixed issue where the query string serialization block was not used
  10. @mattt

    Merge pull request #1542 from MindaugasV/master

    mattt authored
    Removed unnecessary KVO change calls
  11. @mattt
  12. @mattt
  13. @mattt
  14. @mattt

    Merge pull request #1552 from troupe/master

    mattt authored
    Removing .swp files from example
  15. @mattt

    Merge pull request #1548 from maxgoedjen/master

    mattt authored
    Fixed refs to AFJSONSerializer -> AFJSONResponseSerializer
Commits on Nov 15, 2013
  1. @kcharwood
Commits on Nov 13, 2013
  1. @mattt
Commits on Nov 11, 2013
  1. Remove deletion of all task delegates in URLSessionDidFinishEventsFor…

    Jeremy Mailen authored
    …BackgroundURLSession:
    
    This should not happen because sometimes this method is called after waking the app up to
    respond to authentication challenges and no tasks have completed yet.  It is not safe to
    assume that all tasks are complete and the delegates should be removed.  Doing some
    results in orphaned tasks with AF delegates to handle them.
    
    Task delegates already get deleted after the URLSession:task:didCompleteWithError: call
    which will be made for each task.
    
    Issue: 1579
Commits on Nov 4, 2013
  1. @mattt

    Merge pull request #1560 from kubbing/master

    mattt authored
    posting AFNetworkingTaskDidFinishNotification on main thread
  2. @mattt
  3. @mattt

    [Issue #1562] Setting default security policy on AFURLSessionManager,…

    mattt authored
    … rather than AFHTTPSessionManager
Commits on Oct 31, 2013
  1. @kubbing

    posting AFNetworkingTaskDidFinishNotification on main thread is now g…

    kubbing authored
    …uaranteed and no longer breaks AFNetworkActivityIndicatorManager
Commits on Oct 30, 2013
  1. @mattt

    Merge pull request #1557 from bpoplauschi/subclass_managers

    mattt authored
    Subclass AFHTTPRequestOperationManager and AFHTTPSessionManager
  2. @bpoplauschi

    It's easier to subclass AFHTTPRequestOperationManager and AFHTTPSessi…

    bpoplauschi authored
    …onManager if the `manager` method uses the current class type instead of a hardcoded one
Commits on Oct 29, 2013
  1. @mattt

    Bumping version to 2.0.2

    mattt authored
Commits on Oct 28, 2013
  1. @suprememoocow
Commits on Oct 27, 2013
  1. @maxgoedjen
Commits on Oct 26, 2013
  1. @pavolas

    Fix a bug where [AFURLConnectionOperation cancel] does not set the

    pavolas authored
    appropriate error on the NSOperation.
    
    There is a race condition where 'cancel' is called immediately after
    'start'. When operationDidStart is then called on the Network Thread,
    self.connection is not instantiated, because the NSOperation is
    cancelled, and 'finish' is called, but without the error set.  When
    cancelConnection is then called on the Network Thread, the error is not
    set, because the operation is already finished.
    
    In the new code, cancelConnection is always responsible for setting the error,
    and then calling 'finish'. operationDidStart never attempts to call
    'finish'.
    
    This bug was one of the sources of non-deterministic failures in
    testThatCancellationOfRequestOperationInvokesFailureCompletionBlock.
  2. @pavolas

    Fix a bug where [AFURLConnectionOperation pause] did not correctly reset

    pavolas authored
    the state of AFURLConnectionOperation, causing the Network Thread to
    enter an infinite loop.
    
    The logic for 'pause' was calling [self.connection performSelector:...].
    If 'pause' is executed immediately after 'start', and 'start' did not
    have a chance to create self.connection on the Network Thread, then the
    logic in 'pause' would effectively be a no-op. When 'resume' gets
    called, the previous connection was not actually cancelled, so there are
    2 connections both of which have a reference to the same NSOutputStream.
    The first connection to finish/error would close the NSOutputStream, and
    the second connection would spin forever in the delegate callback
    connection:didReceiveData: since [self.outputStream hasSpaceAvailable]
    always returns NO.
    
    The test case I added reproduces the failure, but is flaky because it
    relies on a race condition between the main thread and the Network
    Thread.
  3. @MindaugasV
Commits on Oct 25, 2013
  1. @mattt
Something went wrong with that request. Please try again.