ftp: store dir components as start+len instead of memdup'ing

- Avoids allocating every path segment separately
- Improved directory handling in connection reuse

Closes #18312
This commit is contained in:
Daniel Stenberg 2025-08-18 14:52:13 +02:00
parent 79eb66f2a6
commit b9e3ea4edb
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 99 additions and 80 deletions

View file

@ -62,9 +62,6 @@ EPSV
RETR file.txt
EPSV
RETR someothertext.txt
CWD /
CWD fully_simulated
CWD UNIX
EPSV
TYPE A
LIST