@@ -71,7 +71,7 @@ public:
if(bytes < 0) {
markError();
break;
- } else if(bytes == 0) {
+ } else if(bytes == 0 || c < 0) {
}