platform/upstream/curl.git
23 years agowent back to the version where the flags argument to curl_global_init()
Daniel Stenberg [Thu, 31 May 2001 06:06:37 +0000 (06:06 +0000)]
went back to the version where the flags argument to curl_global_init()
specify exactly what global parts to init. Thanks to Sterling Hughes really
for arguing wisely.

23 years agoremoved the prototype and made it include string.h instead
Daniel Stenberg [Thu, 31 May 2001 06:05:32 +0000 (06:05 +0000)]
removed the prototype and made it include string.h instead

   If your system, such as Solaris 2.7, lacks the strtok_r() prototype in
   string.h, then you'll face a bunch of warnings on all instances
   where strtok_r() is used.

   There's not much we can do about it. Adding a prototype here screws
   everything up on other platforms! :-(

23 years agoSterling Hughes suggested we set 'static' before size_t...
Daniel Stenberg [Thu, 31 May 2001 05:55:42 +0000 (05:55 +0000)]
Sterling Hughes suggested we set 'static' before size_t...

23 years agolibcurl now has MUTE and NOPROGRESS set by default
Daniel Stenberg [Wed, 30 May 2001 12:51:24 +0000 (12:51 +0000)]
libcurl now has MUTE and NOPROGRESS set by default

23 years ago7.8-pre2
Daniel Stenberg [Wed, 30 May 2001 11:24:26 +0000 (11:24 +0000)]
7.8-pre2

23 years agoinclude strtok.h to get the prototype
Daniel Stenberg [Wed, 30 May 2001 11:06:56 +0000 (11:06 +0000)]
include strtok.h to get the prototype

23 years agofinally fixed the 'ret' compiler warning
Daniel Stenberg [Wed, 30 May 2001 11:06:33 +0000 (11:06 +0000)]
finally fixed the 'ret' compiler warning

23 years agoremoved python interface, there is one now! ;-)
Daniel Stenberg [Wed, 30 May 2001 10:42:18 +0000 (10:42 +0000)]
removed python interface, there is one now! ;-)

23 years ago-# fix, thread fix, easy.c compile fix and more
Daniel Stenberg [Wed, 30 May 2001 10:34:14 +0000 (10:34 +0000)]
-# fix, thread fix, easy.c compile fix and more

23 years agomade the automake line re-build from _all_ Makefile.am files in the source tree
Daniel Stenberg [Wed, 30 May 2001 10:29:39 +0000 (10:29 +0000)]
made the automake line re-build from _all_ Makefile.am files in the source tree

23 years agoenglish fix
Daniel Stenberg [Wed, 30 May 2001 08:01:35 +0000 (08:01 +0000)]
english fix

23 years agonow uses CURL_GLOBAL_DEFAULT
Daniel Stenberg [Wed, 30 May 2001 08:01:09 +0000 (08:01 +0000)]
now uses CURL_GLOBAL_DEFAULT

23 years agocurl_global_init() support for CURL_GLOBAL_NOT_SSL
Daniel Stenberg [Wed, 30 May 2001 08:00:29 +0000 (08:00 +0000)]
curl_global_init() support for CURL_GLOBAL_NOT_SSL

23 years agoSterling Hughes's fixes
Daniel Stenberg [Wed, 30 May 2001 07:59:47 +0000 (07:59 +0000)]
Sterling Hughes's fixes

23 years agoAdded Solaris 'pkgadd' building support to packages collection and autoconf/automake...
Cris Bailiff [Wed, 30 May 2001 04:31:32 +0000 (04:31 +0000)]
Added Solaris 'pkgadd' building support to packages collection and autoconf/automake files

23 years agonot used in autoconf version 2.50
Daniel Stenberg [Tue, 29 May 2001 19:28:50 +0000 (19:28 +0000)]
not used in autoconf version 2.50

23 years agocheck for strtok_r
Daniel Stenberg [Tue, 29 May 2001 19:25:28 +0000 (19:25 +0000)]
check for strtok_r

23 years agocurl_ => Curl_
Daniel Stenberg [Tue, 29 May 2001 19:20:37 +0000 (19:20 +0000)]
curl_ => Curl_

23 years agore-indented to follow "project curl"-style, renamed curl_ prefix to Curl_
Daniel Stenberg [Tue, 29 May 2001 19:20:21 +0000 (19:20 +0000)]
re-indented to follow "project curl"-style, renamed curl_ prefix to Curl_

23 years agostrtok() replaced with strtok_r()
Daniel Stenberg [Tue, 29 May 2001 19:17:39 +0000 (19:17 +0000)]
strtok() replaced with strtok_r()

23 years agoadjusted for automake 1.4+
Daniel Stenberg [Tue, 29 May 2001 19:17:19 +0000 (19:17 +0000)]
adjusted for automake 1.4+

23 years agoAdded strtok.[ch]
Daniel Stenberg [Tue, 29 May 2001 19:17:03 +0000 (19:17 +0000)]
Added strtok.[ch]

23 years agowe rqeuire autoconf 2.50 now
Daniel Stenberg [Tue, 29 May 2001 19:14:46 +0000 (19:14 +0000)]
we rqeuire autoconf 2.50 now

23 years agofixed the -# to write to the same as --stderr is set to
Daniel Stenberg [Tue, 29 May 2001 18:30:47 +0000 (18:30 +0000)]
fixed the -# to write to the same as --stderr is set to

23 years ago 3.11 How do I POST with a different Content-Type?
Daniel Stenberg [Tue, 29 May 2001 14:02:20 +0000 (14:02 +0000)]
 3.11 How do I POST with a different Content-Type?

23 years agoclarified the MUTE option
Daniel Stenberg [Tue, 29 May 2001 13:28:03 +0000 (13:28 +0000)]
clarified the MUTE option

23 years agoupdated, improved language at a few places
Daniel Stenberg [Tue, 29 May 2001 13:23:41 +0000 (13:23 +0000)]
updated, improved language at a few places

23 years agomoved list of authors to the separate THANKS file and added that to the
Daniel Stenberg [Tue, 29 May 2001 12:09:47 +0000 (12:09 +0000)]
moved list of authors to the separate THANKS file and added that to the
release archive

23 years agotext: added in 7.8
Daniel Stenberg [Tue, 29 May 2001 12:09:15 +0000 (12:09 +0000)]
text: added in 7.8

23 years agobeauty fix
Daniel Stenberg [Tue, 29 May 2001 08:27:43 +0000 (08:27 +0000)]
beauty fix

23 years agoglobal_init() takes that flag argument
Daniel Stenberg [Tue, 29 May 2001 07:20:31 +0000 (07:20 +0000)]
global_init() takes that flag argument

23 years ago7.8-pre1 commit
Daniel Stenberg [Mon, 28 May 2001 21:50:00 +0000 (21:50 +0000)]
7.8-pre1 commit

23 years agofixes
Daniel Stenberg [Mon, 28 May 2001 21:49:45 +0000 (21:49 +0000)]
fixes

23 years agoadded libtool
Daniel Stenberg [Mon, 28 May 2001 21:49:01 +0000 (21:49 +0000)]
added libtool

23 years agomajor: curl_general_init/cleanup
Daniel Stenberg [Mon, 28 May 2001 21:45:36 +0000 (21:45 +0000)]
major: curl_general_init/cleanup

23 years agoftps:// works
Daniel Stenberg [Mon, 28 May 2001 21:45:10 +0000 (21:45 +0000)]
ftps:// works

23 years agoadjusted the global_init() call to pass the new flag argument too
Daniel Stenberg [Mon, 28 May 2001 15:31:12 +0000 (15:31 +0000)]
adjusted the global_init() call to pass the new flag argument too

23 years agoglobal_init() takes a flag option now, to tell libcurl what _not_ to init.
Daniel Stenberg [Mon, 28 May 2001 15:30:38 +0000 (15:30 +0000)]
global_init() takes a flag option now, to tell libcurl what _not_ to init.
it will make it better when the application uses several libs that use
openssl and it also enables us to do the win32 winsock initing in the future
if we want to

23 years agobetter -v use, passes -I to all perl invokes
Daniel Stenberg [Mon, 28 May 2001 15:26:15 +0000 (15:26 +0000)]
better -v use, passes -I to all perl invokes

23 years agoadded calls to curl_global_*, they aren't really needed for this application
Daniel Stenberg [Mon, 28 May 2001 15:06:46 +0000 (15:06 +0000)]
added calls to curl_global_*, they aren't really needed for this application
but it shows good manner to always cleanup

23 years agoadded 'curl-config --vernum' for hardcore hex version output
Daniel Stenberg [Mon, 28 May 2001 14:58:07 +0000 (14:58 +0000)]
added 'curl-config --vernum' for hardcore hex version output

23 years agochanged the check for command1.txt to test1, so that automatic testing
Daniel Stenberg [Mon, 28 May 2001 14:32:05 +0000 (14:32 +0000)]
changed the check for command1.txt to test1, so that automatic testing
in 'make distcheck' will work

23 years agoincreased interface age
Daniel Stenberg [Mon, 28 May 2001 14:12:58 +0000 (14:12 +0000)]
increased interface age

23 years agoT. Bharath's comments about SSL cleanup incorporated, and the two new
Daniel Stenberg [Mon, 28 May 2001 14:12:43 +0000 (14:12 +0000)]
T. Bharath's comments about SSL cleanup incorporated, and the two new
curl_global_* functions

23 years agocurl_global_cleanup and curl_global_init added to the family
Daniel Stenberg [Mon, 28 May 2001 14:11:02 +0000 (14:11 +0000)]
curl_global_cleanup and curl_global_init added to the family

23 years agoAdded more test cases
Daniel Stenberg [Mon, 28 May 2001 12:31:07 +0000 (12:31 +0000)]
Added more test cases

23 years agotest case converted to the new file format
Daniel Stenberg [Mon, 28 May 2001 12:30:21 +0000 (12:30 +0000)]
test case converted to the new file format

23 years agotest: HTTP over proxy
Daniel Stenberg [Mon, 28 May 2001 11:19:44 +0000 (11:19 +0000)]
test: HTTP over proxy

23 years agoRemoved references to the previous file format, added some tests about
Daniel Stenberg [Wed, 23 May 2001 15:05:43 +0000 (15:05 +0000)]
Removed references to the previous file format, added some tests about
the new format but there's still much more to be said and done

23 years agoadjusted to the new test case formats
Daniel Stenberg [Wed, 23 May 2001 15:02:58 +0000 (15:02 +0000)]
adjusted to the new test case formats

23 years agoRemoved the former files using the old-style test case format, added the
Daniel Stenberg [Wed, 23 May 2001 15:02:24 +0000 (15:02 +0000)]
Removed the former files using the old-style test case format, added the
new ones. Many more of the old ones must be "ported" to this new format
to make the test suite complete again.

23 years agonew test case file format
Daniel Stenberg [Wed, 23 May 2001 15:00:48 +0000 (15:00 +0000)]
new test case file format

23 years agoAdded Andres' comments about field 2 in netscape cookie files
Daniel Stenberg [Wed, 23 May 2001 13:04:19 +0000 (13:04 +0000)]
Added Andres' comments about field 2 in netscape cookie files

23 years agoAndrés García's netscape cookie file parser fix
Daniel Stenberg [Wed, 23 May 2001 09:26:45 +0000 (09:26 +0000)]
Andrés García's netscape cookie file parser fix

23 years agogeneral autoconf and automake fixes
Daniel Stenberg [Tue, 22 May 2001 21:17:58 +0000 (21:17 +0000)]
general autoconf and automake fixes

23 years agostore httpcode _before_ doing the FAILONERROR check so that getinfo works
Daniel Stenberg [Tue, 22 May 2001 21:09:09 +0000 (21:09 +0000)]
store httpcode _before_ doing the FAILONERROR check so that getinfo works
afterwards (bug #426442)

23 years agocleanup commit for new autoconf+automake+libtool versions
Daniel Stenberg [Tue, 22 May 2001 18:16:24 +0000 (18:16 +0000)]
cleanup commit for new autoconf+automake+libtool versions

23 years agofixes and improvments
Daniel Stenberg [Tue, 22 May 2001 12:05:05 +0000 (12:05 +0000)]
fixes and improvments

23 years agoturned newlines into DOS styles
Daniel Stenberg [Mon, 21 May 2001 21:45:11 +0000 (21:45 +0000)]
turned newlines into DOS styles

23 years agomade it binary in CVS to maintain DOS newlines and turned those newlines
Daniel Stenberg [Mon, 21 May 2001 21:42:38 +0000 (21:42 +0000)]
made it binary in CVS to maintain DOS newlines and turned those newlines
into the DOS kind!

23 years agoAdded text about the test case numbering
Daniel Stenberg [Mon, 21 May 2001 13:40:54 +0000 (13:40 +0000)]
Added text about the test case numbering

23 years agodoesn't run ssl tests if libcurl wasn't built with ssl support (and reports
Daniel Stenberg [Mon, 21 May 2001 13:38:38 +0000 (13:38 +0000)]
doesn't run ssl tests if libcurl wasn't built with ssl support (and reports
about the libcurl SSL status)

23 years agoadded a lame double-check for libcrypto as otherwise it wouldn't get added
Daniel Stenberg [Mon, 21 May 2001 13:33:03 +0000 (13:33 +0000)]
added a lame double-check for libcrypto as otherwise it wouldn't get added
properly! (?) Anyone has any better solution then please step forward!

23 years agoAdded test case 400, the first ftps:// one
Daniel Stenberg [Mon, 21 May 2001 13:31:49 +0000 (13:31 +0000)]
Added test case 400, the first ftps:// one

23 years agoftps test case data
Daniel Stenberg [Mon, 21 May 2001 13:31:05 +0000 (13:31 +0000)]
ftps test case data

23 years agoslightly "hackish" approach to disable SSL during download if the connection
Daniel Stenberg [Mon, 21 May 2001 13:30:01 +0000 (13:30 +0000)]
slightly "hackish" approach to disable SSL during download if the connection
is a FTPS connection as the data transfer is then done unencrypted!

23 years agothis should not set a SSL path to LDFLAGS or CPPFLAGS unless it really needs
Daniel Stenberg [Fri, 18 May 2001 14:42:41 +0000 (14:42 +0000)]
this should not set a SSL path to LDFLAGS or CPPFLAGS unless it really needs
to

23 years agoadded some, removed some, moved around some.
Daniel Stenberg [Fri, 18 May 2001 12:55:13 +0000 (12:55 +0000)]
added some, removed some, moved around some.

23 years agonicer OpenSSL header check
Daniel Stenberg [Fri, 18 May 2001 12:36:38 +0000 (12:36 +0000)]
nicer OpenSSL header check

23 years agoour internal strlcat() is now named Curl_strlcat()
Daniel Stenberg [Fri, 18 May 2001 12:03:30 +0000 (12:03 +0000)]
our internal strlcat() is now named Curl_strlcat()

23 years agostrlcat() is now Curl_strlcat() instead to prevent collisions when used with
Daniel Stenberg [Fri, 18 May 2001 10:02:44 +0000 (10:02 +0000)]
strlcat() is now Curl_strlcat() instead to prevent collisions when used with
other libs

23 years agostrlcpy() turned static
Daniel Stenberg [Fri, 18 May 2001 10:02:12 +0000 (10:02 +0000)]
strlcpy() turned static

23 years agoAdded #define CURLE_ALREADY_COMPLETE to not break compiles that use that
Daniel Stenberg [Wed, 16 May 2001 14:45:50 +0000 (14:45 +0000)]
Added #define CURLE_ALREADY_COMPLETE to not break compiles that use that
symbol, but libcurl will not return this ever

23 years agoadded pointer to the examples/getinmemory.c source code for paragraph
Daniel Stenberg [Tue, 15 May 2001 13:09:27 +0000 (13:09 +0000)]
added pointer to the examples/getinmemory.c source code for paragraph
5.2 "How can I receive all data into a large memory chunk?"

23 years agoAdded getinmemory.c
Daniel Stenberg [Tue, 15 May 2001 13:08:23 +0000 (13:08 +0000)]
Added getinmemory.c

23 years agothis might actually compile too...
Daniel Stenberg [Tue, 15 May 2001 13:04:53 +0000 (13:04 +0000)]
this might actually compile too...

23 years agoan example on how you can use the write callback to receive data in a memory
Daniel Stenberg [Tue, 15 May 2001 13:03:53 +0000 (13:03 +0000)]
an example on how you can use the write callback to receive data in a memory
chunk

23 years agoWe need -lpthread for the pthread example
Daniel Stenberg [Tue, 15 May 2001 12:56:38 +0000 (12:56 +0000)]
We need -lpthread for the pthread example

23 years agocorrected
Daniel Stenberg [Tue, 15 May 2001 12:55:35 +0000 (12:55 +0000)]
corrected

23 years agoAdded Pawel A. Gajda
Daniel Stenberg [Tue, 15 May 2001 11:00:29 +0000 (11:00 +0000)]
Added  Pawel A. Gajda

23 years agoPawel A. Gajda fixed resumed transfers on persistent connections
Daniel Stenberg [Tue, 15 May 2001 07:21:13 +0000 (07:21 +0000)]
Pawel A. Gajda fixed resumed transfers on persistent connections

23 years agoAdded the first https test: 300
Daniel Stenberg [Mon, 14 May 2001 12:25:04 +0000 (12:25 +0000)]
Added the first https test: 300

23 years agopid files fixes, ftp server already-running-but-no-control check
Daniel Stenberg [Mon, 14 May 2001 12:09:47 +0000 (12:09 +0000)]
pid files fixes, ftp server already-running-but-no-control check

23 years agoJun-ichiro itojun Hagino fixed FTP PORT for IPv6-enabled libcurl
Daniel Stenberg [Mon, 14 May 2001 11:29:47 +0000 (11:29 +0000)]
Jun-ichiro itojun Hagino fixed FTP PORT for IPv6-enabled libcurl

23 years agoadded a pointer to the download web page
Daniel Stenberg [Mon, 14 May 2001 07:08:22 +0000 (07:08 +0000)]
added a pointer to the download web page

23 years agoAdded tons of comments all over
Daniel Stenberg [Sat, 12 May 2001 16:11:14 +0000 (16:11 +0000)]
Added tons of comments all over

23 years agomultiple transfer path fixes, location fixes, resume download changes,
Daniel Stenberg [Sat, 12 May 2001 09:49:04 +0000 (09:49 +0000)]
multiple transfer path fixes, location fixes, resume download changes,
ssl peer verify fixes and more

23 years agoCURLE_ALREADY_COMPLETE is removed
Daniel Stenberg [Sat, 12 May 2001 09:37:51 +0000 (09:37 +0000)]
CURLE_ALREADY_COMPLETE is removed
CURLE_SSL_PEER_CERTIFICATE is added

23 years agoUses the Curl_SSLConnect() according to the new return type
Daniel Stenberg [Sat, 12 May 2001 09:30:42 +0000 (09:30 +0000)]
Uses the Curl_SSLConnect() according to the new return type

23 years agofixed Curl_SSLConnect() to return CURLcode errors, including the new error
Daniel Stenberg [Sat, 12 May 2001 09:29:56 +0000 (09:29 +0000)]
fixed Curl_SSLConnect() to return CURLcode errors, including the new error
code for peer certificate errors

23 years agochanged wording to make it more obvious I don't continuously work on this.
Daniel Stenberg [Fri, 11 May 2001 14:07:58 +0000 (14:07 +0000)]
changed wording to make it more obvious I don't continuously work on this.

23 years agotwo new FTP file transfer resume test cases added
Daniel Stenberg [Fri, 11 May 2001 11:40:52 +0000 (11:40 +0000)]
two new FTP file transfer resume test cases added

23 years agoremoved unused #ifdef'ed section
Daniel Stenberg [Fri, 11 May 2001 11:38:42 +0000 (11:38 +0000)]
removed unused #ifdef'ed section

23 years agowhen asking for a resumed FTP transfer, even though the entire file has
Daniel Stenberg [Fri, 11 May 2001 11:38:13 +0000 (11:38 +0000)]
when asking for a resumed FTP transfer, even though the entire file has
already been transfered no longer returns error but instead is OK. The
reasoning behind this is of course that no extra actions need to be taken
and it is as if a transfer had been successfully performed.

23 years agocheckheader() added to check headers+contents instead of the previous
Daniel Stenberg [Fri, 11 May 2001 07:52:58 +0000 (07:52 +0000)]
checkheader() added to check headers+contents instead of the previous
strnequal() approach that really didn't follow the RFC properly

23 years agoanother multiple FTP transfer fix
Daniel Stenberg [Fri, 11 May 2001 06:40:04 +0000 (06:40 +0000)]
another multiple FTP transfer fix

23 years agoIngo Wilken's redirect fixes
Daniel Stenberg [Fri, 11 May 2001 06:10:48 +0000 (06:10 +0000)]
Ingo Wilken's redirect fixes

23 years agoIngo Wilken's patch to support multiple spaces after "Location:"
Daniel Stenberg [Thu, 10 May 2001 11:29:47 +0000 (11:29 +0000)]
Ingo Wilken's patch to support multiple spaces after "Location:"

23 years agoWhen re-using a connection, the path pointers were not setup properly so
Daniel Stenberg [Thu, 10 May 2001 09:31:48 +0000 (09:31 +0000)]
When re-using a connection, the path pointers were not setup properly so
that multiple FTP transfers were not possible

23 years agoadded ftpsserver.pl stunnel.pm
Daniel Stenberg [Thu, 10 May 2001 07:51:29 +0000 (07:51 +0000)]
added ftpsserver.pl stunnel.pm