-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/17/2014 11:08 AM, Ashish wrote: > > > On Thursday, July 17, 2014 2:01:29 PM UTC+5:30, Iñaki Baz Castillo > wrote: > > 2014-07-17 10:28 GMT+02:00 Ashish <[email protected] > <javascript:>>: >> I was referring to req->queued_bytes which we get in uv_write_cb > > That is not public API at all, why are you using it? > > Anyhow, since it is not public API I don't know what it is supposed > to mean but, wouldn't make sense that req->queued_bytes indicates > the total size of the data being sent by that write request so it > should never become 0 or decrease? > > > Well, it was confusion at my end. I just had got little confused > by Saúl's first reply: "You can check the number of queued bytes in > the write callbacks" made me to think he is referring to > req->queued_bytes.
Sorry about that! req->queued_bytes just contains the length of the write buffers, which then get substracted from stream->write_queue_size, which is the field I originally intended to tell you to look at :-) - -- Saúl Ibarra Corretgé bettercallsaghul.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBAgAGBQJTx5MHAAoJEEEOVVOum8BZ80cP/Rvl3YQ2Al0Ry09659bP2F7K x01pdGuHyb/nWclhNQAMbVqvJ43ATBHWUobDj5SAwuxhaVYNXDH5q+7nzxtFpcGI YYzcCeSFzS5W+SYWK2j0Ayp7bZFNuzJbeqN2fmQPULpQZMHpyTfeSjhzcnpO0BQ0 c4mZ0XlXMWCexA15/nX8eMBjjDYwI2tch0idcI6iH1e+8uQVbpY4o/bhicv2evsy xZf+Iw/TMwLO9+ovWuuqIUipS2d0ZUC0FKDmoTKuinrmBK/ylVdWKC+dnuTp3V3T /cJj8s2SksqnfM7bhMQA3OGeb4NEg2ht7Q5Mxn+7ty3/qbMgV+p5VZPHtSNigEF0 BO+ei5uZN/+Up5/+8Gc6/suyTa40uanYPgWYTXS8hTfyl0WgCvKaX7HaKbA8L/zl 3JUzZHnW4ejnS+DSZ3J+5OiPZ9sWrF02fpe1F6LRpicdGpj+Zd4tSYyShD2EvM9b KG2ecssl0jaaOmVu2GV5jnadH83BkwzscRxUWeef4WjhVMM2MJCQxhVB9BeeIBdR hZVFRZOYPtIdMcix3SBu9MFskI19yYohFxQjRLZ7W7CdgZzk1tVEz2lVmrWIcNIz qzE3vY5URuBsDQ4XF0wa3ZYPP3pZ3t5KG89n0qU5Qfn7dVTt/pQ9zTfV3djd6eW4 h8UmpRdUr2dl6LgUmyE8 =IyxR -----END PGP SIGNATURE----- -- 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.
