char *val;
buf = ustream_get_read_buf(s, &len);
+ if (!buf || !len)
+ break;
+
newline = strchr(buf, '\n');
if (!newline)
break;
}
buf = ustream_get_read_buf(s, &len);
+ if (!buf || !len)
+ return;
+
uh_chunk_write(cl, buf, len);
ustream_consume(s, len);
}