Daniel Stenberg
9c5f79c56a
DEBUGF() is a new conveniant macro to add infof() calls (or similar) for
...
debug builds only. Made the ftp code use it on several places.
2005-05-07 13:57:07 +00:00
Daniel Stenberg
9d7330d879
Since Windows doesn't have/use the POSIX prototype for send() and recv(), we
...
typecast the third argument in the macros to avoid compiler warnings.
2005-04-26 13:08:18 +00:00
Daniel Stenberg
26a5954fa0
adding a bunch of comments for each #endif
2005-04-26 10:55:52 +00:00
Daniel Stenberg
a8ff0a21bf
Based on feedback from Cory Nelson, I added some preprocessor magic in
...
*/setup.h and */config-win32.h to build fine with VS2005 on x64.
2005-04-24 22:25:04 +00:00
Daniel Stenberg
5f0366c2cb
only define _REENTRANT if not already defined, and only in setup.h
2005-04-19 23:19:23 +00:00
Daniel Stenberg
6e61939382
GnuTLS support added. There's now a "generic" SSL layer that we use all over
...
internally, with code provided by sslgen.c. All SSL-layer-specific code is
then written in ssluse.c (for OpenSSL) and gtls.c (for GnuTLS).
As far as possible, internals should not need to know what SSL layer that is
in use. Building with GnuTLS currently makes two test cases fail.
TODO.gnutls contains a few known outstanding issues for the GnuTLS support.
GnuTLS support is enabled with configure --with-gnutls
2005-04-07 15:27:13 +00:00
Daniel Stenberg
ab4086bc24
Updated the copyright year since changes have been this year.
2005-03-31 07:02:02 +00:00
Daniel Stenberg
38f07ce0fb
fix compiler warning
2005-03-19 00:44:55 +00:00
Dan Fandrich
38f797ccd6
Use the proper macro to do uClibc detection.
2005-03-17 20:32:59 +00:00
Dan Fandrich
efaf688650
Fixed ftp support with uClibc due to differing inet_ntoa_r() behaviour.
2005-03-15 21:00:46 +00:00
Gisle Vanem
316e74be74
Removed _WIN32_WINNT to support IPv6 under Win-2K.
2005-01-04 16:00:14 +00:00
Gisle Vanem
f71725de6e
Must include <io.h> and <sys/stat.h> before redefining
...
stat(), fstat() and lseek().
2004-12-16 21:27:29 +00:00
Daniel Stenberg
4f5a6a33b4
moved the lseek() and stat() magic defines to setup.h and now take advantage
...
of struct_stat in formdata.c as well, to support formpost uploads of large
files on Windows too
2004-12-16 18:09:27 +00:00
Daniel Stenberg
95b84adb9b
precaution to prevent double typedefs of the bool
2004-12-15 14:05:07 +00:00
Daniel Stenberg
df3ca59116
Dan Fandrich:
...
Here's a stab at a consolidation of the SSL detection heuristics into
configure. Source files aren't changed by this patch, except for setup.h and
the various config*.h files. Within the configure script, OPENSSL_ENABLED is
used to determine if SSL is being used or not, and outside configure,
USE_SSLEAY means the same thing; this could be even further unified some day.
Now, when SSL is not detected, configure skips the various checks that are
dependent on SSL, speeding up the configure process and avoiding complications
with cross compiles. I also updated all the architecture- specific config
files I could see, but I couldn't test them.
2004-12-11 18:47:22 +00:00
Gisle Vanem
d85bc18178
I changed my mind. Remove ioctl() macro in setup.h instead.
2004-11-26 16:08:15 +00:00
Daniel Stenberg
cd73a733c7
dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
2004-11-11 09:26:09 +00:00
Daniel Stenberg
c688166066
check for and require tld.h to be present before libidn usage is activated
...
in the build, since libidn 0.3.X didn't have the header and we don't support
that old libidn versions anyway.
This was mentioned on the list by Jean-Philippe Barrette-LaPierre and in bug
report #1062264 .
2004-11-08 07:47:08 +00:00
Daniel Stenberg
24d47a6e07
Paul Nolan fix to make libcurl build nicely on Windows CE
2004-11-02 10:12:22 +00:00
Daniel Stenberg
7167cde020
Testing to define _REENTRANT unconditionally in here.
2004-10-26 13:31:55 +00:00
Daniel Stenberg
6b3e3095ea
removed weird preprocessor juggling not needed
2004-10-02 12:58:27 +00:00
Gunter Knauf
90af60a6ef
removed now obsolete ifdef. Shouldnt the other ifdefs be inside the else as they are in ./src/setup.h ?
2004-07-04 15:37:25 +00:00
Daniel Stenberg
c39858aac0
Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
...
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.
2004-06-24 07:43:48 +00:00
Daniel Stenberg
5e65d48ffa
we actually build and run fine with libidn 0.4.1 too, so let's not require
...
anything newer than that
2004-06-14 21:40:11 +00:00
Daniel Stenberg
938a72b2db
Gisle's adjustments to allow building with lcc-win32
2004-06-02 11:36:07 +00:00
Daniel Stenberg
94ca911dc1
delete trailing whitespace
2004-05-24 07:53:25 +00:00
Daniel Stenberg
24420c2191
Simon Josefsson added a idn_free() function in libidn 0.4.5 as a reaction to
...
Gisle's previous mail. We now use this function, and thus we require libidn
0.4.5 or later. No earler version will do.
2004-05-24 07:40:00 +00:00
Daniel Stenberg
648e82f05d
Major hostip.c cleanup and split into multiple files and easier #ifdef
...
usage.
2004-04-26 07:20:11 +00:00
Daniel Stenberg
a8e8e51b14
NDEBUG should not be defined when CURLDEBUG is
2004-04-17 11:33:14 +00:00
Daniel Stenberg
843391c745
Gisle Vanem:
...
A patch to bypass MS' sillyness with regard to IPv6 and getaddrinfo().
The CURLDEBUG part is to avoid redefinition warning caused by memdebug.h. If
ENABLE_IPV6 isn't enabled, it doesn't matter since we never call
getaddrinfo(). Allthough we could to support weird protocols like SOCK_RDM
that Win-2K/XP has.
2004-03-26 13:47:46 +00:00
Daniel Stenberg
5b75919f95
Marty Kuhrt's adjustments for a cleaner VMS build
2004-03-21 22:44:52 +00:00
Daniel Stenberg
5b55f9ecb3
Günter Knauf's NetWare changes.
2004-03-17 12:46:42 +00:00
Daniel Stenberg
b45d50ccc2
Nah, ignore the OS define in here. This is being included by ares and it
...
certainly doesn't need the OS define.
2004-03-10 10:19:32 +00:00
Daniel Stenberg
bc6f3beb9c
Now requires an OS string defined by the config*.h file
2004-03-10 08:15:50 +00:00
Daniel Stenberg
22f4d81f3e
Make sure SIZEOF_CURL_OFF_T is defined before we check for it being > 4.
...
It is only undefined when this file is included by others (like ares) and
in those cases it doesn't matter.
2004-03-10 08:08:02 +00:00
Daniel Stenberg
4e87dd89bf
moved the curl_socket_t typedef downwards
2004-03-10 07:03:13 +00:00
Daniel Stenberg
ce5805a955
Use curl_socket_t instead of int for holding sockets. The typedefs and
...
defines are in setup.h.
2004-03-09 22:52:50 +00:00
Daniel Stenberg
ab35b2837f
Tor Arntsen's fix to a AIX build problem
2004-03-09 21:25:59 +00:00
Daniel Stenberg
e40392ac03
Andrés García's patch to prevent warnings while compiling with mingw, mainly
...
because it is now possible to have both WIN32 and HAVE_CONFIG_H defined.
2004-03-04 15:32:18 +00:00
Daniel Stenberg
b2ef40731a
Tom Bates' adjustment to build on his nsr-tandem-nsk.
2004-03-03 09:27:18 +00:00
Daniel Stenberg
353f764119
Yet another curl_off_t printf format attempt, we now exclude the %-letter from
...
FORMAT_OFF_T to allow additional options to get specified, like with '"%5"
FORMAT_OFF_T'.
2004-03-02 09:31:18 +00:00
Daniel Stenberg
00d5f886e3
- we switch to simply use FORMAT_OFF_T internally
...
- Also, we must not assume that SIZEOF_CURL_OFF_T is defined, as this file
gets included from the ares dir at times and then it isn't defined.
2004-03-02 07:25:08 +00:00
Daniel Stenberg
8cb2a68694
define ENABLE_64BIT if we have enabled 64bit large files
...
define our internal CURL_FORMAT_OFF_T define, we don't use the global one!
2004-03-01 16:23:35 +00:00
Daniel Stenberg
7d844c430c
Gisle Vanem brings name resolving timeout possibilities to windows people.
...
This works by magicly starting up a new thread that can be killed when the
timeout is reached. testtesttest!
2004-02-20 16:41:50 +00:00
Daniel Stenberg
abd7e32c66
simplified and better commented config.h include logic
2004-02-18 08:35:51 +00:00
Daniel Stenberg
dd1f495c2f
we include errno.h to truly know if we have ECONNRESET or not
2004-02-02 11:59:42 +00:00
Daniel Stenberg
df750c236c
Somewhat crude attempt at fixing the test 91 failures. I commit this now
...
so that the automatic testing hosts will test these changes over the weekend.
2004-01-30 12:08:18 +00:00
Daniel Stenberg
7e45a1ac53
moved the definitions of IOCTL_3_ARGS to setup.h
2004-01-29 15:35:42 +00:00
Daniel Stenberg
d8ee927be2
define SIZEOF_CURL_OFF_T if not already defined
2004-01-23 07:41:05 +00:00
Daniel Stenberg
b791e158f0
use curl_off_t instead of off_t!
2004-01-22 12:45:50 +00:00
Daniel Stenberg
36f76396ea
Diego Casorran's fixes to allow native AmigaOS builds
2004-01-13 08:35:57 +00:00
Daniel Stenberg
053f6c85ef
updated year in the copyright string
2004-01-07 09:19:33 +00:00
Daniel Stenberg
3b048880ad
we now have a 'curlassert' function to use
2003-12-10 15:27:06 +00:00
Daniel Stenberg
c79de8d86e
less complicated code for the MSG_NOSIGNAL detection
2003-12-02 22:05:23 +00:00
Daniel Stenberg
2cf209d3f7
If HAVE_MSG_NOSIGNAL is set, we use MSG_NOSIGNAL when we call send() and
...
recv() and we no longer attempt to ignore the SIGPIPE signal.
2003-12-02 10:12:44 +00:00
Daniel Stenberg
aeb5edbf07
Moved the TRUE and FALSE #defines to lib/setup.h instead, as they don't
...
belong in the public header file. They are not in our name space so we
should not set them globally.
2003-11-06 07:21:32 +00:00
Daniel Stenberg
749f5387c1
Gisle Vanem's IPv6-on-Windows patch applied!
2003-10-14 12:00:45 +00:00
Daniel Stenberg
867c189ef7
bail out hard if ipv6 and ares are both enabled at the same time
2003-10-08 19:56:44 +00:00
Daniel Stenberg
17e13acd10
BeOS-adjustments, as provided by Shard
2003-10-05 15:04:09 +00:00
Daniel Stenberg
dc7c6d1030
removed the strcasecmp() proto from here, and moved it to the strequal.c
...
file instead
2003-08-24 14:28:15 +00:00
Daniel Stenberg
a10581d459
Possible code for large file support, added within #if 0 so far.
2003-08-14 22:42:18 +00:00
Daniel Stenberg
b73612392d
ares awareness/usage/support added. If configure --enable-ares is used, we
...
build libcurl to use ares for asynch name resolves.
2003-08-05 14:40:59 +00:00
Daniel Stenberg
5b72eb0b03
Some of Doug Kaufman's changes for the DOS port
2003-07-05 13:13:49 +00:00
Daniel Stenberg
d5043133e6
Gisle Vanem made curl build with djgpp on DOS.
2003-05-21 08:08:48 +00:00
Daniel Stenberg
f26a338a54
copyright year update in the source header
2003-01-16 21:08:12 +00:00
Daniel Stenberg
92aea29a30
make WIN32 defined for Borland properly, as told by Alexander J. Oss
2002-12-04 11:06:17 +00:00
Daniel Stenberg
ba4e69bebc
updated source code boilerplate/header
2002-09-03 11:52:59 +00:00
Daniel Stenberg
08ef208fb7
added disable-[protocol] support, largely provided by Miklos Nemeth
2002-06-11 11:13:01 +00:00
Daniel Stenberg
974f314f57
copyright string (year) update
2002-03-19 07:54:55 +00:00
Daniel Stenberg
55c6f60c90
ugh. the VMS stuff must've been like that for a reason, I put it back again
2002-02-07 14:47:41 +00:00
Daniel Stenberg
cdee43aa59
use the config files in this directory now, not ../
2002-02-07 14:33:36 +00:00
Daniel Stenberg
2182e37433
the bool typedef is now made unsigned, to make sure it stays that on all
...
platforms, unrelated to what they might prefer by default
2002-01-07 22:47:21 +00:00
Daniel Stenberg
af6c394785
Götz Babin-Ebell's OpenSSL ENGINE patch
2001-12-17 23:01:39 +00:00
Daniel Stenberg
dccc77a325
Eric Lavigne updates
2001-11-27 07:27:32 +00:00
Daniel Stenberg
2e32d415c0
myalarm() is history, we now use HAVE_ALARM and we now do our very best to
...
1 - restore the previous sigaction struct as soon as we are about to shut
off our timeout
2 - restore the previous alarm() timeout, in case an application or similar
had it running before we "borrowed" it for a while.
No, this does not fix the multi-thread problem you get with alarm(). This
patch should correct bug report #478780 :
//sourceforge.net/tracker/?func=detail&atid=100976&aid=478780&group_id=976
If not, please post details!
2001-11-06 19:33:13 +00:00
Daniel Stenberg
dc82f9e6df
Replaced read() and write() with recv() and send() for socket operations
...
even under normal unixes.
2001-11-02 13:04:23 +00:00
Daniel Stenberg
51ca5fcbe0
major connecting updates
2001-10-02 09:40:06 +00:00
Daniel Stenberg
4034f31823
cleanups
2001-08-24 07:24:34 +00:00
Daniel Stenberg
7950a95401
adjusted for VMS
2001-08-06 12:27:28 +00:00
Daniel Stenberg
6532f737eb
if NEED_REENTRANT is set, define _REENTRANT already here since it has to
...
be defined as many include files as possible (Solaris req)
2001-05-31 07:01:08 +00:00
Daniel Stenberg
3fcc9677c4
use recv()/send() instead of read()/write() with sockets
2001-01-25 12:21:10 +00:00
Daniel Stenberg
24dee483e9
dual-license fix
2001-01-03 09:29:33 +00:00
Daniel Stenberg
f6daff475f
removed old unused getpass() leftovers
2000-10-26 21:59:54 +00:00
Daniel Stenberg
4f5a4c9bd5
added the bool typedef, moved here from curl/curl.h
2000-10-09 21:36:38 +00:00
Daniel Stenberg
7271ebf23e
include config.h first
2000-08-24 14:27:51 +00:00
Daniel Stenberg
1ef3600a07
haxx.nu => haxx.se
2000-06-20 15:31:26 +00:00
Daniel Stenberg
96dde76b99
moved here from the newlib branch
2000-05-22 14:12:12 +00:00
Daniel Stenberg
aec48e7894
Joern.Hartroth@telekom.de rightfully suggested two #include include fixes
2000-01-17 17:29:42 +00:00
Daniel Stenberg
ae1912cb0d
Initial revision
1999-12-29 14:20:26 +00:00