Is there any chance that libuv will never invoke callback for uv_write 
(which writes to socket and returns 0 so successful) ? 


[Background: In my server code I do uv_write and increase a counter by 
number of bytes written. And in the callback I decrease the counter. 
Thus I make sure I do uv_write only when counter is less than certain value 
(e.g. 1 mega bytes). This avoids overflows.
But sometime I observed, I never receive callback despite that uv_write was 
successful.
Unfortunately I am not able to narrow it down to exactly what causing it to 
happen (e.g. when uv_write was success but receiver terminated abruptly 
thereafter... but its just a wild guess)]

Tnx,
Ashish

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