acid-state/acid-state — pull request #12 by veprbl (2013-09-09 05:21:21+00:00)
Title: do not proceed with parsing after ccGetSome retuns empty ByteString

This patch is intended to fix #11. The motivation for the change
is that underlying implementation for ccGetSome is a recv/read call
which should return empty result only in case of exception. Last
assumption may not hold for arbitrary ccGetSome implementation.