- 01 Feb, 2011 1 commit
-
-
Previously the loop terminated when the output buffer was not completely filled by the previous call. Most of the time this is correct, because if the output buffer was completely filled, there is probably more to come. However, in the situation that the output fits perfectly in the output buffer, the buffer will be completely filled, yet there is nothing left to process. In this case we would run through the loop again calling inflate() / deflate() which would return Z_BUF_ERROR. This would manifest itself as the request (needlessly) failing. Rather than this we should simply terminate the loop when there is no more input left to process. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Committer: Alex Deem <alexdeem@Alex-MacBook-Pro.local> # # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: Classes/ASIDataCompressor.m # modified: Classes/ASIDataDecompressor.m #
Alex Deem authored
-
- 22 Jan, 2011 1 commit
-
-
Ben Copsey authored
-
- 06 Jan, 2011 5 commits
-
-
…ting it back to UTF-8 Add tests for ASIWebPageRequest encoding Also, strip any gzip content-encoding header, since the parsed response will not be deflated (cache does this anyway, but we can't guarantee we'll have one)
Ben Copsey authored -
Cédric Luthi authored
-
Cédric Luthi authored
-
…ing ASIFallbackToCacheIfLoadFailsCachePolicy. If there is no cached data, the request will fail with an error. closes gh-118 - many thanks to Erik von Harten for catching this!
Ben Copsey authored
- 28 Dec, 2010 1 commit
-
-
Ben Copsey authored
-
- 21 Dec, 2010 1 commit
-
-
Ben Copsey authored
-
- 15 Dec, 2010 2 commits
-
-
Tweak tests that rely on invalid urls to make them work to make them more reliable
Ben Copsey authored
- 14 Dec, 2010 1 commit
-
-
Ben Copsey authored
-
- 13 Dec, 2010 2 commits
-
-
…te files larger than 256KB * Move requestFinished: back onto the request thread as running on the main thread caused breakage in subclasses (including S3) * Tweaks to ASIDataDecompressor to make it match the new behaviour of ASIDataCompressor * Improve tests for gzip
Ben Copsey authored
- 04 Dec, 2010 7 commits
-
-
Ben Copsey authored
-
Ben Copsey authored
-
Ben Copsey authored
-
…ginal, you got crap at the end of the file Many thanks to erudenko for the bug report! [#72 state:resolved]
Ben Copsey authored -
Ben Copsey authored
-
- 02 Dec, 2010 2 commits
-
-
Ben Copsey authored
- 01 Dec, 2010 2 commits
- 25 Nov, 2010 1 commit
- 23 Nov, 2010 2 commits
-
-
Ben Copsey authored
-
Ben Copsey authored
-
- 20 Nov, 2010 4 commits
-
-
Philippe Jayet authored
-
Jude Venn authored
- 17 Nov, 2010 1 commit
-
-
Clang doesn't like local variables or parameter names that conflict with instance property names. This problem occurs even in class methods (in addition to instance methods). Signed-off-by: Tim Shadel <github@timshadel.com>
Tim Shadel authored
-
- 13 Nov, 2010 4 commits
-
-
…ns that crash the compiler. Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
Zachary Waldowski authored -
Ben Copsey authored
-
Ben Copsey authored
-
- 10 Nov, 2010 3 commits
-
-
Also change urls from my local machine to the asi website Conflicts: Classes/ASIHTTPRequest.h Classes/ASIHTTPRequest.m iPhone Sample/QueueViewController.m iPhone Sample/SynchronousViewController.m iPhone Sample/UploadViewController.m
Ben Copsey authored
-