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

twitter / CocoaSPDY / 349 / 1
80%
master: %

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 11 Dec 2015 08:11PM UTC
Files 90
Run time 2s
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

11 Dec 2015 08:08PM UTC coverage: 79.473% (+1.0%) from 78.474%
349.1

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.

3651 of 4594 relevant lines covered (79.47%)

86.83 hits per line

Source Files on job 349.1
  • Tree
  • List 0
  • Changed 16
  • Source Changed 4
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 349
  • Travis Job 349.1
  • 2a2c2f80 on github
  • Prev Job for on feature/nsurlcache (#344.1)
  • Next Job for on feature/nsurlcache (#352.1)
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