artifacts / AFCache

AFCache is an HTTP cache for iOS and OSX seeking towards full RFC2616 compliance
Apache License 2.0
361 stars 43 forks source link

Podspec update and bug fix for synchronous load #19

Closed EliSchleifer closed 10 years ago

EliSchleifer commented 10 years ago

Mark podspec to include libz so users don't have to manually fix this up

EliSchleifer commented 10 years ago

Added some additional code to fix the synchronous code path

EliSchleifer commented 10 years ago

Actually upon further investigation this approach will not work since the RunLoop of the main thread will be blocked. Unfortunately a run loop is needed for async NSURLConnection to work. I would just recommend yanking these interfaces because they are not really working. The alternative would be to own a separate thread with a run loop and perform all synchronous work there...not worth the overhead really