bugWeeChat - Bugs: bug #37432, xfer plugin doesn't follow recv...


bug #37432: xfer plugin doesn't follow recv manpage recommendation when checking errno

Submitted by:  None
Submitted on:  Sun 23 Sep 2012 09:00:40 PM UTC  
Category:  xfer plugin Severity:  3 - Normal
Item Group:  other Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  0.3.8
IRC nick: 

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 23 Sep 2012 09:00:40 PM UTC, original submission:  

For file plugins/xfer/xfer-dcc.c:

<                     ((num_read != -1) || (errno != EAGAIN)))

>                     ((num_read != -1) || ((errno != EAGAIN) && (errno != EWOULDBLOCK))))

<                     if (errno == EAGAIN)

>                     if ((errno == EAGAIN)  || (errno == EWOULDBLOCK))

<             if ((errno == EAGAIN) || (errno == EINTR))

>             if ((errno == EAGAIN) || (errno == EWOULDBLOCK) || (errno == EINTR))

I guess it is the reason some xfer transfers fail with an XFER_ERROR_RECV_BLOCK, even though there should be no reason to fail.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Open/ClosedOpen => Closed
    2012-09-24 flashcode StatusNone => Fixed
        Assigned toNone => flashcode
        Release3.3-dev => 0.3.8

    Back to the top

    Powered by Savane 3.7