Stream status should be checked against NSStreamStatusError not NSStreamEventErrorOccurred at ASIDataCompressor.m:190