I'm trying to  send around 170k data by calling uv_write but got EFAULT 
error randomly.

tcpdump the outgoing packages I found when this error occur, the last part 
of the data was not sent at all.

When successfully transferred, the 170k data was split into 11 packets, 16k 
x 10 plus one packet around 10k and correctly sent.

However when error occur, the last 10k packet was not sent and I can only 
capture the first 10 packets.

I'm using libuv 0.11.15-pre as my tcp server's network layer and I knew 
there may be many other clues that I missed while stating this issue.

I wonder in what case that uv_write will fail and return EFAULT. I allocate 
the buffer by using uv_buf_init.

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