Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-10 | fix uninitialized dst_path_is_dir bool | Ryo Nakamura | |
2023-03-10 | now make install installs libmscp | Ryo Nakamura | |
2023-03-04 | fix dryrun handling on main.c | Ryo Nakamura | |
2023-03-04 | add doxygen for mscp.h | Ryo Nakamura | |
2023-03-04 | remove sigalrm. integrate print messages and progress bar | Ryo Nakamura | |
2023-03-04 | tiny fix for clang warning | Ryo Nakamura | |
2023-03-04 | use setitimer instead of alarm, and print message. | Ryo Nakamura | |
print_stat now prints messages per interval. ToDo: - realtime message printing - use timer_create instead of setitimer (mscOS has different one) | |||
2023-03-04 | compilable on ubuntu | Ryo Nakamura | |
2023-03-04 | accidentaly swap min_chunk_sz and max_chunk_sz... | Ryo Nakamura | |
2023-03-04 | remove pprint, use message (mpr_*) instead. | Ryo Nakamura | |
ToDo: main should use pipe to receive messages from libmscp. | |||
2023-03-03 | implementing messaging. | Ryo Nakamura | |
ToDo: remove pprint. mscp should use mpr_* functions, and main.c should use just fprintf(stdout, "\r\033[K" fmt, ...) for printing progress bar. | |||
2023-03-03 | add message.h and message.c, mscp_set|get_error() | Ryo Nakamura | |
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message. | |||
2023-03-03 | tiny cleanup | Ryo Nakamura | |
2023-03-03 | add mscp_get_stats | Ryo Nakamura | |
move progress bar-related functions from mscp.c to main.c. | |||
2023-03-03 | add mscp_ssh_opts and change -C optarg | Ryo Nakamura | |
2023-02-27 | remove test.c | Ryo Nakamura | |
2023-02-26 | add comments to mscp.h | Ryo Nakamura | |
2023-02-26 | tiny fix on comment | Ryo Nakamura | |
2023-02-26 | fix dst path resolve | Ryo Nakamura | |
2023-02-26 | now mscp links libmscp | Ryo Nakamura | |
2023-02-26 | set default params in mscp_init | Ryo Nakamura | |
2023-02-26 | have written mscp.c | Ryo Nakamura | |
2023-02-25 | add copy-related functions to path | Ryo Nakamura | |
2023-02-25 | start to impliment mscp as a library | Ryo Nakamura | |
this commit starts to refactor file.h|c to path.h|c and add mscp.c|h. not completed yet. | |||
2023-02-16 | add -r option (but no effect) | Ryo Nakamura | |
2023-02-16 | add \n at the final output | Ryo Nakamura | |
2023-01-05 | remove unnecessary pr_warn | Ryo Nakamura | |
2022-12-11 | set default nr_threads to floor(log(cores) * 2) + 1) | Ryo Nakamura | |
This change prevents mscp from establishing too many ssh connections on many-core machines in default. | |||
2022-12-11 | use pthread_cleanup to acquire and release lock | Ryo Nakamura | |
In chunk_prepare(), if multiple threads wait for acquiring f->lock, and then pthread_cancel() is called, the waiting threads are never canceled because pthread_mutex_lock() is not a cancellation point. So, use pthread_cleanup_push/pop to release the lock. | |||
2022-12-08 | set default NR_AHEAD to 32 | Ryo Nakamura | |
2022-12-06 | fix final progress output | Ryo Nakamura | |
2022-12-06 | add ssh_buffer_new_size and ssh_buffer_add_func to libssh | Ryo Nakamura | |
sftp_async_write() with these functions reduces 1. realloc_buffer by ssh_buffer_new_size() 2. memcpy from read data to ssh buffer by ssh_buffer_add_func() | |||
2022-12-05 | change prompt for ssh key passphrase | Ryo Nakamura | |
2022-12-05 | reuse ctrl sftp session for the first copy thread | Ryo Nakamura | |
2022-12-04 | set TCP_NODELAY by default and introduce -N option to disable it | Ryo Nakamura | |
2022-12-03 | remove unused code and introduce -b buf_sz option | Ryo Nakamura | |
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh. | |||
2022-12-02 | little cleanup | Ryo Nakamura | |
2022-12-02 | cache passphrase for private key for later connections. | Ryo Nakamura | |
2022-12-02 | add auth callback for input passphrase of privkey | Ryo Nakamura | |
2022-12-02 | add -M hmac option | Ryo Nakamura | |
2022-11-28 | use sigalrm for printing progress bar | Ryo Nakamura | |
2022-11-27 | add ETA to progress print | Ryo Nakamura | |
2022-11-27 | skip sftp_free() inappropriately | Ryo Nakamura | |
2022-11-27 | only the last thread changes dst file permission | Ryo Nakamura | |
2022-11-26 | fix duplicate error message on ssh auth failed. | Ryo Nakamura | |
and fix the final \n with -q | |||
2022-11-18 | add O_TRUNC when the first open() for a file | Ryo Nakamura | |
2022-11-18 | don't stop on macos whem -m coremask is set | Ryo Nakamura | |
2022-11-18 | remove pr_warn debug | Ryo Nakamura | |
2022-11-18 | fix type of id for sftp_async_write | Ryo Nakamura | |
2022-11-18 | fix when copy multiple sources and various tiny fixes | Ryo Nakamura | |
* when copying multiple sources, target must be directory * add multi-src copy test and parametrize src/dst prefixes * cleanup REAMDE (s/sessions/connections/g) * make error output in copy functions simple |