42
I Use This!
Moderate Activity

Commits : Listings

Analyzed about 7 hours ago. based on code collected about 19 hours ago.
Feb 21, 2025 — Feb 21, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
clarified a comment More... over 16 years ago
slighty better behavior and comments More... over 16 years ago
remove include since we don't use struct iovec in this file More... over 16 years ago
These examples no longer need to explictly set the socket to non-blocking state as libssh2 itself will always do that by itself. More... over 16 years ago
add myself as copyright owner More... over 16 years ago
mention conversion of code to the new linked list code More... over 16 years ago
remove #if 0'ed code More... over 16 years ago
clarify the fix, as it wasn't a leak More... over 16 years ago
spell fix a comment More... over 16 years ago
Added some clarifying comments on how the 'sftpInit_sftp' and 'sftpInit_channel' struct fields within the session struct are used. And made sure to clear them both correctly when sftp_init() returns instead of at shutdown time, as it must not touch them at shutdown time. This should make it possible to properly make more than one SFTP handle. More... over 16 years ago
no need for LIBSSH2_ERROR_MEMORY when LIBSSH2_ERROR_ALLOC already exist! added my own copyright line too now More... over 16 years ago
use LIBSSH2_ERROR_ALLOC instead of introducing a new error code More... over 16 years ago
clear session->sftpInit_sftp unconditionally More... over 16 years ago
Fix my recent session->sftpInit_sftp fix which wasn't correct. The memory area does not need to be freed (it already gets freed) but clearing the pointer is a good idea. And it should be done _after_ the channel_free() call. More... over 16 years ago
add an assert to help debugging More... over 16 years ago
Without CVS we must not use cvs tools to generate the changelog. I'm not confident enough with git to attempt to make one so I'll just make a dummy for now. More... almost 17 years ago
- Anonymous bug report #2795816 revealed that libssh2_sftp_shutdown() did not properly free/cleanup the SFTP handle so libssh2 leaked memory and caused an assert() on subsequent libssh2_sftp_init() calls on the same session. More... almost 17 years ago
Fix _libssh2_channel_write(): fixed the write loop to also read from the transport layer better, to avoid draining the window size when sending large packets. I also fixed the return code for it to return the number of bytes handled in this single invoke (and not the cumulative amount). More... almost 17 years ago
First, only try to send max packet size *4 to channel write, as trying to send much larger packages only cause internal problems and much larger allocations. More... almost 17 years ago
If recv() returns something less than the full buffer we know we're done for now, so skip looping and doing another read that then simply will cause an EAGAIN as it may trick the user into believing things that aren't true. More... almost 17 years ago
remove the old style as it makes little sense to mention here anymore
Daniel Stenberg
as daniel
More... almost 17 years ago
typo More... almost 17 years ago
comment typo and some indent fixes More... almost 17 years ago
Partial fix based on the patch and discussions in #2788319 More... almost 17 years ago
clear the passed in struct when the entry has been removed to help prevent mistakes due to re-use More... almost 17 years ago
use a better example file name for the known_hosts file More... almost 17 years ago
split out the knownhost code from hostkey.c into its own separate source file now: knownhost.c More... almost 17 years ago
this was never supposed to be added for real More... almost 17 years ago
My knownhost work as of right now. It works at least partly. More tests and tweaks will come. More... almost 17 years ago
get host, user, password and command from the command line More... almost 17 years ago