mirror of
https://github.com/curl/curl.git
synced 2026-07-28 08:23:06 +03:00
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:
parent
79eb66f2a6
commit
b9e3ea4edb
6 changed files with 99 additions and 80 deletions
|
|
@ -65,9 +65,6 @@ EPSV
|
|||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
CWD /
|
||||
CWD fully_simulated
|
||||
CWD DOS
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
|
|
|
|||
|
|
@ -189,5 +189,8 @@ SIZE %TESTNUMBER
|
|||
RETR %TESTNUMBER
|
||||
QUIT
|
||||
</protocol>
|
||||
<limits>
|
||||
Allocations: 170
|
||||
</limits>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -62,9 +62,6 @@ EPSV
|
|||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
CWD /
|
||||
CWD fully_simulated
|
||||
CWD UNIX
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
|
|
|
|||
|
|
@ -60,9 +60,6 @@ EPSV
|
|||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
CWD /
|
||||
CWD fully_simulated
|
||||
CWD UNIX
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue