On Thu, Jan 29, 2015 at 8:31 PM, Frank <[email protected]> wrote:
> The docs for uv_read_start() say:
> "When nread < 0, the buf parameter might not point to a valid buffer; in
> that case buf.len and buf.base are both set to 0."
>
> This sounds to me that despite if there's an error (nread < 0) signaled
> to the read_cb buf.base may very well point to a buffer.  (Which we
> then need to dispose of).
>
> Do I interpret that paragraph correctly?

You did, that's correct.

-- 
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