Skip to content
Commits on Nov 18, 2013
  1. @mattt

    Bumping version to 2.0.3

    mattt committed Nov 18, 2013
  2. @mattt
  3. @mattt

    Merge pull request #1600 from lukabratos/master

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

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

    …ge construction in inflation to ensure correct orientation
    mattt committed Nov 17, 2013
  2. @mattt
  3. @mattt

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

    …ssion was unable to create a task
    mattt committed Nov 17, 2013
  4. @mattt

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

    … in order to catch invalid constructions early
    mattt committed Nov 17, 2013
  5. @mattt

    Minor formatting

    mattt committed Nov 17, 2013
  6. @mattt

    Merge pull request #1545 from pavolas/cancel_bug

    Fix a non-deterministic failure in [AFURLConnectionOperation cancel]
    mattt committed Nov 17, 2013
  7. @mattt

    Merge pull request #1544 from pavolas/master

    Infinite loop on network thread
    mattt committed Nov 17, 2013
  8. @mattt

    Merge pull request #1582 from jeremymailen/issue/1579

    Remove deletion of all task delegates in URLSessionDidFinishEventsForBac...
    mattt committed Nov 17, 2013
  9. @mattt

    Merge pull request #1593 from kcharwood/query_string_fix

    Fixed issue where the query string serialization block was not used
    mattt committed Nov 17, 2013
  10. @mattt

    Merge pull request #1542 from MindaugasV/master

    Removed unnecessary KVO change calls
    mattt committed Nov 17, 2013
  11. @mattt
  12. @mattt
  13. @mattt
  14. @mattt

    Merge pull request #1552 from troupe/master

    Removing .swp files from example
    mattt committed Nov 16, 2013
  15. @mattt

    Merge pull request #1548 from maxgoedjen/master

    Fixed refs to AFJSONSerializer -> AFJSONResponseSerializer
    mattt committed Nov 16, 2013
Commits on Nov 15, 2013
  1. @kcharwood
Commits on Nov 13, 2013
  1. @mattt

    [Issue #1585] Documenting default Accept header field value for setIm…

    …ageWithURL:, et al.
    mattt committed Nov 13, 2013
Commits on Nov 11, 2013
  1. Remove deletion of all task delegates in URLSessionDidFinishEventsFor…

    …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
    Jeremy Mailen committed Nov 10, 2013
Commits on Nov 4, 2013
  1. @mattt

    Merge pull request #1560 from kubbing/master

    posting AFNetworkingTaskDidFinishNotification on main thread
    mattt committed Nov 4, 2013
  2. @mattt
  3. @mattt

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

    … rather than AFHTTPSessionManager
    mattt committed Nov 4, 2013
Commits on Oct 31, 2013
  1. @kubbing

    posting AFNetworkingTaskDidFinishNotification on main thread is now g…

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

    Merge pull request #1557 from bpoplauschi/subclass_managers

    Subclass AFHTTPRequestOperationManager and AFHTTPSessionManager
    mattt committed Oct 30, 2013
  2. @bpoplauschi

    It's easier to subclass AFHTTPRequestOperationManager and AFHTTPSessi…

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

    Bumping version to 2.0.2

    mattt committed Oct 29, 2013
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

    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.
    pavolas committed Oct 26, 2013
  2. @pavolas

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

    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.
    pavolas committed Oct 26, 2013
  3. @MindaugasV
Commits on Oct 25, 2013
  1. @mattt
Something went wrong with that request. Please try again.