Commit Graph

327 Commits

Author SHA1 Message Date
Daniel Stenberg 983bf93a24 --form-string 2005-03-12 19:49:55 +00:00
Daniel Stenberg 2ab2e7675c configure, socks, debug, getdate 2005-03-09 23:35:14 +00:00
Daniel Stenberg 702664e959 Dominick Meglio reported that using CURLOPT_FILETIME when transferring a FTP
file got a Last-Modified: header written to the data stream, corrupting the
actual data. This was because some conditions from the previous FTP code was
not properly brought into the new FTP code. I fixed and I added test case 520
to verify. (This bug was introduced in 7.13.1)
2005-03-08 08:09:14 +00:00
Daniel Stenberg aa47ac4c06 Added test case 235 that makes a resumed upload of a file that isn't present
on the remote side. This then converts the operation to an ordinary STOR
upload. This was requested/pointed out by Ignacio Vazquez-Abrams.

It also proved (and I fixed) a bug in the newly rewritten ftp code (and
present in the 7.13.1 release) when trying to resume an upload and the servers
returns an error to the SIZE command. libcurl then loops and sends SIZE
commands infinitely.
2005-03-04 23:52:06 +00:00
Daniel Stenberg d221e01406 starting over 2005-03-04 14:09:04 +00:00
Daniel Stenberg 874fc8228a stand clear for release time 2005-03-04 13:41:46 +00:00
Daniel Stenberg 6f752c64bc Dave Dribin made it possible to set CURLOPT_COOKIEFILE to "" to activate
the cookie "engine" without having to provide an empty or non-existing file.
2005-03-04 00:26:50 +00:00
Daniel Stenberg 7012a4a291 Rene Rebe fixed a -# crash when more data than expected was retrieved. 2005-03-04 00:12:02 +00:00
Daniel Stenberg 40ab20a252 new VB binding 2005-03-03 23:27:09 +00:00
Daniel Stenberg 861b5e608b mention buffer overflows fixed 2005-03-03 13:13:21 +00:00
Daniel Stenberg 5ba188ab2d Ralph Mitchell reported a flaw when you used a proxy with auth, and you
requested data from a host and then followed a redirect to another
host. libcurl then didn't use the proxy-auth properly in the second request,
due to the host-only check for original host name wrongly being extended to
the proxy auth as well. Added test case 233 to verify the flaw and that the
fix removed the problem.
2005-02-18 23:53:07 +00:00
Daniel Stenberg eadfd78c2e socket leak, mingw build 2005-02-18 11:54:52 +00:00
Daniel Stenberg ac022b2e30 Christopher R. Palmer reported a problem with HTTP-POSTing using "anyauth"
that picks NTLM. Thanks to David Byron letting me test NTLM against his
servers, I could quickly repeat and fix the problem. It turned out to be:

When libcurl POSTs without knowing/using an authentication and it gets back a
list of types from which it picks NTLM, it needs to either continue sending
its data if it keeps the connection alive, or not send the data but close the
connection. Then do the first step in the NTLM auth. libcurl didn't send the
data nor close the connection but simply read the response-body and then sent
the first negotiation step. Which then failed miserably of course. The fixed
version forces a connection if there is more than 2000 bytes left to send.
2005-02-16 14:31:23 +00:00
Daniel Stenberg e7cefd684b Removed all uses of strftime() since it uses the localised version of the
week day names and month names and servers don't like that.
2005-02-11 00:03:49 +00:00
Daniel Stenberg d2485e4f20 valgrind stuff for test suite, vms build and more 2005-02-10 08:57:23 +00:00
Daniel Stenberg 0d9301539e and we start over again 2005-02-01 08:46:06 +00:00
Daniel Stenberg 4a9e12542d 7.13 coming up 2005-02-01 07:54:36 +00:00
Daniel Stenberg 064bc3ecbc Stephen More pointed out that CURLOPT_FTPPORT and the -P option didn't work
when built ipv6-enabled. I've now made a fix for it. Writing test cases for
custom port strings turned too tricky so unfortunately there's none.
2005-01-28 08:26:36 +00:00
Daniel Stenberg 177dbc7be0 Ian Ford asked about support for the FTP command ACCT, and I discovered it is
present in RFC959... so now (lib)curl supports it as well. --ftp-account and
CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account
string after PASS have been sent away. The client responds with "ACCT [account
string]".) Added test case 228 and 229 to verify the functionality. Updated
the test FTP server to support ACCT somewhat.
2005-01-25 22:13:12 +00:00
Daniel Stenberg fad6e5a5bc new web mirror 2005-01-25 13:59:48 +00:00
Daniel Stenberg 4f7e958969 two options less 2005-01-23 00:08:56 +00:00
Daniel Stenberg 7e42cb61f7 FTP third transfer support overhaul. See CHANGES for details. 2005-01-21 09:32:32 +00:00
Daniel Stenberg 7472ede32a Philippe Hameau found out that -Q "+[command]" didn't work, although some code
was written for it. I fixed and added test case 227 to verify it.  The curl.1
man page didn't mention the '+' so I added it.
2005-01-20 22:22:12 +00:00
Daniel Stenberg 01205f772c today's proxy fixes 2005-01-19 18:05:56 +00:00
Daniel Stenberg b1080f7c9a Cody Jones' enhanced version of Samuel Daz Garca's MSVC makefile patch. 2005-01-18 10:17:34 +00:00
Daniel Stenberg ae03fa7d8e mention the name-prefix protocol guess thing 2005-01-17 14:57:21 +00:00
Daniel Stenberg 0e26355348 Inspired by Martijn Koster's patch and example source at
http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the
select() and poll() calls properly loop if they return -1 and errno is
EINTR. glibc docs for this is found here:
http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html

This last link says BSD doesn't have this "effect". Will there be a problem
if we do this unconditionally?
S: ----------------------------------------------------------------------
2005-01-13 21:51:48 +00:00
Daniel Stenberg c5b2e85b47 Dan Torop cleaned up a few no longer used variables from David Phillips'
select() overhaul fix.
2005-01-11 20:22:44 +00:00
Daniel Stenberg 29102befa6 Cyrill Osterwalder posted a detailed analysis about a bug that occurs when
using a custom Host: header and curl fails to send a request on a re-used
persistent connection and thus creates a new connection and resends it. It
then sent two Host: headers. Cyrill's analysis was posted here:
http://curl.haxx.se/mail/archive-2005-01/0022.html
2005-01-11 14:00:45 +00:00
Daniel Stenberg 9d1145598a Bruce Mitchener identified (bug report #1099640) the never-ending SOCKS5
problem with the version byte and the check for bad versions. Bruce has lots
of clues on this, and based on his suggestion I've now removed the check of
that byte since it seems to be able to contain 1 or 5.
2005-01-10 23:32:14 +00:00
Daniel Stenberg 3ac00f32af edited wording 2005-01-10 11:27:02 +00:00
Daniel Stenberg 21bb852750 Pavel Orehov reported memory problems with the multi interface in bug report
#1098843. In short, a shared DNS cache was setup for a multi handle and when
the shared cache was deleted before the individual easy handles, the latter
cleanups caused read/writes to already freed memory.
2005-01-10 10:07:07 +00:00
Daniel Stenberg 83bab78bda Hzhijun reported a memory leak in the SSL certificate code, that leaked the
remote certificate name when it didn't match the used host name.
2005-01-10 09:48:39 +00:00
Daniel Stenberg 7b4bf6a22c three recent bug fixes 2005-01-07 21:14:57 +00:00
Daniel Stenberg 8127a34f98 recent events 2005-01-05 14:12:06 +00:00
Daniel Stenberg b7d92c3e03 --protocols, license, src/config.h.in 2004-12-25 22:30:31 +00:00
Daniel Stenberg 814d176b86 recent changes
and Merry Christmas!
2004-12-23 22:31:39 +00:00
Daniel Stenberg a142d419d2 and we start all over again 2004-12-20 12:51:14 +00:00
Daniel Stenberg c6f6e81238 clarified a few changes 2004-12-19 10:11:03 +00:00
Daniel Stenberg 8ad47a13e5 Samuel Listopad added support for PKCS12 formatted certificates. 2004-12-18 10:42:48 +00:00
Daniel Stenberg 26cfb21c00 several windows large-file fixes 2004-12-16 22:22:26 +00:00
Daniel Stenberg d3b414724b Dinar in bug report #1086121, found a file handle leak when a multipart
formpost (including a file upload part) was aborted before the whole file was
sent.
2004-12-16 09:52:36 +00:00
Daniel Stenberg 8847e61fca yet another mirror! 2004-12-15 14:09:52 +00:00
Daniel Stenberg d88b3d3d5d fixed how backslashes are treated in glob strings 2004-12-15 09:23:24 +00:00
Daniel Stenberg 0d0d5e7ee3 Harshal Pradhan fixed changing username/password on a persitent HTTP
connection.
2004-12-14 21:22:51 +00:00
Daniel Stenberg 1687a9eb94 large file file:// resumes on windows 2004-12-13 10:58:37 +00:00
Daniel Stenberg 9b3b7ad22e HTTP IPv6 support added to the test suite 2004-12-11 21:41:00 +00:00
Daniel Stenberg 6b7f6369ec username and IPv6 numerical address URL parser fix 2004-12-10 21:42:55 +00:00
Daniel Stenberg a7488672bf configure and curl-config fixes 2004-12-10 09:46:14 +00:00
Daniel Stenberg 80a324386b Rene Bernhardt found and fixed a buffer overrun in the NTLM code, where
libcurl always and unconditionally overwrote a stack-based array with 3 zero
bytes. I edited the fix to make it less likely to occur again (and added
a comment explaining the reason to the buffer size).
2004-12-07 23:09:41 +00:00
Daniel Stenberg ac269a8f68 Dan Fandrich added the --disable-cookies option to configure to build
libcurl without cookie support. This is mainly useful if you want to build a
minimalistic libcurl with no cookies support at all. Like for embedded
systems or similar.
2004-12-05 23:59:32 +00:00
Daniel Stenberg 35944744f8 Richard Atterer fixed libcurl's way of dealing with the EPSV
response. Previously, libcurl would re-resolve the host name with the new
port number and attempt to connect to that, while it should use the IP from
the control channel. This bug made it hard to EPSV from an FTP server with
multiple IP addresses!
2004-12-05 23:33:33 +00:00
Daniel Stenberg b7ff86fa2b credit where credit is due 2004-12-03 11:06:05 +00:00
Daniel Stenberg 2c27e4ee76 Bug report #1078066: when a chunked transfer was pre-maturely closed exactly
at a chunk boundary it was not considered an error and thus went unnoticed.
Added test case 207 to verify.
2004-12-03 09:31:25 +00:00
Daniel Stenberg 6bb215f56c recent changes 2004-11-30 10:21:25 +00:00
Daniel Stenberg 93aa22ea08 --disable-epsv when connecting to an IPv6 ftp server 2004-11-29 21:45:25 +00:00
Daniel Stenberg 4c8fbe9abf spell 2004-11-29 08:47:33 +00:00
Daniel Stenberg 9a0d5c4ed8 progress meter newline 2004-11-26 21:35:14 +00:00
Daniel Stenberg bf51f05a50 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.
2004-11-25 22:21:49 +00:00
Daniel Stenberg 3e1caa6185 HTTP "auth done right". See lib/README.httpauth 2004-11-24 16:11:35 +00:00
Daniel Stenberg 4afc4aed73 yet another binding 2004-11-23 09:22:23 +00:00
Daniel Stenberg 1a05a90f1c David Phillips' FD_SETSIZE fix 2004-11-19 08:52:33 +00:00
Daniel Stenberg 5931d43a36 clean up start time and t_startsingle use so that redirect_time works properly 2004-11-15 11:27:03 +00:00
Daniel Stenberg c1688733c1 recent fixes 2004-11-11 09:51:12 +00:00
Daniel Stenberg 0dc79376e7 with all external functions marked with CURL_EXTERN it is easy to count them
and... yes, they are 46!
2004-11-09 14:42:04 +00:00
Daniel Stenberg 1f2b042b95 today's work 2004-11-08 21:39:18 +00:00
Daniel Stenberg 6b49fd7483 Tim Sneddon's VMS fix for huge HTTP POSTs 2004-11-05 14:43:35 +00:00
Daniel Stenberg 40498ffdd0 update 2004-11-04 16:18:50 +00:00
Daniel Stenberg ab909fc4c2 recent changes 2004-11-02 21:46:27 +00:00
Daniel Stenberg f4bef25b5e CURLINFO_NUM_CONNECTS and more 2004-10-19 15:30:08 +00:00
Daniel Stenberg 48750d5fc7 start over on 7.12.3 2004-10-18 08:42:44 +00:00
Daniel Stenberg db4d0d307a new mirror 2004-10-17 07:48:00 +00:00
Daniel Stenberg 2baf22e184 today's changes 2004-10-16 14:07:31 +00:00
Daniel Stenberg e8f85cba0f Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name
and password fields properly in URLs, like
ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix.
2004-10-14 13:44:54 +00:00
Daniel Stenberg c98676068e .NET binding 2004-10-13 08:46:36 +00:00
Daniel Stenberg 3fa1879f6a recent fixes 2004-10-12 12:47:38 +00:00
Daniel Stenberg 253ff7b2ad Gisle's new fix, the old file:// leak 2004-10-07 12:17:53 +00:00
Daniel Stenberg 9a2aed7d7a Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled
CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if
the new URL would provide the resumed file. Test case 188 added to verify the
fix (together with existing test 99).
2004-10-06 13:37:12 +00:00
Daniel Stenberg 01acbfa1a5 updates of today 2004-10-06 09:04:20 +00:00
Daniel Stenberg 3d9fb701e2 recent fixes 2004-10-05 10:52:51 +00:00
Daniel Stenberg 6eb58549a9 closing in on release 2004-10-04 10:37:30 +00:00
Daniel Stenberg afc0dfb141 reflect the last few changes 2004-10-01 06:43:37 +00:00
Daniel Stenberg 2576ac1c76 Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakingly
enable the progress meter.
2004-09-28 22:26:47 +00:00
Daniel Stenberg 2f89f2311c recent stuff 2004-09-28 22:04:17 +00:00
Daniel Stenberg 595016d393 Dan Fandrich patched three tests 2004-09-22 18:23:14 +00:00
Daniel Stenberg 8420de971f Jean-Claude Chauve is a friend! 2004-09-22 12:54:41 +00:00
Daniel Stenberg 7676f40218 jean-claude Chauve fixed an LDAP bug 2004-09-22 08:01:41 +00:00
Daniel Stenberg 2b6f7ef2a9 the error message fix for failed connects 2004-09-19 14:30:16 +00:00
Daniel Stenberg 60fccf4e37 Location:-follow problem 2004-09-17 07:55:14 +00:00
Daniel Stenberg 8a8028394f one more option, one more friend 2004-09-16 22:10:15 +00:00
Daniel Stenberg 6a06667cc0 Added CURLOPT_FTPSSLAUTH 2004-09-16 21:45:16 +00:00
Daniel Stenberg 106695d45e the new date parser affects -z 2004-09-15 07:31:48 +00:00
Daniel Stenberg 4e0aee9408 mention more friends 2004-09-11 20:06:14 +00:00
Daniel Stenberg 0ec4c66fba fixed -F to support setting type= even on parts that aren't file-uploads 2004-09-10 21:47:52 +00:00
Daniel Stenberg 23d64e720d up to date with recent changes 2004-09-10 21:13:55 +00:00
Daniel Stenberg b08dc2cadb proxy connection close and so 2004-08-30 15:02:37 +00:00
Daniel Stenberg 24353c4372 getdate fix, adacurl release 2004-08-30 09:16:43 +00:00
Daniel Stenberg cd52b9f0da Alexander Krasnostavsky made the write callback get called even when a zero
byte file is downloaded.
2004-08-20 12:09:09 +00:00
Daniel Stenberg c8c47768c7 Ling Thio pointed out that getaddrinfo() reverse-lookups ip-only names, and
this is an attempt to prevent it from doing that. affects ipv6-enabled only.
2004-08-19 06:44:19 +00:00
Daniel Stenberg 847c91e568 recent fixes 2004-08-17 06:56:53 +00:00
Daniel Stenberg 49d0272627 and we're back on a clean notes sheet again 2004-08-10 08:56:12 +00:00
Daniel Stenberg da30242640 7.12.1 notes 2004-08-10 08:42:54 +00:00
Daniel Stenberg 5ddad4cdb3 version string, krb4 link fix, added number of web mirrors and libcurl bindings 2004-08-09 13:13:10 +00:00
Daniel Stenberg 1dfff2487f new web mirror 2004-08-06 17:44:59 +00:00
Daniel Stenberg 4ff9cd39c5 negotiate fix and new glib/GTK+ binding 2004-08-05 18:55:51 +00:00
Daniel Stenberg 6b5a04cf83 multi-connect fix and cookie domain fix 2004-08-04 13:12:00 +00:00
Daniel Stenberg 5e1eb58e5a borland is already mentioned 2004-07-31 20:47:04 +00:00
Daniel Stenberg f2e35fad27 digest fix 2004-07-31 19:23:57 +00:00
Daniel Stenberg 43ae26f146 fixes! 2004-07-28 22:00:14 +00:00
Daniel Stenberg 33f42aacca recent activities 2004-07-22 22:20:07 +00:00
Daniel Stenberg cbfc737d79 recent activities 2004-07-15 09:03:32 +00:00
Daniel Stenberg 2046a6b9e5 curl_share_cleanup fix 2004-07-02 11:27:06 +00:00
Daniel Stenberg 6df3bf3644 --trace fix 2004-07-01 12:37:55 +00:00
Daniel Stenberg 3523613826 wxcurldav 2004-06-30 10:47:14 +00:00
Daniel Stenberg 03f8ec89db multi interface connect fix 2004-06-29 11:27:33 +00:00
Daniel Stenberg a913e93667 --limit-rate problems on Mac OS X was reported by Rob Stanzel 2004-06-28 07:08:09 +00:00
Daniel Stenberg 9729df1756 socks proxy support even when libcurl is built ipv6-enabled 2004-06-24 08:59:54 +00:00
Daniel Stenberg 1c10272e15 cookie size 2004-06-22 21:22:42 +00:00
Daniel Stenberg bc80599178 read callback return code and fixed the pycurl url 2004-06-21 14:20:34 +00:00
Daniel Stenberg f8188ddfee recent events 2004-06-21 10:56:33 +00:00
Daniel Stenberg 713effb6e4 large file FTP upload bug 2004-06-17 08:07:24 +00:00
Daniel Stenberg 557e95c0a3 post with auth problems fixed 2004-06-15 11:04:21 +00:00
Daniel Stenberg a79b9e9d4a recent action 2004-06-14 08:54:59 +00:00
Daniel Stenberg 23fbb89805 recent changes 2004-06-09 07:01:48 +00:00
Daniel Stenberg 7c3ee84295 updates 2004-06-03 14:41:44 +00:00
Daniel Stenberg ff40cd71ac and we start all over again 2004-06-02 11:31:36 +00:00
Daniel Stenberg 67ad29e716 more changes 2004-06-02 08:57:43 +00:00
Daniel Stenberg 1de1dc7314 minor edits 2004-05-28 11:16:09 +00:00
Daniel Stenberg f99e347878 bugs, changes, sponsors! 2004-05-26 09:23:11 +00:00
Daniel Stenberg 0fbcea45d6 cert verify 2004-05-19 11:10:36 +00:00
Daniel Stenberg 3920b4dae8 torture testing and a moved CVS repo 2004-05-17 10:39:44 +00:00
Daniel Stenberg a13f5888d5 they're at least 36 functions now 2004-05-11 14:21:34 +00:00
Daniel Stenberg bbafb2eb27 curl_global_init_mem() allows the memory functions to be replaced.
memory.h is included everywhere for this.
2004-05-11 11:30:23 +00:00
Daniel Stenberg 724e4a3585 more changes, more news, more people 2004-05-11 08:10:15 +00:00
Daniel Stenberg d56c03840b little fixes 2004-05-06 15:11:16 +00:00
Daniel Stenberg 2960d37d71 removed curl_formparse() from the library 2004-05-04 08:24:13 +00:00
Daniel Stenberg fc6eff13b5 General HTTP authentication cleanup and fixes 2004-05-04 07:52:53 +00:00
Daniel Stenberg f77949ef3b recent changes 2004-04-30 08:52:11 +00:00
Daniel Stenberg 97769737d0 we released yesterday, we have heaps of new stuff today! :-) 2004-04-27 14:22:40 +00:00
Daniel Stenberg f39b081253 start all over again 2004-04-26 07:03:51 +00:00
Daniel Stenberg 2ddbf8975a disable-manual 2004-04-25 08:19:55 +00:00
Daniel Stenberg e202a29a9a removed a memory leak when doing a windows threaded resolve and it failed 2004-04-23 14:10:29 +00:00
Daniel Stenberg a1c8aaf666 o --proxy-ntlm now checks if libcurl supports NTLM before using it
o minor --fail with authentication bugfix
2004-04-23 08:50:28 +00:00
Daniel Stenberg 26a5ec9aa0 danish mirror 2004-04-22 08:54:34 +00:00
Daniel Stenberg b7a7600465 Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
length limit of the hostname part of the URL.
2004-04-20 07:53:24 +00:00
Daniel Stenberg 4f84e6d9e2 removed the fixed dir depth limit in the FTP code 2004-04-15 07:52:39 +00:00
Daniel Stenberg 6f08903f07 two ipresolve fixes 2004-04-14 12:13:32 +00:00
Daniel Stenberg 804534fbc9 spell fixes 2004-04-13 11:03:02 +00:00
Daniel Stenberg 1bc6532c16 more news 2004-04-13 10:58:44 +00:00
Daniel Stenberg 72b1144b8c getting only a 100 Continue response and nothing else, when talking HTTP,
is now treated as an error by libcurl
2004-04-07 14:27:54 +00:00