History log of /curl/lib/vssh/curl_path.c (Results 1 – 2 of 2)
Revision Date Author Comments
# 083b4ab6 13-Oct-2024 Daniel Stenberg

libssh2: put the readdir buffers into struct

... instead of separate malloc() calls:

- removes two mallocs (and associated error handling paths)
- makes cleanup easier

libssh2: put the readdir buffers into struct

... instead of separate malloc() calls:

- removes two mallocs (and associated error handling paths)
- makes cleanup easier

Also reduce maximum SFTP file path lengths to 1024 bytes universally
everywhere. Using the system's own MAX_PATH did not make sense since
this is mostly about getting a remote file name.

Closes #15285

show more ...


# eb77297c 13-Oct-2024 Daniel Stenberg

lib: move curl_path.[ch] into vssh/

As this contains code only used by SSH backends.

Closes #15284