Hi, I've realized that if, when reading TCP data, I pass a set a small
buffer (for example 4 bytes) during the uv_alloc_cb, and the data
received is much longer, then I receive multiple calls to uv_alloc_cb
(and of course, so many calls to uv_read_cb).

Is this the expected behavior? or does it just happen when parsing
from a stream? would the same happen in UDP?

Thanks.

-- 
Iñaki Baz Castillo
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to