• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

twitter / CocoaSPDY / 349
80%
master: %

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 11 Dec 2015 08:11PM UTC
Jobs 1
Files 90
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
349

push

travis-ci

kgoodier
Workaround for caching with iOS 8 and NSURLSession.

Observationally, we've seen the NSURL loading system fail to insert
items into the NSURLCache when using NSURLSession and iOS 7/8.
NSURLConnection works fine on all these, and NSURLSession works fine on
iOS 9. Best guess is there's a bug in the NSURLProtocol implementation
that fails to insert into the cache.

So, here we are creating a workaround for that specific case. CocoaSPDY
will buffer the data internally, up to a certain size limit based on the
cache size, and will manually insert into the cache when the response is
done. This could potentially be expanded in the future for unclaimed,
finished push responses, but for now those are excluded.

This change also adds a few additional caching-related unit tests.

64 of 64 new or added lines in 2 files covered. (100.0%)

3651 of 4594 relevant lines covered (79.47%)

86.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
100.0
SPDY/SPDYStream.m
Jobs
ID Job ID Ran Files Coverage
1 349.1 11 Dec 2015 08:11PM UTC 0
79.47
Travis Job 349.1
Source Files on build 349
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #349
  • 2a2c2f80 on github
  • Prev Build on feature/nsurlcache (#344)
  • Next Build on feature/nsurlcache (#352)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc