1. 18 Aug, 2011 1 commit
    • incorrectly charging the entire buffer size against the throttler
      rather than just the number of bytes actually read.
      
      For example, if you did a read with a 32KB buffer which only received
      300 bytes across the wire, the bandwidth Throttler would charge
      you for a full 32KB of bandwidth rather than the 300 bytes that
      were really used.  This was grossly overstating the bandwidth
      consumption to the throttler.
      Mike Belshe authored
  2. 07 Aug, 2011 2 commits
  3. 06 Aug, 2011 9 commits
  4. 02 Aug, 2011 2 commits
  5. 21 Jul, 2011 1 commit
  6. 19 Jul, 2011 1 commit
  7. 05 Jul, 2011 2 commits
  8. 03 Jul, 2011 1 commit
  9. 27 Jun, 2011 1 commit
  10. 17 Jun, 2011 1 commit
  11. 05 Jun, 2011 3 commits
  12. 04 Jun, 2011 4 commits
  13. 02 Jun, 2011 1 commit
    • If you start multiple ASIHTTPRequests from different threads at the same time, you could encounter a condiition where networkThread is being multiply initialized
      Florent Pillet authored
  14. 28 May, 2011 8 commits
  15. 19 May, 2011 1 commit
  16. 16 May, 2011 1 commit
  17. 15 May, 2011 1 commit
    • ASIDownloadCache will now store 301, 302, 303 and 307 redirect responses in the cache. Requests pulling from the cache will automatically redirect (assuming shouldRedirect is true) as if they'd received a Location header from the server.
      This change should allow the download cache to operate more effectively as an offline fallback when no internet connection is available.
      Additionally, requests encountering a 304 will no longer read from the cache and then write back to it. Instead, they merely update the expiry date (if an updated date was supplied).
      As part of this work, two new required methods were added to the ASICacheDelegate protocol, see ASICacheDelegate.h for more info
      Finally, ASIDownloadCache now stores the response status code in a custom header in the cached headers dictionary, and requests will have their response status code set to this when they are pulled from the cache.
      Ben Copsey authored