platform/upstream/curl.git
15 years agoMention what makes this test special
Dan Fandrich [Thu, 11 Dec 2008 03:01:38 +0000 (03:01 +0000)]
Mention what makes this test special

15 years ago- Internet Explorer had a broken HTTP digest authentication before v7 and
Daniel Stenberg [Wed, 10 Dec 2008 23:13:31 +0000 (23:13 +0000)]
- Internet Explorer had a broken HTTP digest authentication before v7 and
  there are servers "out there" that relies on the client doing this broken
  Digest authentication. Apache even comes with an option to work with such
  broken clients.

  The difference is only for URLs that contain a query-part (a '?'-letter and
  text to the right of it).

  libcurl now supports this quirk, and you enable it by setting the
  CURLAUTH_DIGEST_IE bit in the bitmask you pass to the CURLOPT_HTTPAUTH or
  CURLOPT_PROXYAUTH options. They are thus individually controlled to server
  and proxy.

15 years agouse the new URL
Daniel Stenberg [Tue, 9 Dec 2008 22:49:51 +0000 (22:49 +0000)]
use the new URL

15 years agostart over on the 1.6.1 release...
Daniel Stenberg [Tue, 9 Dec 2008 22:41:36 +0000 (22:41 +0000)]
start over on the 1.6.1 release...

15 years agoadd space
Daniel Stenberg [Tue, 9 Dec 2008 22:30:59 +0000 (22:30 +0000)]
add space

15 years agoDocumented CURLOPT_CONNECT_ONLY as being useful only on HTTP URLs.
Dan Fandrich [Tue, 9 Dec 2008 22:00:18 +0000 (22:00 +0000)]
Documented CURLOPT_CONNECT_ONLY as being useful only on HTTP URLs.

15 years agoAdded test cases 1089 and 1090 to test --write-out after a redirect to
Dan Fandrich [Tue, 9 Dec 2008 21:59:57 +0000 (21:59 +0000)]
Added test cases 1089 and 1090 to test --write-out after a redirect to
test a report that the size didn't work, but these test cases pass.

15 years ago- Ken Hirsch simplified how libcurl does FTPS: now it doesn't assume any
Daniel Stenberg [Tue, 9 Dec 2008 15:02:37 +0000 (15:02 +0000)]
- Ken Hirsch simplified how libcurl does FTPS: now it doesn't assume any
  particular state for the control connection like it did before for implicit
  FTPS (libcurl assumed such control connections to be encrypted while some
  FTPS servers such as FileZilla assumes such connections to be clear
  mode). Use the CURLOPT_USE_SSL option to set your desired level.

15 years agoFix for Win32 targets using Watt-32.
Gisle Vanem [Tue, 9 Dec 2008 14:39:08 +0000 (14:39 +0000)]
Fix for Win32 targets using Watt-32.

15 years agoC89 compilers (like Minix' ACK) only need to handle 31 functions arguments
Dan Fandrich [Tue, 9 Dec 2008 01:02:28 +0000 (01:02 +0000)]
C89 compilers (like Minix' ACK) only need to handle 31 functions arguments
so split a long sprintf into two calls to get below that number.

15 years ago195 - SIZE returning 550 must not abort the transfer
Daniel Stenberg [Mon, 8 Dec 2008 20:21:36 +0000 (20:21 +0000)]
195 - SIZE returning 550 must not abort the transfer
Fixed!

15 years ago- Fred Machado posted about a weird FTP problem on the curl-users list and when
Daniel Stenberg [Mon, 8 Dec 2008 20:20:51 +0000 (20:20 +0000)]
- Fred Machado posted about a weird FTP problem on the curl-users list and when
  researching it, it turned out he got a 550 response back from a SIZE command
  and then I fell over the text in RFC3659 that says:

   The presence of the 550 error response to a SIZE command MUST NOT be taken
   by the client as an indication that the file cannot be transferred in the
   current MODE and TYPE.

  In other words: the change I did on September 30th 2008 and that has been
  included in the last two releases were a regression and a bad idea. We MUST
  NOT take a 550 response from SIZE as a hint that the file doesn't exist.

15 years agoAdded needed defines for Watt-32 on Windows.
Gisle Vanem [Mon, 8 Dec 2008 16:12:11 +0000 (16:12 +0000)]
Added needed defines for Watt-32 on Windows.

15 years agoUndefine 'optarg', 'optind' and 'opterr' when using Watt-32
Gisle Vanem [Mon, 8 Dec 2008 16:11:16 +0000 (16:11 +0000)]
Undefine 'optarg', 'optind' and 'opterr' when using Watt-32
(to get correct linkage on Windows).

15 years agoares_writev() shall not be exported when using Watt-32 (has writev).
Gisle Vanem [Mon, 8 Dec 2008 16:09:21 +0000 (16:09 +0000)]
ares_writev() shall not be exported when using Watt-32 (has writev).
Added _USE_32BIT_TIME_T to avoid runtime warning. Applies to
VC-2008+ only.

15 years agoRemoved unneeded defines HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T,
Gisle Vanem [Mon, 8 Dec 2008 14:58:56 +0000 (14:58 +0000)]
Removed unneeded defines HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T,
RETSIGTYPE and HAVE_PROCESS_H.

15 years agoone more
Daniel Stenberg [Mon, 8 Dec 2008 14:26:28 +0000 (14:26 +0000)]
one more

15 years ago192 - "infinite loop during GSS authentication" bug #2221237
Daniel Stenberg [Mon, 8 Dec 2008 14:24:12 +0000 (14:24 +0000)]
192 - "infinite loop during GSS authentication" bug #2221237
Fixed!

15 years ago- Christian Krause filed bug #2221237
Daniel Stenberg [Mon, 8 Dec 2008 13:52:20 +0000 (13:52 +0000)]
- Christian Krause filed bug #2221237
  (http://curl.haxx.se/bug/view.cgi?id=2221237) that identified an infinite
  loop during GSS authentication given some specific conditions. With his
  patience and great feedback I managed to narrow down the problem and
  eventually fix it although I can't test any of this myself!

15 years agothe initial version of the ares_set_socket_callback man page
Daniel Stenberg [Thu, 4 Dec 2008 12:54:43 +0000 (12:54 +0000)]
the initial version of the ares_set_socket_callback man page

15 years agoGregor Jasny provided the patch that introduces ares_set_socket_callback(),
Daniel Stenberg [Thu, 4 Dec 2008 12:53:03 +0000 (12:53 +0000)]
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
and I edited it to also get duped by ares_dup().

15 years agoBring the sys/include.h include test in line with curl's.
Dan Fandrich [Thu, 4 Dec 2008 07:18:13 +0000 (07:18 +0000)]
Bring the sys/include.h include test in line with curl's.

15 years agoFixed the getifaddrs version of Curl_if2ip to work on systems without IPv6
Dan Fandrich [Thu, 4 Dec 2008 06:24:00 +0000 (06:24 +0000)]
Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6
support (e.g. Minix)

15 years ago- Igor Novoseltsev filed bug #2351645
Daniel Stenberg [Wed, 3 Dec 2008 15:20:27 +0000 (15:20 +0000)]
- Igor Novoseltsev filed bug #2351645
  (http://curl.haxx.se/bug/view.cgi?id=2351645) that identified a problem with
  the multi interface that occured if you removed an easy handle while in
  progress and the handle was used in a HTTP pipeline.

15 years agofilled in SONAME number bump info, after some CVS digging
Daniel Stenberg [Wed, 3 Dec 2008 15:20:06 +0000 (15:20 +0000)]
filled in SONAME number bump info, after some CVS digging

15 years ago- Pawel Kierski pointed out a mistake in the cookie code that could lead to a
Daniel Stenberg [Wed, 3 Dec 2008 15:08:09 +0000 (15:08 +0000)]
- Pawel Kierski pointed out a mistake in the cookie code that could lead to a
  bad fclose() after a fatal error had occured.
  (http://curl.haxx.se/bug/view.cgi?id=2382219)

15 years agoLet's not call ares_save_options() deprecated just yet
Daniel Stenberg [Wed, 3 Dec 2008 10:03:07 +0000 (10:03 +0000)]
Let's not call ares_save_options() deprecated just yet

15 years agoIntroduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
Daniel Stenberg [Wed, 3 Dec 2008 09:59:50 +0000 (09:59 +0000)]
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
Also discussed on the ml.

15 years agoexplain the two *channel_inuse fields somewhat better
Daniel Stenberg [Tue, 2 Dec 2008 23:00:10 +0000 (23:00 +0000)]
explain the two *channel_inuse fields somewhat better

15 years agoMake sure sys/socket.h is included before netinet/in.h (required by
Dan Fandrich [Tue, 2 Dec 2008 02:58:04 +0000 (02:58 +0000)]
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C, and condoned by SUS)

15 years agominor indent fix
Daniel Stenberg [Mon, 1 Dec 2008 22:36:39 +0000 (22:36 +0000)]
minor indent fix

15 years agoConvert the public config struct to the same binary size/construct as in the
Daniel Stenberg [Mon, 1 Dec 2008 19:06:24 +0000 (19:06 +0000)]
Convert the public config struct to the same binary size/construct as in the
latest releases to remain ABI compatible.

15 years agoadded some more entries for stuff done the last ~2 years
Daniel Stenberg [Mon, 1 Dec 2008 18:46:31 +0000 (18:46 +0000)]
added some more entries for stuff done the last ~2 years

15 years agoPeople have successfully ran libcurl on iphone
Daniel Stenberg [Sun, 30 Nov 2008 22:51:54 +0000 (22:51 +0000)]
People have successfully ran libcurl on iphone

15 years agoFurther adjust a libssh2 preprocessor function-symbol definition check
Yang Tse [Sat, 29 Nov 2008 17:45:16 +0000 (17:45 +0000)]
Further adjust a libssh2 preprocessor function-symbol definition check

15 years agoAdjust some libssh2 preprocessor symbol definition checks
Yang Tse [Sat, 29 Nov 2008 16:39:56 +0000 (16:39 +0000)]
Adjust some libssh2 preprocessor symbol definition checks

15 years agoAdded '-DHAVE_GETHOSTNAME'.
Gisle Vanem [Sat, 29 Nov 2008 15:19:46 +0000 (15:19 +0000)]
Added '-DHAVE_GETHOSTNAME'.

15 years agoMake sure sys/socket.h is included before netinet/in.h (required by
Dan Fandrich [Sat, 29 Nov 2008 00:26:07 +0000 (00:26 +0000)]
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C)

15 years agoNetware has gethostname()
Dan Fandrich [Fri, 28 Nov 2008 23:34:39 +0000 (23:34 +0000)]
Netware has gethostname()

15 years agoFixed a couple of typos
Dan Fandrich [Fri, 28 Nov 2008 23:24:06 +0000 (23:24 +0000)]
Fixed a couple of typos

15 years agoDon't tweak the HAVE_* macros when using autoconf
Dan Fandrich [Fri, 28 Nov 2008 23:12:11 +0000 (23:12 +0000)]
Don't tweak the HAVE_* macros when using autoconf

15 years agoMake use of gethostname() conditional on it being available
Dan Fandrich [Fri, 28 Nov 2008 22:41:14 +0000 (22:41 +0000)]
Make use of gethostname() conditional on it being available

15 years agoOnly set TCP_NODELAY when it exists
Dan Fandrich [Fri, 28 Nov 2008 22:07:40 +0000 (22:07 +0000)]
Only set TCP_NODELAY when it exists

15 years agoupdated with changes, preparing for a release soon
Daniel Stenberg [Fri, 28 Nov 2008 15:44:01 +0000 (15:44 +0000)]
updated with changes, preparing for a release soon

15 years agoGerald Combs fixed a bug in ares_parse_ptr_reply() which would cause a
Yang Tse [Wed, 26 Nov 2008 17:04:35 +0000 (17:04 +0000)]
Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause a
buffer to shrink instead of expand if a reply contained 8 or more records.

15 years agoBrad Spencer provided changes to allow buildconf to work on OS X.
Yang Tse [Wed, 26 Nov 2008 16:51:51 +0000 (16:51 +0000)]
Brad Spencer provided changes to allow buildconf to work on OS X.

15 years agonarrow the comment to < 80 columns
Daniel Stenberg [Wed, 26 Nov 2008 12:35:24 +0000 (12:35 +0000)]
narrow the comment to < 80 columns

15 years agoAdded tests 1087 and 1088 to test Basic authentication on a redirect
Dan Fandrich [Tue, 25 Nov 2008 23:30:53 +0000 (23:30 +0000)]
Added tests 1087 and 1088 to test Basic authentication on a redirect
with and without --location-trusted

15 years agoIf a HTTP request is Basic and num is already >=1000, the HTTP test server
Dan Fandrich [Tue, 25 Nov 2008 23:23:47 +0000 (23:23 +0000)]
If a HTTP request is Basic and num is already >=1000, the HTTP test server
adds 1 to num to get the data section to return. This allows testing
authentication negotiations using the Basic authentication method.

15 years agoIn preparation for the upcomming IPv6 nameservers patch, the internal
Yang Tse [Tue, 25 Nov 2008 16:26:58 +0000 (16:26 +0000)]
In preparation for the upcomming IPv6 nameservers patch, the internal
ares_addr union is now changed into an internal struct which also holds
the address family.

15 years agoFully clean up after test 608 so that it can be run twice in succession.
Dan Fandrich [Mon, 24 Nov 2008 22:06:43 +0000 (22:06 +0000)]
Fully clean up after test 608 so that it can be run twice in succession.

15 years ago191 - "proposed patch for curl/libssh2 bugfix"
Daniel Stenberg [Mon, 24 Nov 2008 14:05:05 +0000 (14:05 +0000)]
191 - "proposed patch for curl/libssh2 bugfix"
      http://curl.haxx.se/mail/archive-2008-10/0000.html
Done!

15 years ago- Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19
Daniel Stenberg [Mon, 24 Nov 2008 13:59:51 +0000 (13:59 +0000)]
- Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19
  function when built to support SCP and SFTP that helps the library to know
  in which direction a particular libssh2 operation would return EAGAIN so
  that libcurl knows what socket conditions to wait for before trying the
  function call again. Previously (and still when using libssh2 0.18 or
  earlier), libcurl will busy-loop in this situation when the easy interface
  is used!

15 years agoMarkus Koetter's adaptation of hiperfifo.c to instead use libev
Daniel Stenberg [Fri, 21 Nov 2008 10:10:33 +0000 (10:10 +0000)]
Markus Koetter's adaptation of hiperfifo.c to instead use libev

15 years agorestored from my messy previous commit mistake
Daniel Stenberg [Fri, 21 Nov 2008 07:47:31 +0000 (07:47 +0000)]
restored from my messy previous commit mistake

15 years agoAutomatically detect OpenBSD's CA cert bundle.
Dan Fandrich [Fri, 21 Nov 2008 06:36:21 +0000 (06:36 +0000)]
Automatically detect OpenBSD's CA cert bundle.

15 years agoMake checking for struct ifreq a prerequisite for setting
Dan Fandrich [Thu, 20 Nov 2008 07:59:26 +0000 (07:59 +0000)]
Make checking for struct ifreq a prerequisite for setting
HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C
doesn't currently define it.

15 years agouse unsigned short better intead of mixing with ints to prevent compiler
Daniel Stenberg [Thu, 20 Nov 2008 07:50:48 +0000 (07:50 +0000)]
use unsigned short better intead of mixing with ints to prevent compiler
warnings

15 years agoplease the picky compilers by staying with short as the data we get is short
Daniel Stenberg [Thu, 20 Nov 2008 07:41:26 +0000 (07:41 +0000)]
please the picky compilers by staying with short as the data we get is short
only

15 years ago194 - remove "Pragma: no-cache" from default HTTP requests
Daniel Stenberg [Wed, 19 Nov 2008 22:02:38 +0000 (22:02 +0000)]
194 - remove "Pragma: no-cache" from default HTTP requests
done!

15 years ago- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
Daniel Stenberg [Wed, 19 Nov 2008 22:00:14 +0000 (22:00 +0000)]
- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
  used. It has been used since forever but it was never a good idea to use
  unless explicitly asked for.

15 years agoJosef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
Daniel Stenberg [Wed, 19 Nov 2008 21:56:11 +0000 (21:56 +0000)]
Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
you use runtests.pl -g, will be sourced by gdb to allow additional fancy
or whatever you see fit

15 years agoand now it compiles too!
Daniel Stenberg [Wed, 19 Nov 2008 15:31:55 +0000 (15:31 +0000)]
and now it compiles too!

15 years agoI updated this example to use the modern paradigms of the socket API where
Daniel Stenberg [Wed, 19 Nov 2008 15:30:41 +0000 (15:30 +0000)]
I updated this example to use the modern paradigms of the socket API where
*_socket_all() and *_socket() aren't used at all but only *_socket_action()
is.

15 years ago- Brad Spencer brought the new function ares_gethostbyname_file() which simply
Daniel Stenberg [Wed, 19 Nov 2008 15:16:16 +0000 (15:16 +0000)]
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
  resolves a host name from the given file, using the regular hosts syntax.

15 years ago- Christian Krause reported and fixed a memory leak that would occur with HTTP
Daniel Stenberg [Wed, 19 Nov 2008 14:22:01 +0000 (14:22 +0000)]
- Christian Krause reported and fixed a memory leak that would occur with HTTP
  GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386)

15 years ago- Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got
Daniel Stenberg [Wed, 19 Nov 2008 10:15:19 +0000 (10:15 +0000)]
- Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got
  when uploading files to a single FTP server using multiple easy handle
  handles with the multi interface. Occasionally a handle would stall in
  mysterious ways.

  The problem turned out to be a side-effect of the ConnectionExists()
  function's eagerness to re-use a handle for HTTP pipelining so it would
  select it even if already being in use, due to an inadequate check for its
  chances of being used for pipelnining.

15 years agouser provided PATH_SEPARATOR always overrides auto-detected one
Yang Tse [Wed, 19 Nov 2008 01:57:27 +0000 (01:57 +0000)]
user provided PATH_SEPARATOR always overrides auto-detected one

15 years agoattempting to keep lines below 80 chars
Yang Tse [Tue, 18 Nov 2008 20:13:55 +0000 (20:13 +0000)]
attempting to keep lines below 80 chars

15 years agoAvoid creating garbage on an OOM error
Dan Fandrich [Tue, 18 Nov 2008 19:58:44 +0000 (19:58 +0000)]
Avoid creating garbage on an OOM error

15 years agoprovide a common PATH_SEPARATOR check method which is required by
Yang Tse [Tue, 18 Nov 2008 19:29:31 +0000 (19:29 +0000)]
provide a common PATH_SEPARATOR check method which is required by
upcomming work to support the broadest range of Autoconf versions

15 years agoMade an array static const
Dan Fandrich [Tue, 18 Nov 2008 09:11:34 +0000 (09:11 +0000)]
Made an array static const

15 years agoAdded #include "rawstr.h"
Dan Fandrich [Tue, 18 Nov 2008 08:53:51 +0000 (08:53 +0000)]
Added #include "rawstr.h"

15 years agocheck for gethostbyaddr and gethostbyname as it is done for other functions
Yang Tse [Tue, 18 Nov 2008 01:57:28 +0000 (01:57 +0000)]
check for gethostbyaddr and gethostbyname as it is done for other functions

15 years agocurl also builds fine for microblaze uclinux
Daniel Stenberg [Mon, 17 Nov 2008 21:43:39 +0000 (21:43 +0000)]
curl also builds fine for microblaze uclinux

15 years agolibcurl has been built and ran on Cell OS on the Cell processor (playstation 3)
Daniel Stenberg [Mon, 17 Nov 2008 21:41:03 +0000 (21:41 +0000)]
libcurl has been built and ran on Cell OS on the Cell processor (playstation 3)

15 years agoAdded more compiler warning options for gcc 4.3
Dan Fandrich [Mon, 17 Nov 2008 21:11:10 +0000 (21:11 +0000)]
Added more compiler warning options for gcc 4.3

15 years agoDisplay the time in verbose mode during the torture tests to help determine
Dan Fandrich [Mon, 17 Nov 2008 20:24:13 +0000 (20:24 +0000)]
Display the time in verbose mode during the torture tests to help determine
when the tests stall.

15 years agothe IP address we want/request/use from the interface is the 'local'
Yang Tse [Mon, 17 Nov 2008 19:08:35 +0000 (19:08 +0000)]
the IP address we want/request/use from the interface is the 'local'
address, the one on the box libcurl is running, not the 'remote' one.

15 years agofix comment
Yang Tse [Mon, 17 Nov 2008 14:26:22 +0000 (14:26 +0000)]
fix comment

15 years agoif2ip.c related preprocessor cleanup
Yang Tse [Mon, 17 Nov 2008 14:24:15 +0000 (14:24 +0000)]
if2ip.c related preprocessor cleanup

15 years agoMake configure script check if ioctl with the SIOCGIFADDR command can be
Yang Tse [Mon, 17 Nov 2008 13:13:15 +0000 (13:13 +0000)]
Make configure script check if ioctl with the SIOCGIFADDR command can be
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.

15 years agofix leftover from previous commit
Yang Tse [Mon, 17 Nov 2008 10:05:35 +0000 (10:05 +0000)]
fix leftover from previous commit

15 years agopipelining for PUT is a good idea
Daniel Stenberg [Mon, 17 Nov 2008 09:35:10 +0000 (09:35 +0000)]
pipelining for PUT is a good idea

15 years agoFixed an outdated mention of having keep strings around in curl_easy_setopt
Dan Fandrich [Mon, 17 Nov 2008 08:16:25 +0000 (08:16 +0000)]
Fixed an outdated mention of having keep strings around in curl_easy_setopt
calls. Added a paragraph explaining that libcurl takes care of low-level
protocol details. Made a few minor edits.

15 years agoupdate with my last changes
Yang Tse [Mon, 17 Nov 2008 04:11:29 +0000 (04:11 +0000)]
update with my last changes

15 years agofix inet_pton() runtime configure check
Yang Tse [Mon, 17 Nov 2008 03:54:05 +0000 (03:54 +0000)]
fix inet_pton() runtime configure check

15 years agobackport fix for failures to reject certain malformed literals
Yang Tse [Mon, 17 Nov 2008 02:40:41 +0000 (02:40 +0000)]
backport fix for failures to reject certain malformed literals

15 years agoChristian Krause fixed a build failure when building with gss support
Daniel Stenberg [Sun, 16 Nov 2008 12:42:53 +0000 (12:42 +0000)]
Christian Krause fixed a build failure when building with gss support
enabled and FTP disabled.

15 years agofix OOM problem reported by Jim Meyering
Daniel Stenberg [Sun, 16 Nov 2008 12:26:50 +0000 (12:26 +0000)]
fix OOM problem reported by Jim Meyering

15 years agotrim down configure script size
Yang Tse [Sun, 16 Nov 2008 02:23:18 +0000 (02:23 +0000)]
trim down configure script size

15 years agomy recent changes
Daniel Stenberg [Sat, 15 Nov 2008 23:47:01 +0000 (23:47 +0000)]
my recent changes

15 years agobased on a report by Jim Meyering, I went over and added checks for return
Daniel Stenberg [Sat, 15 Nov 2008 23:43:10 +0000 (23:43 +0000)]
based on a report by Jim Meyering, I went over and added checks for return
codes for all calls to malloc and strdup that were missing. I also changed
a few malloc(13) to use arrays on the stack and a few malloc(PATH_MAX) to
instead use aprintf() to lower memory use.
I also fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is
in use.

15 years agoFixed an OOM condition reported by Jim Meyering
Daniel Stenberg [Sat, 15 Nov 2008 23:07:35 +0000 (23:07 +0000)]
Fixed an OOM condition reported by Jim Meyering

15 years agoAdded some more examples of options to reduce binary size. Added x86_64 Linux
Dan Fandrich [Fri, 14 Nov 2008 23:19:18 +0000 (23:19 +0000)]
Added some more examples of options to reduce binary size. Added x86_64 Linux
as a known-working environment.

15 years agoAdded some #ifdefs around header files and change the EAGAIN test to
Dan Fandrich [Fri, 14 Nov 2008 23:17:32 +0000 (23:17 +0000)]
Added some #ifdefs around header files and change the EAGAIN test to
fix compilation on Cell (reported by Jeff Curley).

15 years agoAdded .xml as one of the few common file extensions known by the multipart
Dan Fandrich [Fri, 14 Nov 2008 19:22:40 +0000 (19:22 +0000)]
Added .xml as one of the few common file extensions known by the multipart
form generator.  Made the extensions part of the MIME type struct to reduce
the size and run-time relocations necessary to build the table.

15 years agocheck for NULL returns from strdup() - reported by Jim Meyering
Daniel Stenberg [Fri, 14 Nov 2008 16:42:05 +0000 (16:42 +0000)]
check for NULL returns from strdup() - reported by Jim Meyering
also prevent buffer overflow on MSDOS when you do for example -O on a url
with a file name part longer than PATH_MAX letters

15 years agofix an OOM problem detected by Jim Meyering
Daniel Stenberg [Fri, 14 Nov 2008 16:26:39 +0000 (16:26 +0000)]
fix an OOM problem detected by Jim Meyering

15 years agoRemove a chunk of unused code that was #ifdef'de on defines we never set.
Daniel Stenberg [Fri, 14 Nov 2008 16:22:18 +0000 (16:22 +0000)]
Remove a chunk of unused code that was #ifdef'de on defines we never set.
We do testing of code functions using the test suite instead!