Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Releases: twitter-archive/CocoaSPDY

CocoaSPDY v1.2

19 May 19:32
Compare
Choose a tag to compare

Improved metadata and critical session bug fixes

This release fixes 2 critical bugs in SPDYSessionManager that were released in v1.1. They fix a potential infinite loop of creating connections when starting the app on cellular, and another when an already-established connection terminates.

In addition to several minor internal fixes, there are two that impact the public API:

SPDYMetadata has been substantially expanded to include detailed stream timings. It is also now exposed via a concrete class implementation rather than a dictionary with documented keys. The dictionary-based version has been removed and is a breaking change for any consumers.

If the app is using NSURLSession instead of NSURLConnection, then it should implement the new SPDYURLSessionDelegate in order to better integrate with the configuration and queues provided by NSURLSession. This is especially true if custom cookie behavior is desired. In addition, by implementing this delegate, access to SPDYContext is provided, which provides a more definitive means of retrieving the metadata.

Changes included in v1.1:

Bugfix and feature release. Roll-up of all changes since last release.

New features:

  • richer request metadata
  • metadata for failed requests
  • new request dispatch mechanism
  • support for NSAsserts and better app control
  • origin aliasing
  • logging with runtime levels
  • HTTP proxy support

Bug fixes and improvements:

  • fix memory access crash by retaining buffers
  • fix deadlock when reachability changes
  • fix redirect behavior for WebViews
  • fix header encoding buffer overrun
  • timer hardening
  • dispatch queue improvements
  • request canonicalization
  • add default headers to match NSURL
  • improved build targets
  • refactor stream/session management
  • more unit tests, increasing code coverage above 70%
  • general code and test cleanup/refactor
  • other minor bug fixes and enhancements

CocoaSPDY v1.0.2

27 Jun 19:33
Compare
Choose a tag to compare

Bugfix release.

  • url encode :path header
  • prevent closed sessions from being selected by the session manager
  • add session-initial ping
  • add protocol bypass property and header
  • add configurable (and experimental) session parallelism
  • slightly improve write throughput
  • add option to set TCP_NODELAY on socket
  • add configurable connection timeout
  • disable sending SETTINGS_MINOR_VERSION by default
  • check name/value pairs strictly in frame decoder

CocoaSPDY v1.0.1

02 Apr 04:21
Compare
Choose a tag to compare

Bugfix release.

  • allow reuse of the initial session
  • add dynamic scaling of the write stream buffer
  • guard against arbitrarily large window sizes
  • fix data pollution of uncompressed responses
  • use separate session pools for cellular connections
  • skip callback for zero length data frames
  • fix memory leak in SSL trust check

CocoaSPDY v1.0.0

19 Dec 02:40
Compare
Choose a tag to compare

Open source release of SPDY/3.1 Framework for iOS and OS X.