Daniel Stenberg
55e61c092e
Fixed multiple IP connects with the multi interface. This fix is influenced
...
by Gisle Vanem's patch, only modified by me.
2004-08-04 12:38:01 +00:00
Daniel Stenberg
de6ab3de22
Dylan Salisbury's fix to prevent us from accepting cookies from TLD only
2004-08-04 12:26:27 +00:00
Daniel Stenberg
81c48aa43d
Joel Chen reported that we assumed content within quotes a bit too much in
...
the digest code. This fixes it.
2004-07-31 07:36:01 +00:00
Daniel Stenberg
0cfa9b52ae
prevent all the sig and alarm stuff when using ares
2004-07-29 08:06:33 +00:00
Daniel Stenberg
48b92c163f
fix a mingw32 build warning
2004-07-29 07:48:47 +00:00
Daniel Stenberg
ae2f002b44
added typecast in an attempt to fix a mingw32 warning
2004-07-29 07:34:17 +00:00
Daniel Stenberg
89c312691e
additional typecasts to please MIPSPro on 64bit IRIX
2004-07-29 07:30:38 +00:00
Daniel Stenberg
3e01f70468
curl_easy_reset was added
2004-07-28 21:40:20 +00:00
Daniel Stenberg
b9f1dd7691
Bertrand Demiddelaer fixed the host name to get setup properly even when
...
a connection is re-used, when a proxy is in use.
2004-07-28 21:27:33 +00:00
Daniel Stenberg
a7bed4fc7c
Fixes Brian Akins' reported problems with duplicate Host: headers on re-used
...
connections.
2004-07-28 21:13:29 +00:00
Daniel Stenberg
0e03165467
Bertrand Demiddelaer fixed two missing newlines
2004-07-26 15:42:07 +00:00
Daniel Stenberg
f508f30fb6
curl_easy_reset() added. Need testing and docs. I also think we should make
...
the initial setting up the struct should use this single function to avoid
having the initialisation code at two places.
2004-07-24 21:31:01 +00:00
Daniel Stenberg
cd2e99e980
deal with negative Content-Length: headers by ignoring the info
2004-07-16 21:01:16 +00:00
Gunter Knauf
972d39234f
removed Makefile.b32.resp from repository.
2004-07-16 10:14:51 +00:00
Gunter Knauf
798349fce6
removed Makefile.b32.resp from the list.
2004-07-16 09:23:29 +00:00
Gunter Knauf
9612fda886
changed to use a temporary response file with tlib to give W9x a chance to build; looks ugly but works fine.
2004-07-16 09:20:57 +00:00
Gunter Knauf
c0d1d6926c
some more tweaks, fixed zlib suport.
2004-07-15 21:51:59 +00:00
Gunter Knauf
932a6f6b77
made OpenSSL support conditional;
...
removed ugly dependence on Makefile.b32.resp.
2004-07-15 01:59:59 +00:00
Gunter Knauf
1318760ad2
Gisle's fix to support Borland builds again.
2004-07-15 01:08:08 +00:00
Daniel Stenberg
ca5d1e7a8d
removed the config-netware.h from the release archives
2004-07-14 14:18:31 +00:00
Gunter Knauf
783381c163
updated for current cvs sources; looking for getting rid of this file....
2004-07-13 20:02:31 +00:00
Gunter Knauf
5f26bee7c8
changed to use Makefile.inc.
2004-07-13 20:01:15 +00:00
Gunter Knauf
6e6748f051
changed to use Makefile.inc since Gisle agreed.
2004-07-11 23:43:32 +00:00
Gunter Knauf
08df4b8971
changed paths to external libs to recent versions.
2004-07-11 13:49:18 +00:00
Gunter Knauf
35270e50c2
removed obsolete NetWare config files;
...
we generate now config.h dynamically from Makefile.
2004-07-11 09:31:53 +00:00
Gunter Knauf
03cb3b9db1
ifdef keep_sigact since its only used when SIGALRM is defined.
2004-07-10 23:11:22 +00:00
Gunter Knauf
19ad942739
fixed ares linking.
2004-07-07 20:46:39 +00:00
Daniel Stenberg
2a6f9aa155
Andres Garcia pointed out that we searched for a slash badly since it is
...
converted and thus we must search for backslash on windows
2004-07-06 15:16:05 +00:00
Gunter Knauf
954575a19d
changed to use Makefile.inc; made paths overwritable.
2004-07-05 13:25:30 +00:00
Gunter Knauf
47bbe36725
added comment.
2004-07-05 13:24:44 +00:00
Gunter Knauf
dba40b35f2
try to relax linux build host detection.
2004-07-05 01:58:33 +00:00
Daniel Stenberg
dfda9cc007
explicit typecasts to prevent warnings
2004-07-04 21:54:49 +00:00
Daniel Stenberg
e39b29fc48
typecast the conversion to uInt when assigning z->avail_in to prevent
...
warnings from picky compilers
2004-07-04 21:53:46 +00:00
Daniel Stenberg
4c17ba4fc0
make sure the 3rd argument passed to bind() is a socklen_t
2004-07-04 21:48:54 +00:00
Daniel Stenberg
4511f7ac50
SSL_get_verify_result() returns a long, so we receive the result in a long
...
and not an int.
2004-07-04 21:42:32 +00:00
Daniel Stenberg
b9f76f11bb
typecast long => int conversion
2004-07-04 21:38:36 +00:00
Daniel Stenberg
17841a20e3
explicit typecasts when converting from long to int to avoid warnings
2004-07-04 21:37:35 +00:00
Daniel Stenberg
d2e6a0583a
made 'connectindex' a long variable to prevent compiler warnings when
...
implicitly converting it to int
2004-07-04 21:36:14 +00:00
Daniel Stenberg
31c332af93
typecast the conversion from long to int to prevent picky compiler warnings
2004-07-04 21:35:12 +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
Gunter Knauf
efb1fdbec8
removed abort() - sync'd with getdate.y 1.26
2004-07-04 15:27:08 +00:00
Daniel Stenberg
bada8cc259
include the Makefile.inc file to get all sources and headers
2004-07-04 08:45:25 +00:00
Gunter Knauf
6e72ea7442
reverted, older gcc breaks compilation since it doesnt know the switch.
2004-07-03 20:18:02 +00:00
Gunter Knauf
a4aac27fd3
killed warning with gcc 3.3.1 and later when using -O2.
2004-07-03 19:58:01 +00:00
Gunter Knauf
fc0df97278
modified to use new Makefile.inc to build up object list;
...
added generation of config.h and a prebuild target to create all neded files.
2004-07-03 18:06:39 +00:00
Gunter Knauf
592658e874
added Makefile.inc which can be included from other makefiles to reduce maintaining.
2004-07-03 17:49:40 +00:00
Daniel Stenberg
aedadfc779
explicit typecasts to double to prevent warnings about implicit conversions
...
that might lose accuracy
2004-07-02 11:56:26 +00:00
Daniel Stenberg
d1d53b2bbf
make clean now removes getdate.c
2004-07-02 11:25:13 +00:00
Daniel Stenberg
a9572bf88a
Andrés García found out the share cleanup code crashes when you cleanup
...
and there are not lock/unlock functions set!
2004-07-02 08:28:31 +00:00
Daniel Stenberg
090b89cc76
Variable type cleanups to please the picky MIPSPro compiler.
2004-07-01 08:10:21 +00:00
Daniel Stenberg
f05d47ddd6
variable type cleanup to fix picky compiler warnings
2004-07-01 07:43:20 +00:00
Daniel Stenberg
fcfd4bef2d
typecast to prevent picky compiler warning
2004-07-01 07:30:19 +00:00
Daniel Stenberg
18dc8fbc26
typecast to int when the variable is int!
2004-07-01 07:28:36 +00:00
Daniel Stenberg
e35187741b
spellfixed comments
2004-07-01 06:08:06 +00:00
Daniel Stenberg
ce945bd2f0
5K array on the stack is a big hefty, it is now allocated with malloc
...
instead
2004-06-30 12:05:07 +00:00
Daniel Stenberg
8efa6f407d
I think 1024 bytes is enough for even most ipv6 addresses :-)
2004-06-30 12:04:37 +00:00
Daniel Stenberg
85bd4621db
Prevent a very long password to buffer overflow the global variable we
...
use when built with a very old OpenSSL version.
2004-06-30 11:53:34 +00:00
Daniel Stenberg
6c3759d78d
removed trailing whitespace, free a missing malloc when returning error
2004-06-30 11:51:24 +00:00
Daniel Stenberg
4af08a19f8
passing in a very long interface name could make a buffer overflow
2004-06-30 11:48:19 +00:00
Daniel Stenberg
c7a9e07909
simplified the check for when to free() the buf data
2004-06-30 11:32:16 +00:00
Daniel Stenberg
185baf036b
NOBODY set TRUE after a POST makes a good HEAD now
2004-06-30 11:09:16 +00:00
Daniel Stenberg
ba40eccc90
make the SSL connect use the same default connect timeout define as the
...
generic connect uses
2004-06-30 09:22:48 +00:00
Daniel Stenberg
7a52f44bd4
Gisle fixed a bad free from the resolve reorg, I changed type of the buf
...
variable to sort out some compiler warnings.
2004-06-29 18:44:59 +00:00
Daniel Stenberg
efa5485744
Gisle's djgpp updates
2004-06-29 18:43:56 +00:00
Daniel Stenberg
808621ab22
corrected the Curl_is_connected() proto
2004-06-29 11:21:05 +00:00
Daniel Stenberg
6ed5feda2b
First attempt at making the multi interface work when connecting to a host
...
that resolves to multiple IP addresses.
2004-06-29 11:20:07 +00:00
Daniel Stenberg
b0cd96478c
oops 5 bytes makes 4 letters plus zero byte
2004-06-24 15:15:27 +00:00
Daniel Stenberg
387ec712e6
fix warning
2004-06-24 15:06:25 +00:00
Daniel Stenberg
f2a99d7d74
the _num_chars() function is not used, removing
2004-06-24 15:05:39 +00:00
Daniel Stenberg
8b6b15dccc
to prevent compier warnings, we only declare len if we have code
...
that uses it
2004-06-24 14:52:51 +00:00
Daniel Stenberg
785bad388b
Gisle cleaned up remaining host resolve re-org issues
2004-06-24 14:39:52 +00:00
Daniel Stenberg
cf10df6c68
include header for our printfs
2004-06-24 14:35:45 +00:00
Daniel Stenberg
5b55dcbfbb
reverted bad win32 fix
2004-06-24 14:34:13 +00:00
Gunter Knauf
e7dbbd16a5
fixed the MSVC build.
2004-06-24 13:49:14 +00:00
Daniel Stenberg
62f0457961
length limit the sscanf() parsing to prevent buffer overflow
2004-06-24 12:07:36 +00:00
Daniel Stenberg
8879b57b73
ah, simplified my latest change more
2004-06-24 12:01:20 +00:00
Daniel Stenberg
e49a6feabb
fix for systems without gethostbyname_r()
2004-06-24 11:58:43 +00:00
Daniel Stenberg
feb2dd2835
Replaced all uses of sprintf() with the safer snprintf(). It is just a
...
precaution to prevent mistakes to lead to buffer overflows.
2004-06-24 11:54:11 +00:00
Daniel Stenberg
5e34f3dc01
made the Curl_he2ai() take the port number as an int intead, to avoid lots
...
of typecasts all over
2004-06-24 10:43:50 +00:00
Daniel Stenberg
0031d76f2a
use snprintf() to be on the safe side
2004-06-24 10:43:22 +00:00
Daniel Stenberg
00ee738fdd
typecasts to prevent warnings
2004-06-24 09:14:59 +00:00
Daniel Stenberg
8d0a823124
only use sockaddr_in6 on ipv6-enabled hosts
2004-06-24 09:13:50 +00:00
Daniel Stenberg
cdb419d65e
typecast to prevent warning
2004-06-24 08:31:17 +00:00
Daniel Stenberg
d6f9a41539
use Curl_addrinfo, not 'struct addrinfo'
2004-06-24 08:30:39 +00:00
Daniel Stenberg
1daa258b8a
fixed problems I missed to fix from my cleanup
2004-06-24 08:09:54 +00:00
Daniel Stenberg
560c257bd0
prevent warning
2004-06-24 08:08:28 +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
818aed35e2
static functions are better not Curl_ prefixed to make their static
...
status more obvious
2004-06-23 09:08:03 +00:00
Daniel Stenberg
2ed524f07e
When adding the return -1 to prevent warnings on some compilers, others
...
started complaining since it won't be reached... So I removed the call to
abort() and just return -1 instead. abort() was wrong to call anyway since
this is a library!
2004-06-23 06:17:17 +00:00
Daniel Stenberg
5f1eefd03f
prevent a warning
2004-06-23 06:14:23 +00:00
Gunter Knauf
522b4d7576
one copy&paste too much, removed the define again.
2004-06-22 23:56:19 +00:00
Gunter Knauf
d6dcb08407
argh - copy&paste error.
2004-06-22 23:22:37 +00:00
Gunter Knauf
806c756a2d
syncronized with recent getdate.y updates.
2004-06-22 23:04:57 +00:00
Daniel Stenberg
2494701347
the hostname variable wasn't assigned and we no longer use it
2004-06-22 21:25:53 +00:00
Daniel Stenberg
35558e6bd7
David Cohen pointed out that RFC2109 says clients should allow cookies to
...
contain least 4096 bytes while libcurl only allowed 2047. I raised the limit
to 4999 now and made the used buffer get malloc()ed instead of simply
allocated on stack as before.
2004-06-22 21:15:51 +00:00
Daniel Stenberg
7659747e6f
Günter Knauf fixed getdate.y to remove a few warnings. I removed the
...
ifdef'ed test we never ever use anyway.
2004-06-22 21:12:34 +00:00
Daniel Stenberg
d73425061a
Moved the "About to connect() to" text to the place where the host name is
...
actually known, as before this text lied when used in i.e FTP.
2004-06-22 15:23:01 +00:00
Daniel Stenberg
76920413d9
Gisle fixed the wildcard checks for certificates.
2004-06-22 08:51:22 +00:00
Daniel Stenberg
44d9a8ba4e
Gunter's fix to avoid the notorious YYSTACK_USE_ALLOCA warning we get on
...
several platforms/compilers/yacc versions.
2004-06-22 07:27:43 +00:00
Daniel Stenberg
dca6386234
pass an int pointer when it expects an int pointer...
2004-06-22 06:50:41 +00:00
Daniel Stenberg
8e28721057
The read callback can now return CURL_READFUNC_ABORT to stop a transfer.
2004-06-21 14:07:38 +00:00
Daniel Stenberg
29c546b426
typecasts to prevent compiler warnings
2004-06-21 08:37:53 +00:00
Daniel Stenberg
cd7a0f829f
When doing auth negotiations or authprobing, we only consider HTTP code
...
<300 to be good.
2004-06-19 10:10:24 +00:00
Daniel Stenberg
cf3f1ef284
prevent compiler warning
2004-06-19 09:38:08 +00:00
Daniel Stenberg
bd3d5a17b4
Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
...
mailing list.
2004-06-18 06:20:43 +00:00
Daniel Stenberg
d4b577114b
With David Byron's test server I could repeat his problem and make sure that
...
POSTing over HTTPS:// with NTLM works fine now. There was a general problem
with multi-pass authentication with non-GET operations with CONNECT.
2004-06-18 06:15:26 +00:00
Daniel Stenberg
05baf94b43
Keep the upload byte counter in an curl_off_t, not an int. 32bits is not
...
enough. This is most likely the bug Jean-Louis Lemaire reported that makes
2GB FTP uploads to report error when completed.
Also padded comments to get them aligned again, only for visibility.
2004-06-16 09:28:47 +00:00
Daniel Stenberg
a76288b99a
Alexander Krasnostavsky fixed a flaw in the 3rd party transfer code that
...
didn't properly check return code.
2004-06-16 09:05:22 +00:00
Daniel Stenberg
80a1e972fc
Fix the auth code to enable us to i.e set DIGEST and then find out that the
...
server doesn't require any auth at all and then we just continue nicely. We
now have an extra bit in the connection struct named 'authprobe' that is TRUE
when doing pure "HTTP authentication probing".
2004-06-15 08:45:22 +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
24572daccc
Allow formposting of files larger than what fits in memory by not reading the
...
file until it is actually being uploaded.
Make sure we build and still work with HTTP disabled - the SSL code might use
the boundary string for some random seeding.
2004-06-14 08:51:43 +00:00
Daniel Stenberg
4cd96483f6
moved default: in a switch case to prevent compiler warning that 'request'
...
might be used uninitialized
2004-06-13 09:08:38 +00:00
Daniel Stenberg
8f1783b8a7
provide curl_formfree() even when http is disabled, it does nothing then
2004-06-13 08:59:37 +00:00
Daniel Stenberg
be72eaa327
use Curl_strcasestr() when checking wildcard cert names
2004-06-13 08:33:26 +00:00
Daniel Stenberg
61bded1d82
added Curl_strcasestr() for case insensitive strstr() searching
2004-06-13 08:32:57 +00:00
Gunter Knauf
4b3937373a
removed unused include path.
2004-06-11 17:27:03 +00:00
Gunter Knauf
08bf0907d4
fixed xdc generation, added lib target, load curl.nlm into ring3 by default.
2004-06-11 15:33:07 +00:00
Gunter Knauf
8d0c77403c
some more makefile changes.
2004-06-11 02:29:16 +00:00
Gunter Knauf
5be788ba36
some more makefile changes.
2004-06-11 01:04:06 +00:00
Gunter Knauf
281559b31b
cosmetic correction.
2004-06-10 22:24:37 +00:00
Gunter Knauf
ef1aa4e5e9
converted to UNIX format.
2004-06-10 21:20:15 +00:00
Gunter Knauf
60f5b2b275
minor output fix.
2004-06-10 20:43:46 +00:00
Gunter Knauf
295169f9d9
added generation of missing files.
2004-06-10 20:12:49 +00:00
Gunter Knauf
1a3797a699
make include path overridable.
2004-06-10 17:11:39 +00:00
Daniel Stenberg
8d76d4016d
removed trailing whitespace
2004-06-10 11:56:02 +00:00
Daniel Stenberg
9f92657f76
Gisle corrected two comments
2004-06-10 11:55:37 +00:00
Daniel Stenberg
9f341f9ce5
Gisle Vanem's improved verbose output and timeout handling when connecting to
...
a host name that resolves to multiple IP addresses.
2004-06-10 11:06:21 +00:00
Daniel Stenberg
2098871509
build again with disabled http
2004-06-10 07:46:24 +00:00
Daniel Stenberg
3d00c86f4c
Steven Bazyl and Seshubabu Pasam pointed out a bug on win32 when freeing the
...
path after a transfer.
2004-06-10 07:17:28 +00:00
Daniel Stenberg
90037b85d1
Alexander Krasnostavsky's fix to make libcurl build fine with configure
...
--disable-http, which thus builds a libcurl without HTTP support.
2004-06-09 08:23:55 +00:00
Daniel Stenberg
6ec145d4b4
when built with HTTP disabled, provide a curl_formadd() function anyway to
...
keep the API complete at all times
2004-06-09 08:22:02 +00:00
Daniel Stenberg
bd1adaf7ea
when producing curllib.dsp, include libcurl.def as a source file.
...
An Alexander Krasnostavsky fix.
2004-06-09 06:54:12 +00:00
Gunter Knauf
0c9e23fc0c
added the new source files.
2004-06-09 01:27:48 +00:00
Gunter Knauf
f091ce64ac
corrected copyright.
2004-06-09 01:15:03 +00:00
Gunter Knauf
5bfeb60a83
corrected defines.
2004-06-08 15:05:45 +00:00
Daniel Stenberg
1ab4a2f870
delete trailing whitespace
2004-06-08 15:05:20 +00:00
Gunter Knauf
3f739acf24
converted to UNIX format.
2004-06-08 14:52:32 +00:00
Daniel Stenberg
f0969c9692
prevent compiler warning with picky compilers
2004-06-07 10:28:14 +00:00
Daniel Stenberg
4c58797607
When sending info about which host that sends what, include proper direction
...
to/from, based on a suggestion from Alexander Krasnostavsky
2004-06-07 07:01:29 +00:00
Daniel Stenberg
0b04c52119
Günter Knauf's netware build fixes
2004-06-04 07:02:30 +00:00
Daniel Stenberg
fce9d51122
updated a comment
2004-06-03 14:42:08 +00:00
Daniel Stenberg
af33c6b549
deleted trailing whitespace
2004-06-03 13:03:57 +00:00
Daniel Stenberg
ea81dd9e2e
Alexander Krasnostavsky's FTP third party transfer (proxy) support
2004-06-03 11:41:05 +00:00
Daniel Stenberg
70f08b5baa
Vincent Bronner made the code use the correct user name + password when
...
doing proxy authentication.
2004-06-03 10:42:20 +00:00
Daniel Stenberg
de03f172ad
very minor format edit
2004-06-02 14:39:34 +00:00
Daniel Stenberg
d3f796ac59
Made CURLOPT_UPLOAD and CURLOPT_PUT mean the same thing internally (the
...
previous difference was not clear nor documented properly). They can now both
be used interchangeably, but we prefer UPLOAD to PUT since it is a more
generic term.
2004-06-02 13:57:38 +00:00
Daniel Stenberg
938a72b2db
Gisle's adjustments to allow building with lcc-win32
2004-06-02 11:36:07 +00:00
Daniel Stenberg
a8827b1ed6
Gisle made ftp_mkd static
2004-06-02 11:34:53 +00:00
Daniel Stenberg
cb21851c74
David Byron made this use the mm lib by default, as was previously done. This
...
might be done differently in the future.
2004-06-01 08:09:43 +00:00
Daniel Stenberg
aca79af7de
check for failing strdup()s
2004-05-28 09:56:59 +00:00