http://bugs.winehq.org/show_bug.cgi?id=9777
--- Comment #20 from Damjan Jovanovic damjan.jov@gmail.com 2008-07-27 14:28:23 --- Created an attachment (id=15103) --> (http://bugs.winehq.org/attachment.cgi?id=15103) Improve FD_WRITE triggering
Well reading the eMule code better reveals that the software makes the assumption that all short sends imply a full send buffer, and thus imply a future FD_WRITE event. I think things are different on wine, and it's possible to get a short write without the send buffer being full and thus never get a FD_WRITE event expected in the future.
Changing FD_WRITE to be enabled on both EWOULDBLOCK and short sends, as opposed to the current way of enabling it on every single send, appears not to regress eMule's web interface.
Could you please try this patch and see if it improves Silencer as well?