twitter-archive / CocoaSPDY

SPDY for iOS and OS X
Apache License 2.0
2.39k stars 233 forks source link

Fast fail requests when no sessions available #117

Closed kgoodier closed 9 years ago

kgoodier commented 9 years ago

When there are pending streams waiting to be dispatched, and all sessions in the pool end up failing to connect, then we should fail the pending streams. There was a bug there where those streams would sit in the queue indefinitely, until they either timed out or another stream was enqueued (forcing a dispatch).

Also add some more metadata.