platform/upstream/curl.git
22 years agoChanged the PORT command to pick a better default IP address if "-" is used.
Daniel Stenberg [Thu, 1 Aug 2002 14:25:12 +0000 (14:25 +0000)]
Changed the PORT command to pick a better default IP address if "-" is used.
It now uses the local IP adress of the control connection.

22 years agosys/socket.h without #ifdef
Daniel Stenberg [Wed, 31 Jul 2002 23:18:27 +0000 (23:18 +0000)]
sys/socket.h without #ifdef
include sys/time.h as well

22 years agospell fix and --limit-rate added
Daniel Stenberg [Wed, 31 Jul 2002 08:24:58 +0000 (08:24 +0000)]
spell fix and --limit-rate added

22 years agoWhen CURLINFO_CONTENT_TYPE returns a NULL pointer, don't try to fputs() it!
Daniel Stenberg [Tue, 30 Jul 2002 11:07:59 +0000 (11:07 +0000)]
When CURLINFO_CONTENT_TYPE returns a NULL pointer, don't try to fputs() it!

22 years agocheck for sys/poll.h
Daniel Stenberg [Mon, 29 Jul 2002 23:00:16 +0000 (23:00 +0000)]
check for sys/poll.h

22 years agopasswords and cookies
Daniel Stenberg [Mon, 29 Jul 2002 22:59:36 +0000 (22:59 +0000)]
passwords and cookies

22 years agoRemoved checks for if set.fpasswd is NULL, as we prevent users from setting
Daniel Stenberg [Mon, 29 Jul 2002 22:45:50 +0000 (22:45 +0000)]
Removed checks for if set.fpasswd is NULL, as we prevent users from setting
it to NULL and then use the internal default instead. It will always be
a function to call.

22 years agoSetting PASSWDFUNCTION to NULL will set back the internal function as password
Daniel Stenberg [Mon, 29 Jul 2002 22:42:11 +0000 (22:42 +0000)]
Setting PASSWDFUNCTION to NULL will set back the internal function as password
function.

22 years agofixed the Curl_cookie_add() invoke to not assume a space after the colon
Daniel Stenberg [Mon, 29 Jul 2002 22:23:55 +0000 (22:23 +0000)]
fixed the Curl_cookie_add() invoke to not assume a space after the colon

22 years agoproperly skip white spaces on Set-Cookie: header lines
Daniel Stenberg [Mon, 29 Jul 2002 22:22:49 +0000 (22:22 +0000)]
properly skip white spaces on Set-Cookie: header lines

22 years agoextended and improved cookie testing
Daniel Stenberg [Mon, 29 Jul 2002 22:21:37 +0000 (22:21 +0000)]
extended and improved cookie testing

22 years agoHAVE_SETVBUF fixed
Daniel Stenberg [Mon, 29 Jul 2002 22:14:56 +0000 (22:14 +0000)]
HAVE_SETVBUF fixed

22 years agolink with winmm.lib too
Daniel Stenberg [Mon, 29 Jul 2002 14:20:53 +0000 (14:20 +0000)]
link with winmm.lib too

22 years agouse stderr to present the prompt to, make sure to close the fopen()ed
Daniel Stenberg [Mon, 29 Jul 2002 14:15:14 +0000 (14:15 +0000)]
use stderr to present the prompt to, make sure to close the fopen()ed
file handle

22 years agoAdded multi.[co] to the build
Daniel Stenberg [Mon, 29 Jul 2002 11:07:26 +0000 (11:07 +0000)]
Added multi.[co] to the build

22 years agoadded HAVE_SETVBUF
Daniel Stenberg [Sun, 28 Jul 2002 17:08:22 +0000 (17:08 +0000)]
added HAVE_SETVBUF

22 years agoGlen Nakamura made his fix look even better!
Daniel Stenberg [Wed, 26 Jun 2002 15:39:23 +0000 (15:39 +0000)]
Glen Nakamura made his fix look even better!

22 years agoGlen Nakamura's patch applied
Daniel Stenberg [Wed, 26 Jun 2002 08:42:29 +0000 (08:42 +0000)]
Glen Nakamura's patch applied

22 years agoGlen Nakamura's patch for Curl_getaddrinfo().
Daniel Stenberg [Wed, 26 Jun 2002 08:03:46 +0000 (08:03 +0000)]
Glen Nakamura's patch for Curl_getaddrinfo().

22 years agosince 7.9.8
Daniel Stenberg [Wed, 26 Jun 2002 07:16:11 +0000 (07:16 +0000)]
since 7.9.8

22 years agoignore '+' in URLs, generate only %-codes
Daniel Stenberg [Wed, 26 Jun 2002 07:15:31 +0000 (07:15 +0000)]
ignore '+' in URLs, generate only %-codes

22 years agoT. Bharath fixed his mm lib timer resolution fix
Daniel Stenberg [Wed, 26 Jun 2002 06:47:18 +0000 (06:47 +0000)]
T. Bharath fixed his mm lib timer resolution fix

22 years agoadded HISTORY
Daniel Stenberg [Tue, 25 Jun 2002 09:21:45 +0000 (09:21 +0000)]
added HISTORY
for newbies ;-)

22 years agocorrected to match reality better
Daniel Stenberg [Mon, 24 Jun 2002 06:14:56 +0000 (06:14 +0000)]
corrected to match reality better

22 years agoremoved the php/examples reference as that dir is not in the archives
Daniel Stenberg [Wed, 19 Jun 2002 12:37:02 +0000 (12:37 +0000)]
removed the php/examples reference as that dir is not in the archives

22 years agosimplified the compile line even more
Daniel Stenberg [Wed, 19 Jun 2002 12:31:49 +0000 (12:31 +0000)]
simplified the compile line even more

22 years agosimplepost.c shows a simple POST ;-)
Daniel Stenberg [Wed, 19 Jun 2002 12:30:12 +0000 (12:30 +0000)]
simplepost.c shows a simple POST ;-)

22 years agoremoved extra / in help text
Daniel Stenberg [Sat, 15 Jun 2002 21:08:07 +0000 (21:08 +0000)]
removed extra / in help text

22 years agoAdded CURLOPT_BUFFERSIZE
Daniel Stenberg [Sat, 15 Jun 2002 21:06:17 +0000 (21:06 +0000)]
Added CURLOPT_BUFFERSIZE

22 years agoAdded --limit-rate
Daniel Stenberg [Sat, 15 Jun 2002 21:02:11 +0000 (21:02 +0000)]
Added --limit-rate

22 years agoHAVE_SYS_POLL_H
Daniel Stenberg [Sat, 15 Jun 2002 21:01:32 +0000 (21:01 +0000)]
HAVE_SYS_POLL_H

22 years agoCURLOPT_BUFFERSIZE allows an application to set a prefered buffer size
Daniel Stenberg [Sat, 15 Jun 2002 21:00:54 +0000 (21:00 +0000)]
CURLOPT_BUFFERSIZE allows an application to set a prefered buffer size
for receiving data from the network. It is meant as a hint, not as a forced
limit.

22 years agoChris Combes added description of his newly added options
Daniel Stenberg [Sat, 15 Jun 2002 11:17:42 +0000 (11:17 +0000)]
Chris Combes added description of his newly added options

22 years ago- Yarram Sunil found out that the SocketIsDead() function performed a lot
Daniel Stenberg [Fri, 14 Jun 2002 12:05:20 +0000 (12:05 +0000)]
- Yarram Sunil found out that the SocketIsDead() function performed a lot
  faster on Windows when removing the 1 microsecond timeout.

22 years agoHanno L. Kranzhoff fixed them
Daniel Stenberg [Fri, 14 Jun 2002 09:36:09 +0000 (09:36 +0000)]
Hanno L. Kranzhoff fixed them

22 years agoRemade the FTP not-check status line and not-attempt-to-read-status-line
Daniel Stenberg [Fri, 14 Jun 2002 06:57:00 +0000 (06:57 +0000)]
Remade the FTP not-check status line and not-attempt-to-read-status-line
variables, conditions and things.

22 years agoTom Mattison's report found out, and this is the fix that should prevent
Daniel Stenberg [Thu, 13 Jun 2002 22:22:59 +0000 (22:22 +0000)]
Tom Mattison's report found out, and this is the fix that should prevent
FTP from closing the connections a little too often!

22 years agoMiklos Nemeth added a section for how to disable specific protocols in the
Daniel Stenberg [Thu, 13 Jun 2002 22:13:46 +0000 (22:13 +0000)]
Miklos Nemeth added a section for how to disable specific protocols in the
windows build.

22 years agoMiklos Nemeth fixed the mmlib
Daniel Stenberg [Thu, 13 Jun 2002 22:11:28 +0000 (22:11 +0000)]
Miklos Nemeth fixed the mmlib

22 years ago7.9.8 commit
Daniel Stenberg [Thu, 13 Jun 2002 14:37:15 +0000 (14:37 +0000)]
7.9.8 commit

22 years agoAdded 'dont_check' to be set during an FTP operation if the final status
Daniel Stenberg [Thu, 13 Jun 2002 09:21:08 +0000 (09:21 +0000)]
Added 'dont_check' to be set during an FTP operation if the final status
message is supposed to be ignored.

22 years agowhen no FTP transfer was done, don't attempt to read the download transfer
Daniel Stenberg [Wed, 12 Jun 2002 22:05:28 +0000 (22:05 +0000)]
when no FTP transfer was done, don't attempt to read the download transfer
thing. The 'resumed' flag is also causing confusions. I'll deal with that
tomorrow.

22 years agoMoved the secondarysocket cleanup. The 'conn' struct may have been cleared
Daniel Stenberg [Wed, 12 Jun 2002 22:04:25 +0000 (22:04 +0000)]
Moved the secondarysocket cleanup. The 'conn' struct may have been cleared
already at that other place.

22 years agoChris Combes added CURLFORM_BUFFER, CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH
Daniel Stenberg [Wed, 12 Jun 2002 21:40:59 +0000 (21:40 +0000)]
Chris Combes added CURLFORM_BUFFER, CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH

22 years agofixing builds, patching bugs, adding curl_formadd() options
Daniel Stenberg [Wed, 12 Jun 2002 21:40:30 +0000 (21:40 +0000)]
fixing builds, patching bugs, adding curl_formadd() options

22 years agoHAVE_SIGSETJMP
Daniel Stenberg [Wed, 12 Jun 2002 17:56:22 +0000 (17:56 +0000)]
HAVE_SIGSETJMP

22 years agoadded a connect failure error message that might get empty otherwise
Daniel Stenberg [Wed, 12 Jun 2002 09:48:26 +0000 (09:48 +0000)]
added a connect failure error message that might get empty otherwise

22 years agoJörn fixes for 7.9.8 build
Daniel Stenberg [Wed, 12 Jun 2002 09:18:37 +0000 (09:18 +0000)]
Jörn fixes for 7.9.8 build

22 years agoCURLOPT_MAXFILESIZE
Daniel Stenberg [Wed, 12 Jun 2002 08:16:59 +0000 (08:16 +0000)]
CURLOPT_MAXFILESIZE

22 years agokris@freebsd.org fixed a bad format string
Daniel Stenberg [Wed, 12 Jun 2002 07:45:11 +0000 (07:45 +0000)]
kris@freebsd.org fixed a bad format string

22 years agokris@freebsd.org fixed a few bad format strings
Daniel Stenberg [Wed, 12 Jun 2002 07:44:22 +0000 (07:44 +0000)]
kris@freebsd.org fixed a few bad format strings

22 years agoAdd QNX
Daniel Stenberg [Wed, 12 Jun 2002 07:26:13 +0000 (07:26 +0000)]
Add QNX

22 years agoput #ifdefs around the sigjmp_buf declaration too, as it should be
Daniel Stenberg [Tue, 11 Jun 2002 15:47:01 +0000 (15:47 +0000)]
put #ifdefs around the sigjmp_buf declaration too, as it should be

22 years agocorrected the signal handler
Daniel Stenberg [Tue, 11 Jun 2002 15:44:27 +0000 (15:44 +0000)]
corrected the signal handler

22 years ago7.9.8-pre3 commit
Daniel Stenberg [Tue, 11 Jun 2002 15:28:50 +0000 (15:28 +0000)]
7.9.8-pre3 commit

22 years agothe disable protocol stuff is now added
Daniel Stenberg [Tue, 11 Jun 2002 15:24:47 +0000 (15:24 +0000)]
the disable protocol stuff is now added

22 years agomore nonewline support
Daniel Stenberg [Tue, 11 Jun 2002 15:11:41 +0000 (15:11 +0000)]
more nonewline support

22 years agoNow uses sigsetjmp() and siglongjmp() to bail out from slow name lookups in
Daniel Stenberg [Tue, 11 Jun 2002 15:10:18 +0000 (15:10 +0000)]
Now uses sigsetjmp() and siglongjmp() to bail out from slow name lookups in
case a timeout is set. This seems to work. God knows if it is good enough
or what kind of side-effects we introduce here and now.

I'll close my eyes and cross my fingers. Hard.

22 years agocut up the string in more pieces for <512 bytes strings
Daniel Stenberg [Tue, 11 Jun 2002 15:09:02 +0000 (15:09 +0000)]
cut up the string in more pieces for <512 bytes strings

22 years agoremoved accidentally added debug-code!
Daniel Stenberg [Tue, 11 Jun 2002 14:10:32 +0000 (14:10 +0000)]
removed accidentally added debug-code!

22 years agoftp range downloads make us ignore the final status message as the server
Daniel Stenberg [Tue, 11 Jun 2002 12:35:03 +0000 (12:35 +0000)]
ftp range downloads make us ignore the final status message as the server
will most likely treat the download as failed as we might abort it
pre-maturely

22 years agoadded test135 ftp byte-range download
Daniel Stenberg [Tue, 11 Jun 2002 12:25:46 +0000 (12:25 +0000)]
added test135 ftp byte-range download

22 years agoadded --disable-[protocol] support
Daniel Stenberg [Tue, 11 Jun 2002 11:13:29 +0000 (11:13 +0000)]
added --disable-[protocol] support

22 years agoadded disable-[protocol] support, largely provided by Miklos Nemeth
Daniel Stenberg [Tue, 11 Jun 2002 11:13:01 +0000 (11:13 +0000)]
added disable-[protocol] support, largely provided by Miklos Nemeth

22 years agoAdded disable-defines
Daniel Stenberg [Tue, 11 Jun 2002 11:12:27 +0000 (11:12 +0000)]
Added disable-defines

22 years agoadded multi.obj
Daniel Stenberg [Tue, 11 Jun 2002 11:11:06 +0000 (11:11 +0000)]
added multi.obj

22 years agomake sure data->set.postfields is non-NULL before doing strlen() on the
Daniel Stenberg [Tue, 11 Jun 2002 07:20:21 +0000 (07:20 +0000)]
make sure data->set.postfields is non-NULL before doing strlen() on the
pointer. Bugs item #566835.

22 years agogetaddrinfo() failures now show port number too in informational output
Daniel Stenberg [Mon, 10 Jun 2002 13:26:02 +0000 (13:26 +0000)]
getaddrinfo() failures now show port number too in informational output

22 years agoadded a missing failf() for certain connect failures
Daniel Stenberg [Mon, 10 Jun 2002 13:25:03 +0000 (13:25 +0000)]
added a missing failf() for certain connect failures

22 years agoThis fix MIGHT make us build nicely with OpenSSL 0.9.7. This fix is based
Daniel Stenberg [Mon, 10 Jun 2002 12:38:10 +0000 (12:38 +0000)]
This fix MIGHT make us build nicely with OpenSSL 0.9.7. This fix is based
on a patch from Jacob Meuser, input from Götz Babin-Ebell and my own
browsing of the latest include files.

22 years agoGautam Mani found a socket descriptor leak that happened when FTP transfers
Daniel Stenberg [Mon, 10 Jun 2002 12:34:04 +0000 (12:34 +0000)]
Gautam Mani found a socket descriptor leak that happened when FTP transfers
failed and you reinvoked curl_easy_perform().

22 years agoAdded HAVE_SYS_TYPES_H
Daniel Stenberg [Fri, 7 Jun 2002 06:17:05 +0000 (06:17 +0000)]
Added HAVE_SYS_TYPES_H

22 years agoGustaf Hui fixed curl_multi_remove_handle() to prevent a potential crash
Daniel Stenberg [Wed, 5 Jun 2002 21:29:20 +0000 (21:29 +0000)]
Gustaf Hui fixed curl_multi_remove_handle() to prevent a potential crash

22 years agoset HAVE_RAND_STATUS too
Daniel Stenberg [Wed, 5 Jun 2002 14:14:54 +0000 (14:14 +0000)]
set HAVE_RAND_STATUS too

22 years agohostcache_fixoffset() is now corrected to work on 64bit architectures
Daniel Stenberg [Wed, 5 Jun 2002 13:41:33 +0000 (13:41 +0000)]
hostcache_fixoffset() is now corrected to work on 64bit architectures
Bug report #564585.

22 years agomore stuff since pre1
Daniel Stenberg [Tue, 4 Jun 2002 11:53:31 +0000 (11:53 +0000)]
more stuff since pre1

22 years agoindent like the other ones
Daniel Stenberg [Mon, 3 Jun 2002 13:37:09 +0000 (13:37 +0000)]
indent like the other ones

22 years agoChristophe Espern wrote another binding!
Daniel Stenberg [Mon, 3 Jun 2002 13:20:23 +0000 (13:20 +0000)]
Christophe Espern wrote another binding!

22 years agoupdated header
Daniel Stenberg [Mon, 3 Jun 2002 13:04:35 +0000 (13:04 +0000)]
updated header

22 years agoT. Bharath's updates since curl now uses the winmm lib for higher resolution
Daniel Stenberg [Mon, 3 Jun 2002 12:48:31 +0000 (12:48 +0000)]
T. Bharath's updates since curl now uses the winmm lib for higher resolution
timer

22 years agoT. Bharath made the request size add up as it is documented to do.
Daniel Stenberg [Mon, 3 Jun 2002 12:47:08 +0000 (12:47 +0000)]
T. Bharath made the request size add up as it is documented to do.

22 years agoT. Bharath fixed higher resolution time for windows builds
Daniel Stenberg [Mon, 3 Jun 2002 12:46:32 +0000 (12:46 +0000)]
T. Bharath fixed higher resolution time for windows builds

22 years agoT. Bharath fixed the TIMER_REDIRECT.
Daniel Stenberg [Mon, 3 Jun 2002 12:46:04 +0000 (12:46 +0000)]
T. Bharath fixed the TIMER_REDIRECT.

22 years agoGetting an empty FTP file no longer makes us return error 19. An empty file
Daniel Stenberg [Tue, 28 May 2002 22:33:30 +0000 (22:33 +0000)]
Getting an empty FTP file no longer makes us return error 19. An empty file
is fine to get.

22 years ago Gustaf Hui provided new code that changes how curl_multi_info_read()
Daniel Stenberg [Tue, 28 May 2002 14:45:50 +0000 (14:45 +0000)]
 Gustaf Hui provided new code that changes how curl_multi_info_read()
 messages are stored, so that they don't have to be kept around for the multi
 handle's entire life time. He also made it return failure codes properly
 which it didn't do before.

 I made the messages only get stored per easy-handle so that they can be
 independently killed easier without ruining the "master list". It makes
 the info_read() function slightly less beautiful as it has to scan for
 messages to return, but it makes removing individual handles a lot easier
 and less error prone.

22 years agoAdjusted to make curl_multi_perform() work properly even when
Daniel Stenberg [Tue, 28 May 2002 14:18:36 +0000 (14:18 +0000)]
Adjusted to make curl_multi_perform() work properly even when
curl_multi_fdset() is not used.

22 years agoI trimmed the --help output slightly to better fit within 80 cols
Daniel Stenberg [Tue, 28 May 2002 09:31:48 +0000 (09:31 +0000)]
I trimmed the --help output slightly to better fit within 80 cols

22 years agoCris Bailiff's CAPATH support added
Daniel Stenberg [Tue, 28 May 2002 09:21:29 +0000 (09:21 +0000)]
Cris Bailiff's CAPATH support added

22 years agonew url, spell checked
Daniel Stenberg [Wed, 22 May 2002 22:14:03 +0000 (22:14 +0000)]
new url, spell checked

22 years agosince 7.9.7
Daniel Stenberg [Wed, 22 May 2002 11:08:19 +0000 (11:08 +0000)]
since 7.9.7

22 years agoJames Cone's little work-around for the strict error
Daniel Stenberg [Tue, 21 May 2002 22:39:09 +0000 (22:39 +0000)]
James Cone's little work-around for the strict error

22 years agoWhen re-using a connection, make sure that we use the current host name as
Daniel Stenberg [Tue, 21 May 2002 22:24:56 +0000 (22:24 +0000)]
When re-using a connection, make sure that we use the current host name as
we might actually re-use a connection to a different host, when using proxies!

This was what bug report #558888 was all about.

22 years agoJames Cone added the new CURL_NETRC_OPTION enum
Daniel Stenberg [Tue, 21 May 2002 22:22:28 +0000 (22:22 +0000)]
James Cone added the new CURL_NETRC_OPTION enum

22 years agotest suite mods for the netrc testing stuff
Daniel Stenberg [Tue, 21 May 2002 22:20:52 +0000 (22:20 +0000)]
test suite mods for the netrc testing stuff

22 years agoJames Cone added CURLOPT_NETRC / --netrc / --netrc-optional descriptions
Daniel Stenberg [Tue, 21 May 2002 22:20:16 +0000 (22:20 +0000)]
James Cone added CURLOPT_NETRC / --netrc / --netrc-optional descriptions

22 years agoUse the new CURLOPT_NETRC option and adds --netrc-optional, by James Cone
Daniel Stenberg [Tue, 21 May 2002 22:18:34 +0000 (22:18 +0000)]
Use the new CURLOPT_NETRC option and adds --netrc-optional, by James Cone

22 years agoJames Cone's efforts to add another netrc parsing "mode"
Daniel Stenberg [Tue, 21 May 2002 22:17:19 +0000 (22:17 +0000)]
James Cone's efforts to add another netrc parsing "mode"

22 years agofive new test cases for the netrc parsing
Daniel Stenberg [Tue, 21 May 2002 22:14:08 +0000 (22:14 +0000)]
five new test cases for the netrc parsing

22 years agomaprintf() and vmaprintf() now work better when printfing "%s" with an
Daniel Stenberg [Tue, 21 May 2002 17:59:57 +0000 (17:59 +0000)]
maprintf() and vmaprintf() now work better when printfing "%s" with an
empty string

22 years agocorrected see also
Daniel Stenberg [Tue, 21 May 2002 14:00:55 +0000 (14:00 +0000)]
corrected see also