twitter-archive / CocoaSPDY

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

Extra checks around socket read/write operations. #74

Closed kgoodier closed 9 years ago

kgoodier commented 9 years ago

Protect against 0-byte reads and writes. Protect against unusual behavior of the CFStream apis around returning 0 bytes read/written.

NSProgrammer commented 9 years ago

Are we not any "status" checks to the code like Apple recommends?