diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-02-26 21:43:39 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-02-26 21:43:39 +0100 |
commit | e890ac0a81dba1ad9810249eb89ead63b9e53c1f (patch) | |
tree | f9c604c6409245edc651cd0970877c07536c8149 /src/plugins/xfer/xfer-network.c | |
parent | 0e641e0c45607dffd7bd4c7a9961646ea8f92392 (diff) | |
download | weechat-e890ac0a81dba1ad9810249eb89ead63b9e53c1f.zip |
xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340)
Diffstat (limited to 'src/plugins/xfer/xfer-network.c')
-rw-r--r-- | src/plugins/xfer/xfer-network.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/xfer/xfer-network.c b/src/plugins/xfer/xfer-network.c index 754e0b319..8aea10180 100644 --- a/src/plugins/xfer/xfer-network.c +++ b/src/plugins/xfer/xfer-network.c @@ -146,6 +146,11 @@ xfer_network_child_read_cb (void *arg_xfer, int fd) _("%s%s: unable to write local file"), weechat_prefix ("error"), XFER_PLUGIN_NAME); break; + case XFER_ERROR_SEND_ACK: + weechat_printf (NULL, + _("%s%s: unable to send ACK to sender"), + weechat_prefix ("error"), XFER_PLUGIN_NAME); + break; } /* read new DCC status */ |