From bf51f05a50a63ade21316a18d2bf1801767ab234 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 25 Nov 2004 22:21:49 +0000 Subject: FTP improvements: If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on the same server again even if a following request is made using a persistent connection. If a second request is made to a server, requesting a file from the same directory as the previous request operated on, libcurl will no longer make that long series of CWD commands just to end up on the same spot. Note that this is only for *exactly* the same dir. There is still room for improvements to optimize the CWD-sending when the dirs are only slightly different. Added test 210, 211 and 212 to verify these changes. Had to improve the test script too and added a new primitive to the test file format. --- tests/FILEFORMAT | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/FILEFORMAT') diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index a3b8a5511..b65b6b2ca 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -86,6 +86,7 @@ netrc_debug large_file idn getrlimit +ipv6 @@ -165,6 +166,10 @@ One regex per line that is removed from the protocol dumps before the comparison is made. This is very useful to remove dependencies on dynamicly changing protocol data such as port numbers or user-agent strings. + +One perl op per line that operates on the protocol dump. This is pretty +advanced. Example: "s/^EPRT .*/EPRT stripped/" + the protocol dump curl should transmit, if 'nonewline' is set, we will cut off the trailing newline of this given data before comparing with the one -- cgit v1.2.3