summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer-network.c
AgeCommit message (Collapse)Author
2024-01-01core: update copyright datesSébastien Helleu
2023-11-01core, plugins: set error to NULL before calling strtol()Sébastien Helleu
This is not strictly necessary, just in case the function strtol() doesn't update the pointer.
2023-10-22core: add number of processes in command `/sys waitpid`Sébastien Helleu
2023-10-10core: fix zombie processes remaining after the end of forked processes ↵Sébastien Helleu
(closes #1994) The clean of processes with waitpid() is now delayed after the kill(), so that there are no more zombies. In addition, this can be done manually if needed with `/sys waitpid`.
2023-09-14xfer: fix crash on `/dcc chat`Sébastien Helleu
2023-09-08xfer: display an error message when opening file for read or write fails ↵Sébastien Helleu
(issue #2010)
2023-09-06xfer: add passive DCC support.Mario Campos
This commit also includes support for passive DCC RESUME. There was also a potential segfault with calling `atoi(pos_token)` when `pos_token` is NULL, so `token` is set to be stored as a string. Although it is an integer, we don't need to store it as such. That's really more of an implementation detail.
2023-09-06xfer: add and identify active/passive xfer types.Mario Campos
Before making any significant changes, let's identify the existing xfer types by either active or passive.
2023-08-18xfer: fix conversion of string to IPv4 on 32-bit systems (issue #1999)Sébastien Helleu
2023-01-01core: update copyright datesSébastien Helleu
2022-09-09xfer: use larger buffer for IP addressSébastien Helleu
This removes a gcc warning about a too small buffer.
2022-09-03xfer: fix DCC file receive on Termux (closes #1811)Sébastien Helleu
This fixes such error displayed on Termux when receiving a DCC file: xfer: invalid address "96747949": error 8 hostname nor servname provided, or not known
2022-01-17core: update copyright datesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-10-05xfer: add option xfer.file.download_temporary_suffix with default value ↵Sébastien Helleu
".part" (closes #1237)
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-12-13core, xfer: display more information on fork errors (issue #573)Sébastien Helleu
2016-05-27core, irc, xfer: display more information in memory allocation errors (issue ↵Sébastien Helleu
#573)
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-01-01core: update copyright datesSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-11-09xfer: fix code styleSébastien Helleu
2014-08-19xfer: Use hook_connect() for receiving chatsAndrew Potter
fixes #160
2014-04-13xfer: fix freeze/problems when sending empty files with DCC (closes #53)Sébastien Helleu
2014-03-13xfer: Fix segfault in DCC send.Andrew Potter
This was broken before the previous change, since remote_address was just a zero'd out struct.
2014-01-09xfer: add support of IPv6 for DCC chat/file (patch #7992)Andrew Potter
2014-01-06xfer: add option xfer.file.auto_check_crc32 (patch #7963)Sebastien Helleu
Thanks to Andrew Potter for the patch.
2014-01-01core: update copyright datesSebastien Helleu
2013-05-22xfer: fix compilation warningsSebastien Helleu
2013-02-26xfer: fix freeze of DCC file received: use non-blocking socket after ↵Sebastien Helleu
connection to sender and ensure the ACK is properly sent (bug #38340)
2013-01-24core: display error number and string in some network errorsSebastien Helleu
Error number and string is now displayed when an error is returned by one of these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-11-27xfer: display remote IP address for DCC chat/file (task #12289) (patch from ↵Sebastien Helleu
Nils Görs)
2012-06-01xfer: set O_NONBLOCK flag on socket using flags readSebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-09-22core: remove compilation warnings about unused return values of functionsSebastien Helleu
2011-05-01xfer: remove unused variableSebastien Helleu
2011-01-01Update copyright datesSebastien Helleu
2010-11-12Remove obsolete comments in xfer pluginSebastien Helleu
2010-11-10Fix dcc file transfer for large files (more than 4 GB) on 32-bit systems ↵Sebastien Helleu
(bug #31531) This commit fixes another bug when file is sent: sometimes transfer was still active although file was successfully sent.
2010-06-22Update licenses and copyrights, add missing author names in sourcesSebastien Helleu
2010-04-08Reformat and add comments for description of C sourcesSebastien Helleu
2010-01-24Remove evil tabs in sourcesSebastien Helleu