Daniel Stenberg
f2f07dad34
spell and 7.20.0
2010-02-09 10:06:48 +00:00
Daniel Stenberg
06ae8ca5a6
- When downloading compressed content over HTTP and the app as asked libcurl
...
to automatically uncompress it with the CURLOPT_ENCODING option, libcurl
could wrongly provide the callback with more data than what the maximum
documented amount. An application could thus get tricked into badness if the
maximum limit was trusted to be enforced by libcurl itself (as it is
documented).
This is further detailed and explained in the libcurl security advisory
20100209 at
http://curl.haxx.se/docs/adv_20100209.html
2010-02-09 09:35:48 +00:00
Daniel Stenberg
d33da42334
set VERSIONINFO accordingly for the 7.20.0 release
2010-02-09 09:35:07 +00:00
Yang Tse
e118cd4ca0
warning fix
2010-02-06 17:31:09 +00:00
Yang Tse
71593dfe57
OOM handling fix
2010-02-06 17:30:06 +00:00
Yang Tse
0f4a91afde
OOM handling fix
2010-02-06 13:21:45 +00:00
Yang Tse
2c2464a682
fix compiler warning
2010-02-05 20:52:00 +00:00
Yang Tse
880452d2ed
fix compiler warning
2010-02-05 19:24:22 +00:00
Yang Tse
e3009f2950
fix compiler warning
2010-02-05 19:19:34 +00:00
Yang Tse
cad9c3f55f
Addes OOM handling for curl_easy_setopt() calls in test
2010-02-05 18:07:19 +00:00
Yang Tse
12d01bc5f7
- avoid OpenSSL 0.9.8 ENGINE_by_id memory leak
...
- cleanup parenthesis usage in return statements
2010-02-05 09:33:36 +00:00
Yang Tse
bc7615ae2d
- attempt to workaround icc 9.1 optimizer issue
2010-02-05 09:32:11 +00:00
Yang Tse
7aef172a34
fix printf-style format strings
2010-02-04 19:44:31 +00:00
Yang Tse
f47b84b57f
Validate server port argument
2010-02-04 17:17:19 +00:00
Yang Tse
1a5749424b
Fix variable initialization
2010-02-04 14:50:58 +00:00
Yang Tse
a9a5a8e45c
Modified test case 557 to additionally verify libcurl's internal curl_m*printf()
...
functions formatting functionality when handling signed and unsigned shorts.
2010-02-04 14:41:01 +00:00
Yang Tse
8044366134
Added size check for 'short' data type
2010-02-04 14:40:11 +00:00
Yang Tse
15efa262bb
Fix compiler warning: unused variable
2010-02-04 10:08:39 +00:00
Yang Tse
429e544556
added an additional second to allow test to pass on heavily loaded servers
2010-02-04 09:55:45 +00:00
Dan Fandrich
680434f313
Changed the Watcom makefiles to make them easier to keep in sync with
...
Makefile.inc since that can't be included directly.
2010-02-03 23:07:11 +00:00
Daniel Stenberg
c9f46446d5
more symbols added in 7.20.0
2010-02-03 18:18:13 +00:00
Yang Tse
b77d0db59e
Fix OOM handling
2010-02-03 13:28:47 +00:00
Yang Tse
3205ac35b0
Fix progressmode Configurable struct member data type. Changed to
...
'int' which fits better with existing CURL_PROGRESS_* definitions.
2010-02-03 10:57:42 +00:00
Yang Tse
381a4d6efe
Fix portability issue related with unaligned memory access
2010-02-03 06:49:27 +00:00
Yang Tse
f6d288a397
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data
2010-02-03 06:44:18 +00:00
Yang Tse
013ec6a92f
cookies with same path length might get sorted in different order when
...
using different qsort implementations. In order to make this test give
same results on different systems, paths now have different lengths.
2010-02-03 01:53:47 +00:00
Yang Tse
e2fc294470
added an additional second to allow test to pass on heavily loaded servers
2010-02-03 01:41:07 +00:00
Yang Tse
d1717e7c90
Fix compiler warning: conditional expression is constant
2010-02-02 16:25:07 +00:00
Yang Tse
e569ff959f
Fix compiler warning: local variable may be used without having been initialized.
2010-02-02 16:23:42 +00:00
Yang Tse
839b61c32a
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data
2010-02-02 16:23:01 +00:00
Yang Tse
d28b8d3158
Fix compiler warnings:
...
(1) conversion from 'const int ' to 'unsigned char ', possible loss of data
(2) conditional expression is constant
2010-02-02 16:21:37 +00:00
Yang Tse
2dfbd0d050
mention a couple of changes back from November
2010-02-02 15:23:13 +00:00
Yang Tse
54879d7763
mention run time statistics options
2010-02-02 14:46:55 +00:00
Yang Tse
49ba75af26
- Symbol CURL_FORMAT_OFF_T now obsoleted, will be removed in a future release,
...
symbol will not be available when building with CURL_NO_OLDIES defined. Use
of CURL_FORMAT_CURL_OFF_T is preferred since 7.19.0
2010-02-02 12:58:49 +00:00
Yang Tse
232d17ec64
avoid possibility of using obsoleted stuff
2010-02-02 12:39:10 +00:00
Yang Tse
bafba6946c
remove setup.h inclusion which is already done from test.h inclusion
2010-02-02 12:36:16 +00:00
Kamil Dudka
da23b16ad8
mention SOCKS related problems in the curl(1) man page
2010-02-02 12:27:12 +00:00
Yang Tse
46de140aca
Fix compiler warning: variable was set but never used
...
Simplify preprocessor symbol checking
2010-02-02 09:15:52 +00:00
Daniel Stenberg
17a2c32ca9
Julien Chaffraix pointed out a comment mistake, and I re-indented the code
...
slightly while editing
2010-02-02 08:48:58 +00:00
Yang Tse
9f6c4daa27
include headers
2010-02-02 07:01:21 +00:00
Yang Tse
ea72194650
Conroy added a check to the coded message size since the docs stipulate
...
that each call will contain a full protocol packet.
2010-02-01 22:14:22 +00:00
Yang Tse
35e220606d
Conroy's fix to make the code match with the RTP documentation regarding
...
writing out the whole header. The docs say it writes the whole header,
but the code (before this patch) did not write out the leading $.
2010-02-01 22:13:55 +00:00
Daniel Stenberg
55f1e787f3
We introduce a loop in lib/multi.c around all calls to multi_runsingle() and
...
simply check for CURLM_CALL_MULTI_PERFORM internally. This has the added
benefit that this goes in line with my long-term wishes to get rid of the
CURLM_CALL_MULTI_PERFORM all together from the public API.
2010-02-01 21:42:44 +00:00
Yang Tse
516cf5c8dd
update rtsp server header field from SWS to RTSPD
2010-02-01 19:57:11 +00:00
Yang Tse
35fbeda003
Test suite support for RTSP
2010-02-01 12:05:08 +00:00
Yang Tse
715e3a806f
Make Curl_pop3_write() additionally truncate trailing POP3_EOB from received
...
string buffer, otherwise Curl_client_write() call with zero size would write
to the end of string buffer including matched POP3_EOB.
2010-01-30 05:22:30 +00:00
Yang Tse
6ebd71d186
WIN32 fix, _beginthreadex() may return either 0 or -1L upon failure
2010-01-29 17:47:54 +00:00
Yang Tse
4ee4e66c4f
fix errno usage for WIN32 builds
2010-01-29 16:38:43 +00:00
Yang Tse
4d19ebe738
fix printf-style format strings
2010-01-29 12:29:26 +00:00
Yang Tse
5312fdcd73
Chris Conroy fixed test #568 issues with carriage returns
2010-01-29 02:58:39 +00:00
Yang Tse
fce02e1cab
RTSP followup fix. Both the pipelined and non-pipelined case need to
...
check for (excess > 0 && !k->ignorebody).
2010-01-29 01:16:23 +00:00
Daniel Stenberg
15ddc1f134
- Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
...
check for broken connections like ares_process() did. Based on that, I
merged the two functions into a single generic one with two front-ends.
2010-01-28 22:03:48 +00:00
Yang Tse
d65cf7889b
fix printf-style format strings
2010-01-28 15:34:18 +00:00
Yang Tse
ddab9bd2ec
Use 'size_t' for GETNAMEINFO_TYPE_ARG2 definition for VMS.
...
http://curl.haxx.se/mail/lib-2009-12/0293.html
2010-01-28 10:56:43 +00:00
Yang Tse
eff18763a1
portability fix
2010-01-28 10:27:09 +00:00
Yang Tse
3e21f1e971
fix printf-style format strings
2010-01-28 07:52:12 +00:00
Yang Tse
ccffed997e
Known bug #64 fixed by Constantine Sapuntzakis and Joshua Kwan in 7.20.0
2010-01-28 05:09:19 +00:00
Yang Tse
6259bcd51f
Chris Conroy provided first RTSP tests
2010-01-28 04:58:03 +00:00
Yang Tse
a4031dbd85
RTSP tests disabled until test harness RTSP support is updated
2010-01-28 04:55:19 +00:00
Yang Tse
2f3bce1193
Chris Conroy's RTSP followup fixes
2010-01-28 01:39:16 +00:00
Yang Tse
3cb76e5ebb
mention asynchronous DNS lookups enhancements
2010-01-27 18:10:35 +00:00
Yang Tse
6418c0588d
Restore normal operation:
...
c-ares is only enabled when specifically requested.
Consequently, c-ares default setting is disabled.
2010-01-27 06:59:02 +00:00
Yang Tse
124b35aafe
fix c-ares assumed check being skipped
2010-01-27 04:56:07 +00:00
Yang Tse
bbefdf88fd
fix compiler warning
2010-01-27 03:43:34 +00:00
Yang Tse
06c96d01d2
fix LDFLAGS preservation in CURL_CHECK_LIB_ARES
2010-01-27 03:41:05 +00:00
Daniel Stenberg
83e91586ef
no need to take precautiono for how things were before 7.16.0 since that
...
is now a very long time ago
2010-01-26 23:02:13 +00:00
Daniel Stenberg
c82a1f95eb
- Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the
...
proxy that cannot be resolved when using c-ares. This matches the behaviour
when not using c-ares.
2010-01-26 22:59:43 +00:00
Dan Fandrich
d34982bb65
Added curl_threads.c to a few more non-configure build files
2010-01-26 18:51:39 +00:00
Yang Tse
22ed0f5059
minor fixes for --enable-ares configure option
2010-01-26 15:07:40 +00:00
Daniel Stenberg
9bc897f380
Andre Guibert de Bruet improved the libssh2 error code translation
2010-01-26 12:25:03 +00:00
Yang Tse
9b0e57b0f7
resolver selection for non-configure Windows builds, default is threaded DNS
2010-01-26 12:13:39 +00:00
Yang Tse
1d86ebfc88
add curl_threads.c to non-configure target build files
2010-01-26 09:20:09 +00:00
Yang Tse
a9b860765d
onstantine Sapuntzakis threaded resolver enhancements
2010-01-26 08:43:21 +00:00
Yang Tse
483ff1ca75
Constantine Sapuntzakis threaded resolver enhancements
2010-01-25 23:50:13 +00:00
Yang Tse
c054b8bfa7
Constantine Sapuntzakis provided initial thread abstraction layer
2010-01-25 23:46:27 +00:00
Yang Tse
340ab2f87f
make Curl_handler_*_proxy definition static
2010-01-25 23:41:02 +00:00
Dan Fandrich
f8b16e5ccb
Updated minimum library sizes
2010-01-25 23:28:09 +00:00
Yang Tse
4bb80cfd75
fix compiler warning
2010-01-25 04:36:13 +00:00
Daniel Stenberg
de2cc11a73
Julien Chaffraix corrected bad #elif lines to silence warnings
2010-01-24 22:44:10 +00:00
Yang Tse
c656098ee0
HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 builds
2010-01-24 01:13:47 +00:00
Bjorn Stenberg
94f33457d3
Mention -J change
2010-01-23 20:14:39 +00:00
Bjorn Stenberg
80675818e0
Added -J/--remote-header-name.
2010-01-23 20:07:12 +00:00
Daniel Stenberg
b0e2d47a3e
"remove progress meter from libcurl" at next API break
2010-01-23 20:02:50 +00:00
Yang Tse
0abd928d3d
add inclusion of curl_memory.h
2010-01-23 17:31:54 +00:00
Yang Tse
597ad5a2ce
adjust preprocessor symbol definition check relative to resolver specialty
2010-01-23 13:53:33 +00:00
Yang Tse
703fa98a48
PKTSIZE might have been already defined in arpa/tftp.h
2010-01-23 13:51:53 +00:00
Dan Fandrich
ec4647c0f9
Include "curl_memory.h" to get the strdup replacement when necessary
2010-01-23 10:04:04 +00:00
Daniel Stenberg
33ce0ec1f1
wrap long lines and do some indent policing
2010-01-22 23:21:39 +00:00
Yang Tse
1435864030
Definitions of resolver specialty compile-time defines CURLRES_* moved
...
from hostip.h to setup.h in order to allow proper inclusion in any file.
This represents no functional change at all in which resolver is used,
everything still works as usual, internally and externally there is no
difference in behavior.
2010-01-22 20:27:48 +00:00
Yang Tse
4a8a731476
adjust rtsp protocol support in curl-config and libcurl.pc when http is disabled
2010-01-22 16:38:32 +00:00
Yang Tse
6636fbf238
deal with the possibility that CURL_DISABLE_RTSP may already be defined
2010-01-22 15:15:08 +00:00
Yang Tse
c94d44505f
fix compiler warning: statement is unreachable
2010-01-22 14:21:28 +00:00
Yang Tse
0032ce762e
fix compilation when http is disabled
2010-01-22 14:20:56 +00:00
Yang Tse
bdb338b3c7
disabling of rtsp when http isn't enabled required here for non-configure systems
2010-01-22 14:20:08 +00:00
Daniel Stenberg
099eed7bf1
wrap long lines, remove (very old) attribution from code
2010-01-22 13:52:35 +00:00
Daniel Stenberg
bc253a4d5f
cleanups by Julien Chaffraix
2010-01-22 13:14:51 +00:00
Daniel Stenberg
a771fb0d41
alphabetically sort the list of supported protocols
2010-01-22 13:06:50 +00:00
Daniel Stenberg
c047fe8e90
In spite claiming to tbe disabled by default, RTSP is enabled and it now
...
also says so. I also made the list of protocols get sorted.
2010-01-22 12:52:35 +00:00
Daniel Stenberg
e45eefcb90
expanded to provide info about the newer protocols too
2010-01-22 12:27:38 +00:00
Daniel Stenberg
844c19cc5b
s/RTPFUNCTION/INTERLEAVEFUNCTION/
...
s/RTPDATA/INTERLEAVEDATA/
2010-01-22 12:17:03 +00:00
Daniel Stenberg
4a8570313a
keep lines shorter than 80 columns, and reduce/remove the use of the word
...
'note' in most description as it is mostly useless.
2010-01-22 09:19:10 +00:00
Yang Tse
e59a5cbe4e
Julien Chaffraix adjusted "<name> section" line length
2010-01-22 07:32:09 +00:00
Yang Tse
bfc4c33985
Constantine Sapuntzakis refactoring of async callbacks, allowing
...
removal of Curl_addrinfo_copy(), Curl_addrinfo6_callback(), and
Curl_addrinfo4_callback()
2010-01-22 06:36:52 +00:00
Dan Fandrich
5af20c70e4
Added rtsp.c to the non-configure target build files
2010-01-21 22:03:26 +00:00
Yang Tse
bd7430c1ee
fix compiler warning
2010-01-21 19:27:32 +00:00
Yang Tse
6e5acc2fc1
make tftp_translate_code() static, it is only used from within tftp.c
2010-01-21 14:44:28 +00:00
Yang Tse
abe3e6b36c
fix warning triggered when debugging on cygwin
2010-01-21 14:29:04 +00:00
Yang Tse
105e430641
allow exporting of exe_ext() sub
2010-01-21 14:26:32 +00:00
Yang Tse
4a349f7a54
improve displaylogcontent() sub fixing a warning
2010-01-21 14:25:41 +00:00
Daniel Stenberg
2f9a17fc44
remove typedef we ended up not using
2010-01-21 14:05:06 +00:00
Daniel Stenberg
bc4582b68a
Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new
...
libcurl options for controlling what to get and how to receive posssibly
interleaved RTP data. Initial commit.
2010-01-21 13:58:30 +00:00
Daniel Stenberg
e09718d457
Julien Chaffraix fixed line lengths
2010-01-21 12:28:29 +00:00
Daniel Stenberg
2c0418f154
Julien Chaffraix removed an old obsolete typedef
2010-01-21 11:48:48 +00:00
Daniel Stenberg
a74e885bef
Yun Fu pointed out a flaw in the loop that checks handles, and I indented
...
the code more curl-style
2010-01-21 09:53:30 +00:00
Daniel Stenberg
6291a1cf23
"5.3 Sort outgoing cookies" removed, we now sort them
2010-01-21 09:32:51 +00:00
Yang Tse
a872ff742c
SIGTERM is the signal to trap here, SIGKILL can't be caught.
2010-01-20 21:16:32 +00:00
Yang Tse
58a1557088
Use killsockfilters() to kill sockfilter processes, this ensures that when
...
killing a sockfilter process the actual PID from the pid file is used and
not the one returned by open2() which might be different.
2010-01-20 20:42:21 +00:00
Yang Tse
422a7869be
Allow killsockfilters() to take a 5th optional parameter that when provided
...
indicates that only one of the two possible sockfilter processes should be
killed. Valid values for this parameter are 'main' and 'data'.
2010-01-20 20:39:56 +00:00
Yang Tse
471e8eefb6
Use delete() to unset environment variables instead of assigning undef which
...
generates warning 'Use of uninitialized value in scalar assignment' with perl
versions older than 5.10
2010-01-20 20:08:50 +00:00
Yang Tse
d2e1ec58f2
Adjust valgrind logs file name detection.
...
Adjust environment vars setting and restoring from test definition.
Avoid using strftime in torture sub.
2010-01-20 18:31:52 +00:00
Daniel Stenberg
48032c0880
modified test case 8 to also make sure that we deal with cookies using
...
identical names but different paths properly
2010-01-20 09:39:40 +00:00
Daniel Stenberg
877dad1e24
- As was pointed out on the http-state mailing list, the order of cookies in a
...
HTTP Cookie: header _needs_ to be sorted on the path length in the cases
where two cookies using the same name are set more than once using
(overlapping) paths. Realizing this, identically named cookies must be
sorted correctly. But detecting only identically named cookies and take care
of them individually is harder than just to blindly and unconditionally sort
all cookies based on their path lengths. All major browsers also already do
this, so this makes our behavior one step closer to them in the cookie area.
Test case 8 was the only one that broke due to this change and I updated it
accordingly.
2010-01-19 23:19:59 +00:00
Daniel Stenberg
01030e9240
oops, I forgot to cvs add this before my previous commit (Dan Fandrich
...
pointed it out to me)
2010-01-19 22:22:54 +00:00
Daniel Stenberg
a5ca3f1754
- David McCreedy brought a fix and a new test case (129) to make libcurl work
...
again when downloading files over FTP using ASCII and it turns out that the
final size of the file is not the same as the initial size the server
reported. This is very common since servers don't take the newline
conversions into account.
2010-01-19 21:39:10 +00:00
Daniel Stenberg
77a17a21d1
"260 - IMAP, POP3 and SMTP support" done!
2010-01-19 21:29:29 +00:00
Daniel Stenberg
6035a4b044
avoid "Use of uninitialized value $l in concatenation"
2010-01-19 21:20:24 +00:00
Yang Tse
469d3ed591
Fail harder when curl coredumps trying to verify http and ftp servers.
...
Add some debug messages to see what's going on with valgrind logs.
2010-01-19 17:40:15 +00:00
Yang Tse
3afe2b65b6
prevent %runcert hash growth when clearing items
2010-01-19 02:01:01 +00:00
Yang Tse
afdc3d81e9
update copyright year notice
2010-01-19 01:30:07 +00:00
Yang Tse
ccfe279117
Constantine Sapuntzakis enhancements to make memory tracking log file writing
...
of messages atomic, on systems where an fwrite of a memory buffer is atomic.
2010-01-18 20:22:04 +00:00
Dan Fandrich
5b5ff41ef1
Added PEM certificate keyword
2010-01-18 20:20:07 +00:00
Yang Tse
0a713139f6
fix warnings
2010-01-18 17:47:01 +00:00
Yang Tse
0687bc6bd6
Stop ssl running server when cert file currently used by server is
...
different than the one specified in test definition for same server
2010-01-18 17:03:59 +00:00
Yang Tse
424a8882fb
fix warnings
2010-01-18 14:49:31 +00:00
Yang Tse
3fdced357b
- Remove QD restarting of https servers. Proper fixing required.
...
This will make tests 310 311 and 312 fail while fixing.
- Remove some debug messages
2010-01-18 02:53:25 +00:00
Yang Tse
ce2ac665e4
make verifyhttp use different file names depending on server characteristics
2010-01-18 02:36:39 +00:00
Yang Tse
0375f70b5c
add serverfactors() sub which returns server characterization factors
2010-01-18 02:32:48 +00:00
Yang Tse
7f8980114b
fix warnings
2010-01-17 20:28:07 +00:00
Yang Tse
312494f25f
fix warnings
2010-01-17 14:47:30 +00:00
Yang Tse
8d97b33347
fix warnings
2010-01-17 14:31:13 +00:00
Yang Tse
b51b703a5b
add some debug messages
2010-01-17 13:33:27 +00:00
Yang Tse
071c38988d
use servername_id() from serverhelp.pm
2010-01-17 02:50:48 +00:00
Yang Tse
365e75a270
refactored stopping of test harness servers
2010-01-17 02:45:24 +00:00
Yang Tse
b992928f3d
Store now this file in CVS with unix line endings.
...
maketgz already converts this file to DOS style with an awk filter.
2010-01-15 20:23:35 +00:00
Yang Tse
32413a8e34
Declaration of $sshdlog is done in sshhelp.pm
2010-01-15 20:14:37 +00:00
Yang Tse
ada2774ab2
Start using the centralized pidfile and logfile name generation
...
subroutines for ssh and socks test suite servers.
2010-01-15 18:55:01 +00:00
Dan Fandrich
a644af129e
Added the new protocol source files to the non-autoconf build files
2010-01-15 06:33:46 +00:00
Yang Tse
7624527591
Squeeze slack time when killing more than one server from
...
the <killserver> section of test harness definition files.
2010-01-14 17:36:57 +00:00
Kamil Dudka
383bf1e476
- Suppressed side effect of OpenSSL configure checks, which prevented NSS from
...
being properly detected under certain circumstances. It had been caused by
strange behavior of pkg-config when handling PKG_CONFIG_LIBDIR. pkg-config
distinguishes among empty and non-existent environment variable in that case.
2010-01-14 01:37:55 +00:00
Yang Tse
8c8df3966b
Give the test a bit mote time to run so it passes on slow machines
2010-01-13 01:21:40 +00:00
Kamil Dudka
4344215309
remove trailing spaces from configure.ac
2010-01-13 01:13:23 +00:00
Yang Tse
0643829444
Added test case #1112 which does an FTPS download with strict timeout
...
and slow data transfer in a similar way as test case #1086 does for FTP.
This also exercises <killserver> section for the FTPS server.
2010-01-12 22:29:18 +00:00
Yang Tse
7525670610
Make runtests.pl actually support any (valid) server specification
...
for the <killserver> section of test harness definition files.
2010-01-12 22:22:55 +00:00
Yang Tse
b32a96eda0
Fix tftp and sftp supported protocols in servername_str()
2010-01-12 22:11:13 +00:00
Yang Tse
82f5ffff8f
Make sockfilter kill messages look alike server ones
2010-01-12 14:01:44 +00:00
Yang Tse
3fd67b5f36
Adjust vor VPATH builds
2010-01-12 03:01:00 +00:00
Daniel Stenberg
1647d64a4b
- Gil Weber reported a peculiar flaw with the multi interface when doing SFTP
...
transfers: curl_multi_fdset() would return -1 and not set and file
descriptors several times during a transfer of a single file. It turned out
to be due to two different flaws now fixed. Gil's excellent recipe helped me
nail this.
2010-01-11 23:15:10 +00:00
Daniel Stenberg
d17416190b
ssh_statemach_act() is now modified to loop over the switch() to perform as
...
much as possible in one go, as long as it doesn't block and hasn't reached the
end of the state machine.
This avoids spurious -1 returns from curl_multi_fdset() simply because
previously it would return from this function without anything in EWOUDLBLOCK
and thus basically it wasn't actually waiting for anything!!
2010-01-11 23:10:53 +00:00
Daniel Stenberg
2158e234aa
After the TCP connect is confirmed in CURLM_STATE_WAITCONNECT and it changes
...
state, we return CURLM_CALL_MULTI_PERFORM unconditionally then so that we
can act faster like in the case the protocol-specific connect doesn't block
on anything and we can just persue on the next action immediately. It also
then avoids a case where curl_multi_fdset() would return -1.
2010-01-11 23:05:35 +00:00
Daniel Stenberg
cb348a5b1f
progress callback called repeatedly during slow connects
2010-01-11 21:38:35 +00:00
Daniel Stenberg
377b2db05b
- Made sure that the progress callback is repeatedly called at a regular
...
interval even during very slow connects.
2010-01-11 21:38:13 +00:00
Daniel Stenberg
78b7d7f7a8
- The tests/runtests.pl script now checks to see if the test case that runs is
...
present in the tests/data/Makefile.am and outputs a notice message on the
screen if not. Each test file has to be included in that Makefile.am to get
included in release archives and forgetting to add files there is a common
mistake. This is an attempt to make it harder to forget.
2010-01-11 15:50:30 +00:00
Yang Tse
5bec1b1cf0
secureserver.pl is now the test harness script used for SSL/TLS.
2010-01-11 04:51:14 +00:00
Yang Tse
cd7b12edff
secureserver.pl is now the test harness script used for SSL/TLS.
...
Start using the centralized pidfile and logfile name generation
subroutines for https and ftps test suite servers.
2010-01-11 04:49:13 +00:00
Yang Tse
1103d0c718
Update error message to include port number
2010-01-10 04:24:46 +00:00
Yang Tse
aae97c998a
Previous commit adjustments
2010-01-10 02:41:44 +00:00
Yang Tse
017c14cc99
Start using the centralized pidfile and logfile name generation
...
subroutines for ftp, pop3, imap and smtp test suite servers.
2010-01-09 18:35:59 +00:00
Daniel Stenberg
b90703f594
struct Curl_sh_entry's 'inuse' member was no longer used and is now removed
2010-01-09 00:03:33 +00:00
Daniel Stenberg
552c3de357
- Johan van Selst found and fixed a OpenSSL session ref count leak:
...
ossl_connect_step3() increments an SSL session handle reference counter on
each call. When sessions are re-used this reference counter may be
incremented many times, but it will be decremented only once when done (by
Curl_ossl_session_free()); and the internal OpenSSL data will not be freed
if this reference count remains positive. When a session is re-used the
reference counter should be corrected by explicitly calling
SSL_SESSION_free() after each consecutive SSL_get1_session() to avoid
introducing a memory leak.
(http://curl.haxx.se/bug/view.cgi?id=2926284 )
2010-01-08 23:45:23 +00:00
Yang Tse
aa2f447400
Start using the centralized pidfile and logfile name generation
...
subroutines for http and tftp test suite servers.
2010-01-08 15:54:07 +00:00
Yang Tse
184f92d243
Remove extra line feed
2010-01-08 12:01:35 +00:00
Yang Tse
a1d701d05a
Use '_stunnel.log' ending also for https test server log
2010-01-08 01:54:29 +00:00
Yang Tse
a114b7b1c0
sws and tftpd command line option naming adjustments
2010-01-08 01:48:54 +00:00
Daniel Stenberg
8524c04ca9
removed a parameter from the Curl_http_readwrite_headers() prototype to remove
...
the need for the struct forward declaration from http.h which caused problems
with gcc 2.96 and quite frankly the parameter wasn't necessary anyway
2010-01-07 22:48:28 +00:00
Claes Jakobsson
31630203b1
List fragment tests in Makefile.am and better provide better names
2010-01-07 14:44:04 +00:00
Daniel Stenberg
d37a9c4f87
removed Curl_http_header_append() prototype as it isn't used anymore, the
...
function was moved to http.c and was made static and renamed
2010-01-07 14:02:05 +00:00
Daniel Stenberg
88944eb13a
- Make sure the progress callback is called repeatedly even during very slow
...
name resolves when c-ares is used for resolving.
2010-01-06 23:04:17 +00:00
Yang Tse
bd8096b42b
Disable tests 802 and 803
2010-01-06 18:28:15 +00:00
Yang Tse
1e87e4bb4e
Prevent detection of stdint.h on IRIX systems, even when available.
...
IRIX MIPSpro 7.4 C++ compiler does not tolerate inclusion of stdint.h
2010-01-06 18:25:10 +00:00
Claes Jakobsson
9bd03483ce
Julien Chaffraix fixed so that the fragment part in an URL is not sent to the server anymore
2010-01-06 16:01:48 +00:00
Daniel Stenberg
2e83006603
use the modern name for this option
2010-01-04 18:43:29 +00:00
Kamil Dudka
fd903eb6be
- Julien Chaffraix eliminated a duplicated initialization in singlesocket().
2010-01-03 13:46:37 +00:00
Daniel Stenberg
2c93ec5303
- Make curl support --ssl and --ssl-reqd instead of the previous FTP-specific
...
versions --ftp-ssl and --ftp-ssl-reqd as these options are now used to
control SSL/TLS for IMAP, POP3 and SMTP as well in addition to FTP. The old
option names are still working but the new ones are the prefered ones
(listed and documented).
2010-01-02 22:09:31 +00:00
Daniel Stenberg
d79b5a0613
stop at once if the EOB marker shows up, even if something else might get
...
sent afterwards
2010-01-01 19:49:44 +00:00
Daniel Stenberg
a62f32d3c2
update copyright year since we are in 2010 now
2010-01-01 14:52:50 +00:00
Daniel Stenberg
241c0ad5bd
added CURLOPT_FTP_USE_PRET
2010-01-01 14:52:12 +00:00
Daniel Stenberg
605bbfc4c0
- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. This
...
command is a special "hack" used by the drftpd server, but even though it is
a custom extension I've deemed it fine to add to libcurl since this server
seems to survive and people keep using it and want libcurl to support
it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also
usable from the curl tool with --ftp-pret. Using this option on a server
that doesn't support this command will make libcurl fail.
2010-01-01 14:44:44 +00:00
Daniel Stenberg
42d365f199
added descriptions for CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT
2009-12-31 22:38:10 +00:00
Daniel Stenberg
31266ca92a
--mail-rcpt and --mail-from are starting to settle and work like this...
2009-12-31 21:59:50 +00:00
Daniel Stenberg
3f3f6be825
turned CURLOPT_MAIL_RCPT into a curl_slist list instead to support multiple
...
receivers, and made the command line tool thus support the option specified
many times
2009-12-31 21:52:01 +00:00
Yang Tse
01682cca55
Use '_stunnel.log' file name ending for stunneled server logs
2009-12-31 15:26:16 +00:00
Yang Tse
99a5a5a3e9
VMS adjustments by Steven M. Schweda
2009-12-31 13:35:24 +00:00
Yang Tse
eb0479575a
Subs for refactoring purposes
2009-12-31 02:29:55 +00:00
Daniel Stenberg
97141d08f7
CURLOPT_HEADERDATA was added in 7.10
2009-12-30 23:14:30 +00:00
Daniel Stenberg
99e9938617
s/CURLOPT_WRITEHEADER/CURLOPT_HEADERDATA simply because it is a better name
2009-12-30 23:14:00 +00:00
Daniel Stenberg
6c6dc3f879
modified to get the EHLO domain from the path part of the URL instead of the
...
user name
2009-12-30 22:50:42 +00:00
Daniel Stenberg
a1311e5a24
moved the SMTP payload escape function into Curl_smtp_escape_eob and put
...
it in smtp.c
2009-12-30 22:09:43 +00:00
Daniel Stenberg
5e6ffe353a
(SMTP) support DATA better in the server and make sure to "escape" CRLF.CRLF
...
sequences in uploaded data. The test server doesn't "decode" escaped dot-lines
but instead test cases must be written to take them into account. Added test
case 803 to verify dot-escaping.
2009-12-30 21:52:27 +00:00
Yang Tse
d7cd761047
Oops, should have removed 'not' in previous commit.
2009-12-30 19:43:12 +00:00
Yang Tse
05488d63d0
VMS build system enhancements by Steven M. Schweda and Craig A. Berry
2009-12-30 19:37:53 +00:00
Yang Tse
3184a91ec8
VMS specific preprocessor symbol checking adjustments
2009-12-30 17:59:56 +00:00
Yang Tse
0dde9056d7
VMS specific preprocessor symbol definition adjustments
2009-12-30 17:59:10 +00:00
Yang Tse
a487c80535
Replaced stricmp() usage with our portable strequal()
2009-12-30 15:47:23 +00:00
Daniel Stenberg
1e9a946e6d
move HTTP-specific functions to http.c where they belong
2009-12-29 21:45:02 +00:00
Daniel Stenberg
7cd5ffc1bf
test 802 is the first SMTP test, although not strictly SMTP yet...
2009-12-29 21:28:53 +00:00
Yang Tse
fa6631edd5
Mention last changes
2009-12-29 02:32:12 +00:00
Yang Tse
e70c0913b1
- Fix configure_socket() to use ares_socket_t instead of int data type.
2009-12-29 02:04:17 +00:00
Yang Tse
5b2a31ae41
- Where run-time error checks enabling compiler option /GZ was used it is now
...
replaced with equivalent /RTCsu for Visual Studio 2003 and newer versions.
- Compiler option /GX is now replaced with equivalent /EHsc for all versions.
2009-12-29 01:51:57 +00:00
Yang Tse
c796f2646e
Leftover from previous commit
2009-12-28 20:10:00 +00:00
Yang Tse
d0f6bde732
Initial refactoring step for server name strings centralized generation
2009-12-28 20:00:41 +00:00
Daniel Stenberg
1bd5784a13
Julien Chaffraix's clarifications
2009-12-27 20:54:26 +00:00
Yang Tse
1f7d9f4f7b
Adjust FreeBSD version check to follow FreeBSD Porter's Handbook
...
http://www.freebsd.org/doc/en/books/porters-handbook/porting-versions.html
2009-12-27 02:31:29 +00:00
Daniel Stenberg
b6ac8d62a1
symbols added in the CVS version meant for 7.20.0
2009-12-26 18:42:25 +00:00
Yang Tse
4ec17a08bc
global variables reordering/refactoring/commenting
2009-12-26 18:32:19 +00:00
Daniel Stenberg
aefe0299e0
add pointer to the bug report
2009-12-25 23:35:16 +00:00
Daniel Stenberg
b89789d82f
- Renato Botelho and Peter Pentchev brought a patch that makes the libcurl
...
headers work correctly even on FreeBSD systems before v8.
2009-12-25 23:32:01 +00:00
Daniel Stenberg
a218235964
first shot at actually doing the SMTP upload as well, not doing the proper
...
end-of-body treatment
2009-12-25 22:50:11 +00:00
Daniel Stenberg
73ad32e125
When verifying the SMTP server I had to add some hackery since SMTP in itself
...
doesn't really return any body data to check so I made SMTP check "headers"
as well.
2009-12-25 22:21:46 +00:00
Daniel Stenberg
77625f8560
first basic SMTP support
2009-12-25 22:20:37 +00:00
Yang Tse
1af64730e0
Adjust test number mismatch
2009-12-24 12:04:33 +00:00
Yang Tse
eacf62792f
Enable warnings
2009-12-24 12:01:53 +00:00
Yang Tse
6ce407305b
Fix warnings
2009-12-24 12:00:43 +00:00
Yang Tse
ae3892e8ab
Fix warnings
2009-12-23 18:46:55 +00:00
Yang Tse
c74875d94e
Back out some pingpong server stopping changes introduced last week in
...
order to re-use 'classic' stopping and allow taking test-suite run time
references from this state.
2009-12-23 15:20:20 +00:00
Yang Tse
271dc9c582
use Time::HiRes whenever available, independently of perl version
2009-12-22 13:46:06 +00:00
Yang Tse
7bede9180d
log a message when continuing once sleep time is over
2009-12-22 13:45:01 +00:00
Yang Tse
f0917cabb5
- Ingmar Runge noticed that Windows config-win32.h configuration file
...
did not include a definition for HAVE_CLOSESOCKET which resulted in
function close() being inappropriately used to close sockets.
2009-12-21 16:55:39 +00:00
Yang Tse
96395a908a
Make 'classic' output end of a test-suite run become again the end
...
of output, even when run time statistics are shown.
2009-12-21 15:50:24 +00:00
Yang Tse
e9a993b9e9
Move stopping of servers instructed by test definition, after the removal of
...
server logs advisor read lock and before test results verifications are done.
When stopping a pingpong server, stop server before its slaves.
2009-12-21 14:53:07 +00:00
Daniel Stenberg
982fe33924
test 566 was missing
2009-12-21 14:51:07 +00:00
Yang Tse
fa188eec7b
dead_child_handler also takes care of reaping pingpong server dead child processes
2009-12-21 14:43:29 +00:00
Yang Tse
bdd3763980
Reap processes dead children ASAP without blocking
2009-12-21 14:36:01 +00:00
Yang Tse
1cfa52b67d
Reinstate hi resolution time logging since this is not what is
...
now adding 90 extra seconds to the total time some autobuilds
need to make a full test-run.
2009-12-21 14:33:01 +00:00
Patrick Monnerat
57d3488a0d
Take new SMTP definitions into account in OS400 wrapper and RPG binding
2009-12-21 12:26:48 +00:00
Daniel Stenberg
83d34a246e
first small steps towards smtp
2009-12-21 08:33:47 +00:00
Yang Tse
76b3c9d70f
Replaced tabs with spaces
2009-12-21 02:37:23 +00:00
Daniel Stenberg
d911e22d8f
remove some unused code
2009-12-20 22:11:16 +00:00
Yang Tse
efd1d9dc04
Improve delay command interruptability
2009-12-20 22:09:53 +00:00
Daniel Stenberg
88a0060b2e
revert that, we already had a function named like that!
2009-12-20 22:08:06 +00:00
Daniel Stenberg
4adf7d62d4
rename the verifyftp function to verifyserver since it is used to verify
...
a wide variety of protocol servers
2009-12-20 22:00:23 +00:00
Daniel Stenberg
6add5baa3a
free the allocated mailbox name at disconnect
2009-12-20 11:10:08 +00:00
Daniel Stenberg
2a3dafc0cd
introducing the first IMAP FETCH test
2009-12-20 11:07:04 +00:00
Yang Tse
f912f8d5d2
- Attempt to fix script compilation failure on versions older than 5.007003,
...
corelist -a Time::HiRes lists this as the first version released with it.
- Ensure ftp check delay timer is always an integral number.
2009-12-20 03:48:32 +00:00
Daniel Stenberg
af7a5b297f
support IMAP select and LOGOUT
2009-12-19 23:23:26 +00:00
Daniel Stenberg
344bbcf259
fix the ftp check delay timer to never be set below 1 to work correctly
...
in cases like test 190
2009-12-19 23:10:33 +00:00
Daniel Stenberg
240fa29e94
fixed a precaution check in the cookie code, pointed out by Julien Chaffraix
2009-12-19 19:20:26 +00:00
Yang Tse
010fe5acd5
Slack time reduction
2009-12-19 13:20:07 +00:00
Yang Tse
aeec8e0b38
Added runtests.pl '-r' option for run time statistics
2009-12-19 04:15:22 +00:00
Yang Tse
2d15ac3d4e
server start and verification time as well as test preparation time
...
data is required in order to closer match total test execution time.
2009-12-18 19:17:14 +00:00
Yang Tse
53deae3781
Added test harness simple time execution stats
2009-12-18 15:23:18 +00:00
Yang Tse
39cc424e81
Comment out hi resolution time logging to verify if this is what might
...
be contributing 90 additional seconds to the total time some autobuilds
now need to make a full test-run.
2009-12-17 22:28:40 +00:00
Yang Tse
4d0b0cae9e
Fix compilation failure
2009-12-17 20:01:24 +00:00
Yang Tse
8343cb8910
Test harness process control enhancements
2009-12-17 19:37:01 +00:00
Daniel Stenberg
a75d9d9169
uh, assign the bool it points to properly
2009-12-17 16:07:02 +00:00
Daniel Stenberg
54c60d0067
Stop overloading the conn->protocol field with the PROT_MISSING bit. It
...
really didn't belong there and had no real point.
2009-12-17 16:03:39 +00:00
Daniel Stenberg
91d05903b4
Remove pointless storing of the protocol as a string within the connectdata
...
struct, and instead use the already stored string in the handler struct.
2009-12-17 15:45:04 +00:00
Daniel Stenberg
10a11e3abe
- David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
...
available.
2009-12-17 13:29:41 +00:00
Yang Tse
414180b363
gettimeofday() requires perl version newer than 5.6
2009-12-17 03:50:32 +00:00
Daniel Stenberg
7603a29fc3
Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
...
was a bit too quick and broke test case 1101 with that change. The order of
some of the setups is sensitive. I now changed it slightly again.
2009-12-16 23:11:47 +00:00
Yang Tse
002ed5f298
Test harness process control enhancements
2009-12-16 19:55:35 +00:00
Yang Tse
044ba6dad2
Test #1106 needs an ftp enabled client
2009-12-16 15:24:12 +00:00
Yang Tse
3802d027cd
Test harness process control enhancements
2009-12-16 15:16:06 +00:00
Daniel Stenberg
3111701c38
- Jon Nelson found a regression that turned out to be a flaw in how libcurl
...
detects and uses proxies based on the environment variables. If the proxy
was given as an explicit option it worked, but due to the setup order
mistake proxies would not be used fine for a few protocols when picked up
from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added
test case 1106 that verifies this functionality.
(http://curl.haxx.se/bug/view.cgi?id=2913886 )
2009-12-14 23:16:09 +00:00
Yang Tse
2c9644b812
Fix compiler warning
2009-12-14 16:05:57 +00:00
Yang Tse
99daca5a48
Prevent perl script dying messages in output, since tearing down the pinpong
...
server in this way, upon sysread failures, is part of the expected behavior.
2009-12-14 15:39:15 +00:00
Yang Tse
a6abbb120e
Adjust uppercase protocol string usage
2009-12-14 14:42:48 +00:00
Yang Tse
b0f548fb56
Fix compiler warnings
2009-12-14 14:02:43 +00:00
Yang Tse
364d76aca7
Fix compiler warnings
2009-12-14 13:27:50 +00:00
Yang Tse
6e9a484ea6
signal handling to cleanup on SIGINT and SIGTERM, followup
2009-12-13 03:45:32 +00:00
Yang Tse
303f74c740
reapply diff between revisions 1.103 and 1.102
2009-12-13 03:44:45 +00:00
Daniel Stenberg
4ea8ad584b
updated with the new protocols
2009-12-12 22:48:11 +00:00
Daniel Stenberg
19b8a80ee9
might as well output all supported protocols at the end of configure to
...
make it more obvious how the output will be
2009-12-12 22:39:29 +00:00
Daniel Stenberg
30eb452adf
show POP3S, IMAPS and SMTPS as protocols if SSL is enabled
2009-12-12 22:33:18 +00:00
Daniel Stenberg
92b9b46831
support disabling POP3, IMAP and SMTP and now they also appear in curl-config
...
--protocols output
2009-12-12 22:31:00 +00:00
Daniel Stenberg
83a6b34803
split out more protocol-specific structs from urldata.h into their own
...
protocol-specific header files
2009-12-12 22:17:51 +00:00
Daniel Stenberg
43fefab2a1
IMAP, POP3 and SMTP support
2009-12-12 22:05:11 +00:00
Daniel Stenberg
ec3bb8f727
introducing IMAP, POP3 and SMTP support (still lots of polish left to do)
2009-12-12 21:54:01 +00:00
Yang Tse
463d2d395c
Prevent rewinding unless pipelining.
...
See http://curl.haxx.se/mail/lib-2009-12/0107.html
2009-12-11 18:41:29 +00:00
Yang Tse
2fc1752d6e
Removed function prototype without implementation
2009-12-11 02:14:11 +00:00
Daniel Stenberg
296ebf382c
- Siegfried Gyuricsko found out that the curl manual said --retry would retry
...
on FTP errors in the transient 5xx range. Transient FTP errors are in the
4xx range. The code itself only tried on 5xx errors that occured _at login_.
Now the retry code retries on all FTP transfer failures that ended with a
4xx response.
(http://curl.haxx.se/bug/view.cgi?id=2911279 )
2009-12-10 21:02:11 +00:00
Daniel Stenberg
b91ed67276
argh, use the correct bug id
2009-12-10 20:26:44 +00:00
Daniel Stenberg
315253b367
- Constantine Sapuntzakis figured out a case which would lead to libcurl
...
accessing alredy freed memory and thus crash when using HTTPS (with
OpenSSL), multi interface and the CURLOPT_DEBUGFUNCTION and a certain order
of cleaning things up. I fixed it.
(http://curl.haxx.se/bug/view.cgi?id=2891591 )
2009-12-10 20:20:15 +00:00
Daniel Stenberg
3b1de97eaa
minor indent change
2009-12-10 20:19:56 +00:00
Yang Tse
5ce6454d33
- Fixed curl erroneously reporting output stream write failures with disabled buffering
2009-12-10 16:46:21 +00:00
Yang Tse
0653fa107f
signal handling to cleanup on SIGINT and SIGTERM, followup
2009-12-09 18:41:43 +00:00
Daniel Stenberg
ebe5339003
- Martin Storsjo made libcurl use the Expect: 100-continue header for posts
...
with unknown size. Previously it was only used for posts with a known size
larger than 1024 bytes.
2009-12-07 20:25:17 +00:00
Daniel Stenberg
95362af43c
74. The HTTP spec allows headers to be merged and become comma-separated
...
instead of being repeated several times. This also include Authenticate: and
Proxy-Authenticate: headers and while this hardly every happens in real life
it will confuse libcurl which does not properly support it for all headers -
like those Authenticate headers.
2009-12-04 21:52:58 +00:00
Yang Tse
d14bf09ab8
Fix 'uploaded' file descriptor leak
2009-12-03 20:37:49 +00:00
Yang Tse
636d2fe00a
signal handling to cleanup on SIGINT and SIGTERM
2009-12-03 13:12:04 +00:00
Kamil Dudka
fb2425b147
lib/nss.c: avoid use of uninitialized value
2009-12-02 17:24:38 +00:00
Yang Tse
2286f566d0
signal handling to cleanup on SIGINT and SIGTERM
2009-12-02 15:02:30 +00:00
Yang Tse
ed2aa87e63
Set socket option SO_REUSEADDR=true on stunnel accept'ing port
2009-12-01 15:36:34 +00:00
Daniel Stenberg
f0826974f2
- If the Expect: 100-continue header has been set by the application through
...
curl_easy_setopt with CURLOPT_HTTPHEADER, the library should set
data->state.expect100header accordingly - the current code (in 7.19.7 at
least) doesn't handle this properly. Martin Storsjo provided the fix!
2009-12-01 12:04:54 +00:00
Daniel Stenberg
d61690ef46
start working on 1.7.1
2009-11-30 22:39:04 +00:00
Yang Tse
a72ce23f16
- In order to better reflect that the returned pid is extracted from the
...
given file, serverpid sub is renamed to pidfromfile. In addition it is
enhanced to make sure that it always returns zero unless a numerical
positive value is returned.
- To better reflect that only process existance is actually checked,
checkserver sub is renamed to processexists. In addition it is enhanced
making it remove the given pid file when the extracted pid is no longer
alive.
2009-11-30 13:48:51 +00:00
Daniel Stenberg
bfae1bd999
#71 "TFTP block size / better integration in transfer" is now expected to
...
have been fixed!
2009-11-29 23:14:56 +00:00
Daniel Stenberg
8a7231d7ae
a binding for Falcon
2009-11-29 19:12:00 +00:00
Yang Tse
4d922545d5
- Added Diffie-Hellman parameters to several test harness certificate files in
...
PEM format. Required by several stunnel versions used by our test harness.
2009-11-28 10:01:21 +00:00
Yang Tse
1fc32d866a
Use different log files for each protocol
2009-11-28 05:06:19 +00:00
Yang Tse
230dc699e2
s/socklen_t/curl_socklen_t/g
2009-11-28 04:34:46 +00:00
Yang Tse
3f6854272f
Fix compiler warning: unused variable `data'
2009-11-28 03:00:32 +00:00
Daniel Stenberg
448f6684bb
7.20.0 is the planned next version number
2009-11-27 23:53:50 +00:00
Daniel Stenberg
af06a0e497
document --tftp-blksize
2009-11-27 23:51:05 +00:00
Daniel Stenberg
6e38cc9048
- Markus Koetter provided a polished and updated version of Chad Monroe's TFTP
...
rework patch that now integrates TFTP properly into libcurl so that it can
be used non-blocking with the multi interface and more. BLKSIZE also works.
The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from
the command line.
2009-11-27 23:46:29 +00:00
Yang Tse
a240f4d1df
Attempt to enhance stunnel 3.X logging
2009-11-27 19:52:56 +00:00
Yang Tse
6f273b1a5f
Prevent running stunnel unless its version can be determined.
2009-11-27 13:01:10 +00:00
Yang Tse
f07f17f2a4
Log sws IPv version, port and pid when exiting due to SIGINT or SIGTERM.
2009-11-27 12:01:25 +00:00
Yang Tse
c713627412
To allow remote log inspection avoid redirecting messages to stderr.
...
Set 0600 file permissions on certificate pem files.
2009-11-27 12:00:53 +00:00
Yang Tse
b1a35cd3ac
Preserve empty line following last target
2009-11-27 05:24:44 +00:00
Yang Tse
9cbf69ca0b
Log info for start up failures.
2009-11-26 22:07:47 +00:00
Daniel Stenberg
c7d2e4c1e1
- Extended and fixed the change I did on Dec 11 for the the progress
...
meter/callback during FTP command/response sequences. It turned out it was
really lame before and now the progress meter SHOULD get called at least
once per second.
2009-11-26 19:07:54 +00:00
Yang Tse
cbd527843b
Only attempt to clear the server-logs lock when previously set by this same server.
2009-11-26 10:15:08 +00:00
Yang Tse
fba233bb34
signal handling to cleanup on SIGINT and SIGTERM
2009-11-26 04:38:29 +00:00
Yang Tse
8b49428298
- Larry Lansing fixed ares_parse_srv_reply to properly parse replies
...
which might contain non-SRV answers, skipping over potential non-SRV
ones such as CNAMEs.
2009-11-26 01:21:21 +00:00
Yang Tse
19f79e5a79
When using icc, compile with -fpic and link with intel dynamic libraries.
2009-11-24 16:12:22 +00:00
Daniel Stenberg
e20f3ecd7e
clarify what a modern version of libcurl means
2009-11-24 10:10:59 +00:00
Yang Tse
c83f7ede26
Added 'currently' in italics to insist on transient situation.
2009-11-24 10:08:45 +00:00
Yang Tse
f385fdefbe
Fix language
2009-11-24 09:48:32 +00:00
Daniel Stenberg
88fe6557e9
refreshed
2009-11-24 07:40:43 +00:00
Yang Tse
405e18571e
- David Byron modified Makefile.dist vc8 and vc9 targets in order to allow
...
finer granularity control when generating src and lib makefiles.
2009-11-23 16:48:31 +00:00
Yang Tse
094afbeb56
Enhance some debug messages for initialization failures.
...
Fix compiler warning: conditional expression is constant.
2009-11-23 16:11:50 +00:00
Daniel Stenberg
1fddcb3f88
- Bjorn Augustsson reported a bug which made curl not report any problems even
...
though it failed to write a very small download to disk (done in a single
fwrite call). It turned out to be because fwrite() returned success, but
there was insufficient error-checking for the fclose() call which tricked
curl to believe things were fine.
2009-11-23 13:56:45 +00:00
Yang Tse
b723500af0
Daniel wants upcoming release to be 1.7.0
2009-11-23 12:03:32 +00:00
Yang Tse
4bfa0b08de
Mention last changes
2009-11-23 11:35:53 +00:00
Yang Tse
e536cb085f
- Removed from external interface preprocessor symbol definition for
...
CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data()
makes it unnecessary.
2009-11-23 11:26:29 +00:00
Yang Tse
083e2df4ed
Added README.msvc
2009-11-23 11:07:16 +00:00
Yang Tse
b7997d8a3b
Changed c-ares naming conventions when using MSVC as described in README.msvc
2009-11-23 11:05:47 +00:00
Daniel Stenberg
c80b593e5b
fixed CURLOPT_TFTP_BLKSIZE typo
2009-11-23 09:31:55 +00:00
Yang Tse
e37f8164a9
- Mention other recent changes
2009-11-23 01:54:55 +00:00
Yang Tse
35d4c57051
- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl and
...
ares_addr6ttl in order to prevent name space pollution, along with
necessary changes to code base and man pages.This change does not break
ABI, there is no need to recompile existing applications. But existing
applications using these structs with the old name will need source code
adjustments when recompiled using c-ares 1.6.1.
2009-11-23 01:24:17 +00:00
Yang Tse
f6114f2ec4
- Jakub Hrozek fixed more function prototypes in man pages to sync them
...
with the ones declared in ares.h
2009-11-23 00:57:50 +00:00
Yang Tse
f9e55c9908
Make configure remove the curlbuild.h file included in distribution tarballs
...
for use by non-configure systems. As intended, configure would overwrite the
distributed one when doing in-tree builds. But VPATH builds would end having
two curlbuild.h files, one in the source tree and another in the build tree.
2009-11-22 05:31:57 +00:00
Yang Tse
3005e63b02
Make configure remove the ares_build.h file included in distribution tarballs.
2009-11-22 05:31:31 +00:00
Yang Tse
65e628cc97
Fix macro redefinition.
2009-11-22 03:51:07 +00:00
Yang Tse
738e547815
Fix name space pollution.
2009-11-22 03:41:26 +00:00
Yang Tse
5ec8a3ae06
Allow using different extra import libraries for debug and release builds.
2009-11-22 03:40:42 +00:00
Yang Tse
fdfbc5d8da
Add manifest stuff to msvc makefile
2009-11-21 13:28:07 +00:00
Daniel Stenberg
504e6d7ae6
- Constantine Sapuntzakis identified a write after close, as the sockets were
...
closed by libcurl before the SSL lib were shutdown and they may write to its
socket. Detected to at least happen with OpenSSL builds.
2009-11-20 19:32:49 +00:00
Yang Tse
c3266a5eb1
Sync man page with reality
2009-11-20 14:15:05 +00:00
Yang Tse
ced1e1e726
Add missing external API decoration for ares_set_socket_callback()
2009-11-20 14:11:06 +00:00
Daniel Stenberg
a41493b3b0
- Jad Chamcham pointed out a bug with connection re-use. If a connection had
...
CURLOPT_HTTPPROXYTUNNEL enabled over a proxy, a subsequent request using the
same proxy with the tunnel option disabled would still wrongly re-use that
previous connection and the outcome would only be badness.
2009-11-20 13:27:21 +00:00
Yang Tse
6da73d09f1
Add ares_free_data() man page.
2009-11-20 13:02:41 +00:00
Yang Tse
4c0ffd33f5
- Provide in external interface preprocessor symbol definitions for
...
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
2009-11-20 13:01:35 +00:00
Yang Tse
99363a0ee1
Remove typecast
2009-11-20 09:57:25 +00:00
Yang Tse
71260534f9
Fix comment
2009-11-20 09:54:15 +00:00
Yang Tse
5e62be1d8c
Add ares_data.c and ares_data.h
2009-11-20 09:14:37 +00:00
Yang Tse
7e6a67b436
Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() API
...
to return a linked lists of results. These were also modified to internally
use the ares_data memory struct and as such its result must be free'ed with
ares_free_data().
2009-11-20 09:06:33 +00:00
Yang Tse
5a0a473c30
Initial support for the generic ares_free_data() function that will allow
...
applications to free memory allocated and returned by some c-ares funtions.
2009-11-20 08:50:03 +00:00
Yang Tse
5129442ee7
Explicit initialization of all FTP struct members in ftp_init()
2009-11-19 17:21:56 +00:00
Yang Tse
e8fd5d8062
Fix compiler warning: ISO C90 forbids mixed declarations and code
2009-11-18 11:53:31 +00:00
Yang Tse
2f6dcaa644
Make memory tracking system intolerant with zero sized malloc(),
...
calloc() and realloc() function calls.
2009-11-18 11:21:58 +00:00
Yang Tse
59939313f8
Make usage of calloc()'s arguments consistent with rest of code base
2009-11-18 10:33:54 +00:00
Yang Tse
961c504ca5
workaround icc 9.1 optimizer issue
2009-11-18 02:57:34 +00:00
Daniel Stenberg
b32d1a9a1d
- Constantine Sapuntzakis provided another fix for the DNS cache that could
...
end up with entries that wouldn't time-out:
1. Set up a first web server that redirects (307) to a http://server:port
that's down
2. Have curl connect to the first web server using curl multi
After the curl_easy_cleanup call, there will be curl dns entries hanging
around with in_use != 0.
(http://curl.haxx.se/bug/view.cgi?id=2891591 )
2009-11-17 22:53:55 +00:00
Daniel Stenberg
4c8adc8fee
- Marc Kleine-Budde fixed: curl saved the LDFLAGS set during configure into
...
its pkg-config file. So -Wl stuff ended up in the .pc file, which is really
bad, and breaks if there are multiple -Wl in our LDFLAGS (which are in
PTXdist). bug #2893592 (http://curl.haxx.se/bug/view.cgi?id=2893592 )
2009-11-17 18:11:06 +00:00
Yang Tse
69ac7b0cf8
Add icc fvisibility bug test
2009-11-16 23:01:37 +00:00
Yang Tse
09526fc9e9
Fix icc 9.0 compiler warning: external definition with no prior declaration
2009-11-16 20:02:12 +00:00
Yang Tse
f0068267ee
Update serial number
2009-11-16 01:56:45 +00:00
Yang Tse
7db7c0af4f
Fix three var names
2009-11-16 01:56:16 +00:00
Yang Tse
6bf10a111f
Add check for assert.h header file
2009-11-16 01:55:48 +00:00
Kamil Dudka
530fde3a22
- David Byron improved the configure script to use pkg-config to find OpenSSL
...
(and in particular the list of required libraries) even if a path is given
as argument to --with-ssl
2009-11-15 15:23:43 +00:00
Yang Tse
5b3be2ee35
getaddrinfo is fully thread safe on solaris versions which
...
implement the function even when h_errno is not a macro.
The h_errno macro test now only done on systems for which there
is no hard coded knowledge about getaddrinfo's thread safeness.
2009-11-15 13:43:15 +00:00
Yang Tse
3b8d7fddf7
Client certificate ENG file type requires OpenSSL 0.9.7 or newer
2009-11-15 12:58:50 +00:00
Yang Tse
0e80f0e4c4
Remove files generated on previous buildconf/configure run
2009-11-15 03:47:13 +00:00
Yang Tse
a2ddb0a61b
Add a couple of renamed files to the removal list
2009-11-15 03:46:14 +00:00
Yang Tse
581ce03345
Remove enable-thread / disable-thread configure option. These were only placebo
...
options. The library is always built as thread safe as possible on every system.
2009-11-15 02:45:23 +00:00
Claes Jakobsson
f7f76e17c3
Added '--configure' option to curl-config to display original configure arguments when curl was built
2009-11-14 19:23:26 +00:00
Yang Tse
1cbc93fb54
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
2009-11-14 18:51:37 +00:00
Yang Tse
a8ddd6ce31
OpenSSL 0.9.7 or newer required for ENGINE_CTRL_GET_CMD_FROM_NAME definition
2009-11-14 11:33:49 +00:00
Daniel Stenberg
eb16c0e1eb
- Claes Jakobsson restored the configure functionality to detect NSS when
...
--with-nss is set but not "yes".
I think we can still improve that to check for pkg-config in that path etc,
but at least this patch brings back the same functionality we had before.
2009-11-14 09:13:47 +00:00
Daniel Stenberg
9c49e51f7e
- Camille Moncelier added support for the file type SSL_FILETYPE_ENGINE for
...
the client certificate. It also disable the key name test as some engines
can select a private key/cert automatically (When there is only one key
and/or certificate on the hardware device used by the engine)
2009-11-14 07:53:34 +00:00
Yang Tse
90bc6ee8f3
- Constantine Sapuntzakis provided the fix that ensures that an SSL connection
...
won't be reused unless protection level for peer and host verification match.
2009-11-14 02:30:30 +00:00
Yang Tse
5e75817d44
Assume that getaddrinfo is thread safe, unless hard coded
...
knowledge says the contrary or h_errno is not defined.
2009-11-13 20:03:45 +00:00
Yang Tse
a7e4022d6b
Related with the threadsafe capability of getaddrinfo:
...
- Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2
and newer have a threadsafe getaddrinfo.
- Fix Dragonfly BSD triplet detection.
- In case the hard-coded knowledge says that getaddrinfo is threadsafe,
an additional check is done to verify that h_errno is also defined.
If h_errno isn't defined, we finally assume that it isn't threadsafe.
Jamie Lokier provided the inspiration for this extra check.
2009-11-13 05:01:51 +00:00
Yang Tse
4999847625
AIX 5.2 and newer have threadsafe getaddrinfo.
...
Add some comments to better understand what the regex's pretend to achieve.
2009-11-12 22:48:40 +00:00
Yang Tse
d26a92493a
HP-UX 11.11 and later have threadsafe getaddrinfo
2009-11-12 20:29:28 +00:00
Yang Tse
05a4abea04
Constantine Sapuntzakis patch for hostip.c
...
No need for a separate variable ndns.
The memory leak detection will detect code that fails to release a dns reference.
The DEBUGASSERT will detect code that releases too many references.
2009-11-12 19:28:43 +00:00
Yang Tse
c1f9440aca
Check if getaddrinfo is threadsafe when function check allows it to be used
2009-11-12 18:31:33 +00:00
Yang Tse
011a2818db
Add missing variable initialization
2009-11-12 14:36:34 +00:00
Kamil Dudka
571309dc3e
- libcurl-NSS now tries to reconnect with TLS disabled in case it detects
...
a broken TLS server. However it does not happen if SSL version is selected
manually. The approach was originally taken from PSM. Kaspar Brand helped me
to complete the patch. Original bug reports:
https://bugzilla.redhat.com/525496
https://bugzilla.redhat.com/527771
2009-11-12 11:16:31 +00:00
Kamil Dudka
d547d00f2c
- Kevin Baughman provided a fix preventing libcurl-NSS from crash on doubly
...
closed NSPR descriptor. The issue was hard to find, reported several times
before and always closed unresolved. More info at the RH bug:
https://bugzilla.redhat.com/534176
2009-11-12 10:54:10 +00:00
Yang Tse
668dc0ad87
Make hostip.c compile again
2009-11-12 04:32:08 +00:00
Dan Fandrich
0b7e0eed49
Made the path to the binaries absolute
2009-11-11 22:15:33 +00:00
Yang Tse
9b7e45e874
Add last change credit
2009-11-11 21:19:49 +00:00
Yang Tse
40c2c3270d
- Marco Maggi reported that compilation failed when configured --with-gssapi
...
and GNU GSS installed due to a missing mutual exclusion of header files in
the Kerberos 5 code path. He also verified that my patch worked for him.
2009-11-11 21:15:34 +00:00
Daniel Stenberg
b3e8cf539d
NSS SSL connections are also blocking
2009-11-11 14:54:45 +00:00
Daniel Stenberg
fb5f332834
- Constantine Sapuntzakis posted bug #2891595
...
(http://curl.haxx.se/bug/view.cgi?id=2891595 ) which identified how an entry
in the DNS cache would linger too long if the request that added it was in
use that long. He also provided the patch that now makes libcurl capable of
still doing a request while the DNS hash entry may get timed out.
2009-11-11 09:31:37 +00:00
Daniel Stenberg
107c4d878a
- Christian Schmitz noticed that the progress meter/callback was not properly
...
used during the FTP connection phase (after the actual TCP connect), while
it of course should be. I also made the speed check get called correctly so
that really slow servers will trigger that properly too.
2009-11-11 09:01:43 +00:00
Yang Tse
5d786d0e97
Renamed fpGetNetworkParams and fpSystemFunction036 to avoid namespace pollution with static library
2009-11-11 08:56:46 +00:00
Yang Tse
5f77eea408
Add kernel32.lib
2009-11-11 08:51:31 +00:00
Yang Tse
a0905ec0ab
Mention last changes
2009-11-10 22:07:32 +00:00
Yang Tse
d7470a3629
Reinstate copyright symbol lost in previous commit
2009-11-10 22:04:51 +00:00
Yang Tse
2287e7ba8b
Make some strings different in resource file for debug or release builds
2009-11-10 20:20:13 +00:00
Yang Tse
16a1e251cd
Ignore more subdirs
2009-11-10 20:05:10 +00:00
Yang Tse
1aa320dedb
Fix compiler warning: conditional expression is constant
2009-11-10 18:41:03 +00:00
Yang Tse
d17ce4e9f1
Sync linker and resource compiler options with Makefile.msvc
2009-11-10 18:26:09 +00:00
Yang Tse
50c3417686
Follow Makefile.msvc subdirectory naming scheme, and sync compiler options
2009-11-09 19:34:30 +00:00
Yang Tse
46f294dbb0
Updated MSVC makefile that allows building dynamic and static
...
c-ares libraries in debug and release flavours.
Additionally each of the three sample programs is built against
each of the four possible c-ares libraries, generating all this
a total number of 12 executables and 4 libraries.
2009-11-09 13:24:11 +00:00
Yang Tse
d7231f54d7
Test for USE_WINSOCK since it is more restrictive than WIN32
2009-11-09 12:57:26 +00:00
Yang Tse
809f2a190c
Make header inclusion depend on HAVE_*_H definition
2009-11-09 12:56:50 +00:00
Yang Tse
4f62cdf6f9
Remove unneeded preprocessor directives
2009-11-09 12:56:11 +00:00
Daniel Stenberg
b8012ea251
Joshua Kwan added paragraph 4.18 about file:// URLs on windows etc
2009-11-07 21:52:41 +00:00
Yang Tse
02673a8900
Adjust c-ares include paths for memory tracking enabled (--enable-curldebug) builds
2009-11-05 17:44:29 +00:00
Kamil Dudka
676e0c28e7
- Dropped misleading timeouts in libcurl-NSS and made sure the SSL socket works
...
in non-blocking mode.
2009-11-05 15:41:31 +00:00
Yang Tse
55e68ba333
I removed leading 'curl' path on the 'curlbuild.h' include statement in
...
curl.h, adjusting auto-makefiles include path, to enhance portability to
OS's without an orthogonal directory tree structure such as OS/400.
2009-11-05 15:04:03 +00:00
Yang Tse
3f56d12830
avoid division by zero
2009-11-05 15:00:28 +00:00
Daniel Stenberg
257f2376d5
- I fixed several problems with the transfer progress meter. It showed the
...
wrong percentage for small files, most notable for <1000 bytes and could
easily end up showing more than 100% at the end. It also didn't show any
percentage, transfer size or estimated transfer times when transferring
less than 100 bytes.
2009-11-04 23:09:17 +00:00
Yang Tse
1d8d389bce
source files used by sample programs
2009-11-04 14:24:47 +00:00
Daniel Stenberg
99e43046a7
start over towards 7.19.8
2009-11-04 13:11:43 +00:00
Daniel Stenberg
a5460f2431
updated with names from the 7.19.7 release notes
2009-11-04 13:10:07 +00:00
Daniel Stenberg
6bf9d56485
fix the find command line
2009-11-04 12:34:48 +00:00
Daniel Stenberg
367114bc87
avoid fiddling in the ares subdir since that isn't part of the release
...
tarball
2009-11-04 12:33:06 +00:00
Daniel Stenberg
81d45ed3a2
release coming up
2009-11-04 12:20:07 +00:00
Daniel Stenberg
7d74e02519
syntax
2009-11-04 12:13:20 +00:00
Daniel Stenberg
7611d30a05
I have next to no hope of fixing more bugs before 7.19.7 so all are now
...
moved to 7.19.8. I removed the bugs already in KNOWN_BUGS (but they should
of course still get fixed).
Added three recent bugs. 7.19.8 is targetted to get shipped in Janurary 2010
2009-11-04 10:17:28 +00:00
Dan Fandrich
3704375292
Put the Symbian binaries into the more modern locations in ROM
2009-11-04 00:27:19 +00:00
Dan Fandrich
ea1f30e686
Updated systems, bindings, NTLM support
2009-11-03 19:07:19 +00:00
Dan Fandrich
9732b7cebe
Export the Symbian .iby files to make it easier to build a ROM
2009-11-03 00:22:56 +00:00
Daniel Stenberg
f39380b1ac
strerror() => curl_easy_strerror()
2009-11-02 21:20:45 +00:00
Yang Tse
c8da2980ed
include progress.h for Curl_pgrsSetDownloadCounter function prototype
2009-11-02 20:04:18 +00:00
Daniel Stenberg
b19dc0eeb0
- As reported independent by both Stan van de Burgt and Didier Brisebourg,
...
CURLINFO_SIZE_DOWNLOAD (the -w variable size_download) didn't work when
getting data from ldap!
2009-11-02 18:49:56 +00:00
Daniel Stenberg
41de897b6b
describe the cmake situation
2009-11-02 16:24:11 +00:00
Yang Tse
108b414bb8
Renamed c-ares setup.h to ares_setup.h
2009-11-02 11:55:53 +00:00
Yang Tse
be7af8beaa
Adjust include paths to take in account that currently:
...
c-ares with --enable-curldebug uses memdebug.h from libcurl's lib subdirectory.
memdebug.h needs access to libcurl's setup.h from libcurl's lib subdirectory
and also needs access to libcurl's generated curl_config.h
2009-11-02 01:58:25 +00:00
Yang Tse
db1281fa9b
Undo old temporary change once used for testing purposes
2009-11-01 20:26:02 +00:00
Daniel Stenberg
223d848104
- Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if the
...
download was 0 bytes, as libcurl would then return the size as unknown (-1)
and not 0. I wrote a fix and test case 566 to verify it.
2009-10-31 18:51:50 +00:00
Yang Tse
d8884168e3
Mention many changes
2009-10-31 12:52:44 +00:00
Yang Tse
5dd64e9e4b
Mention --enable-symbol-hiding configure option
2009-10-31 12:51:49 +00:00
Yang Tse
ce6731baf1
Symbol hiding configure options renamed to the hopefully less ambiguous
...
--enable-symbol-hiding and --disable-symbol-hiding as well as related
macro names and some internal variables used for them.
Related configuration file preprocessor symbols named to
CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
2009-10-31 04:16:40 +00:00
Daniel Stenberg
2c0b65d37b
Added test case 566 in an attempt to repeat bug 2884561
...
(http://curl.haxx.se/bug/view.cgi?id=2884561) but it seems to work for me...
2009-10-30 22:38:21 +00:00
Daniel Stenberg
a76f4ab7dd
- Liza Alenchery mentioned a problem with re-used SCP connection when a bad
...
auth is used, as it caused a crash. I failed to repeat the issue, but still
made a change that now forces the TCP connection used for a freed SCP
session to get closed and not be re-used.
2009-10-30 22:28:56 +00:00
Daniel Stenberg
d68f215f03
- "Tom" posted a bug report that mentioned how libcurl did wrong when doing a
...
POST using a read callback, with Digest authentication and
"Transfer-Encoding: chunked" enforced. I would then cause the first request
to be wrongly sent and then basically hang until the server closed the
connection. I fixed the problem and added test case 565 to verify it.
2009-10-30 22:24:48 +00:00
Yang Tse
0a5ac52b49
Header inclusion depending on HAVE_* symbol.
...
Fix two typos.
2009-10-30 18:20:17 +00:00
Yang Tse
8acb3803e4
Comparison of the Initial revision of this file with ares_parse_a_reply.c
...
shows that this one is actually a modified copy of ares_parse_a_reply.c.
In order to comply with ares_parse_a_reply.c's M.I.T. license, the old
1998 M.I.T. copyright notice is now also preserved in this file the same
as it is done in other ares_parse_*.c files.
2009-10-30 18:07:17 +00:00
Yang Tse
ac62a94de3
Add CVS Id tag.
...
Fix identation of some license lines.
2009-10-30 18:03:57 +00:00
Yang Tse
0abcb37e3f
Add CVS Id tag.
2009-10-30 18:03:04 +00:00
Yang Tse
7da5efd55c
Fix comment
2009-10-30 16:27:30 +00:00
Yang Tse
d4ff44d5f6
In no particular order, changed/fixed all of the following in
...
ares_parse_txt_reply() current version:
- Fixed a couple of potential double free's.
- Fixed memory leaks upon out of memory condition.
- Fixed pointer arithmetic.
- Setting ntxtreply to zero upon entry for all failure cases.
- Changed data type to size_t for variables substr_len, str_len and
the length member of ares_txt_reply struct.
- Avoided a couple of memcpy() calls.
- Changed i data type to unsigned int to prevent compiler warnings.
- Adjusted a comment.
- Use ARES_SUCCESS literal for successfull completion.
- Added CVS Id tag.
2009-10-30 16:21:56 +00:00
Yang Tse
fff706d702
Add c-ares DLL resource file to distribution archive
2009-10-29 19:13:20 +00:00
Yang Tse
eac4310b2e
ignore files
2009-10-29 18:30:38 +00:00
Yang Tse
e87ee29e32
Empty subdir
2009-10-29 18:00:24 +00:00
Yang Tse
61ebbc01ed
Updated MSVC 6.0 workspace and project files that allows building
...
dynamic and static c-ares libraries in debug and release flavours.
Additionally each of the three sample programs is built against
each of the four possible c-ares libraries, generating all this
a total number of 12 executables and 4 libraries.
2009-10-29 17:52:56 +00:00
Daniel Stenberg
15f425bdb8
no need to check for NULL pointers before dereferencing, as the pointers
...
MUST be valid and they are dereferenced further down in the function
unconditionally!
2009-10-29 09:12:40 +00:00
Daniel Stenberg
861092637b
shorten the descriptions somewhat
2009-10-29 09:06:42 +00:00
Daniel Stenberg
3717b7a792
update to the new struct name
2009-10-29 09:06:22 +00:00
Daniel Stenberg
950a034895
Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
2009-10-29 08:59:40 +00:00
Daniel Stenberg
982e655c07
use 'ares_srv_reply' for proper name-spacing
2009-10-29 08:50:34 +00:00
Yang Tse
308497ffc6
Fix compiler warning: control reaches end of non-void function
2009-10-29 04:02:21 +00:00
Yang Tse
b205525d34
Take in account c-ares 1.6.1 will use __declspec function decoration
...
for Win32 and Symbian unless CARES_STATICLIB is defined to use static
library linkage.
2009-10-29 03:48:00 +00:00
Yang Tse
654b6b6c63
Add reference for ares_parse_srv_reply.pdf
2009-10-29 02:40:16 +00:00
Yang Tse
3b908ed143
Add reference for ares_parse_srv_reply docs
2009-10-29 01:59:57 +00:00
Yang Tse
265ed24ac0
External API function linkage decoration adjustment
2009-10-29 01:34:19 +00:00
Yang Tse
57eeee2ec3
External API function linkage decoration adjustment
2009-10-29 01:02:54 +00:00
Daniel Stenberg
6a79b0e859
Since the NSS lib closes the socket the memory tracking system wrongly gets a
...
false positive on a leaked socket, so this introduces a way to tell the system
that the socket is indeed closed without explicitly closing it!
2009-10-28 20:30:23 +00:00
Yang Tse
0d9f14f5c1
Initial step towards the ability to reduce c-ares exported symbols
...
based on the 'visibility' attribute for GNUC and __global for Sun
compilers, taking also in account __declspec function decoration
for Win32 and Symbian DLL's.
Introducing configure options --enable-hidden-symbols and
--disable-hidden-symbols following libcurl's naming.
2009-10-28 19:45:26 +00:00
Yang Tse
9fced16efb
libssh2 detection changes mentioned in http://curl.haxx.se/mail/lib-2009-10/0343.html
2009-10-28 00:33:28 +00:00
Yang Tse
f16868d301
Fix comment
2009-10-27 17:03:11 +00:00
Yang Tse
21af9bf1cd
Fix spelling
2009-10-27 16:56:20 +00:00
Yang Tse
b2f4308980
Fix Pelles C Win32 target compilation issues
2009-10-27 16:38:42 +00:00
Daniel Stenberg
6a37135f4d
grrr, removed the conflict markers
2009-10-26 08:54:23 +00:00
Daniel Stenberg
b8e1e63379
spell fix by Michael Wood
2009-10-26 08:53:07 +00:00
Daniel Stenberg
448d2b5f49
- Dima Barsky made the curl cookie parser accept cookies even with blank or
...
unparsable expiry dates and then treat them as session cookies - previously
libcurl would reject cookies with a date format it couldn't parse. Research
shows that the major browser treat such cookies as session cookies. I
modified test 8 and 31 to verify this.
2009-10-25 18:15:14 +00:00
Dan Fandrich
7867d44251
Mention that Android works
2009-10-24 20:20:08 +00:00
Daniel Stenberg
2380ca1714
Fabian Keil's suggested wording
2009-10-24 16:34:04 +00:00
Yang Tse
a1cc78d5a1
John Engelhart noticed an unreleased problem relative to a duplicate
...
ARES_ECANCELLED error code value and missing error code description.
2009-10-23 15:49:05 +00:00
Patrick Monnerat
7531ac89d6
OS400 install: Duplicate H include file to file CURL to support more include path forms.
2009-10-23 15:05:45 +00:00
Daniel Stenberg
72acffc66c
update the company sponsors part, as one company is no longer sponsoring
...
and another is sponsoring more
2009-10-22 07:56:10 +00:00
Yang Tse
525549f204
Update MSVC 6 caveats section
2009-10-21 18:46:00 +00:00
Yang Tse
3f8d3e9c50
Update memory tracking/debugging reference
2009-10-21 18:01:11 +00:00
Daniel Stenberg
1951cd1eee
- Attempt to use pkg-config for finding out libssh2 installation details
...
during configure.
2009-10-21 14:56:25 +00:00
Daniel Stenberg
55aee95f11
mention bug 2848436 in regard to the TFTP problems
2009-10-21 12:39:27 +00:00
Daniel Stenberg
777134a07b
s/koresh/Johan van Selst/
2009-10-21 12:36:54 +00:00
Daniel Stenberg
4b8ce9423f
add --crlfile to the man page
2009-10-21 12:33:56 +00:00
Daniel Stenberg
051ab439a9
- A patch in bug report #2883177 ( http://curl.haxx.se/bug/view.cgi?id=2883177 )
...
by user 'koresh' introduced the --crlfile option to curl, which makes curl
tell libcurl about a file with CRL (certificate revocation list) data to
read.
2009-10-21 12:29:52 +00:00
Daniel Stenberg
12e60c6d4e
spelling corrections
2009-10-21 07:40:33 +00:00
Yang Tse
ff3223259f
Detect when msvc 6.0 is in use without PSDK installed, intentionally
...
fail to build when this happens, and show an appropriate error.
The brave of heart can circumvect this. Defining ALLOW_MSVC6_WITHOUT_PSDK
in lib/config-win32.h, although absolutely discouraged and unsupported,
this will allow the die hard MSVC hacker to build in such a discouraged
environment.
The actually supported 'fix' is to install 'February 2003 Platform SDK'
a.k.a. 'Windows Server 2003 PSDK' which can be freely downloaded from
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm
2009-10-21 02:30:56 +00:00
Gunter Knauf
3da1ade4e5
added cast macros to silent compiler warnings with 64-bit systems.
2009-10-19 18:10:47 +00:00
Yang Tse
ff40c83aa7
Fix compiler warning: local variable may be used without having been initialized
2009-10-19 15:56:26 +00:00
Yang Tse
f49427d364
Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
...
is only expanded and included once in the configure script.
2009-10-19 04:13:12 +00:00
Yang Tse
04e8ff84fe
Our _AS_PATH_SEPARATOR_PREPARE override is now m4_defun'd instead of m4_define'd
...
due to autoconf 2.64 m4_require'ing it in _AS_SHELL_SANITIZE indirectly through
_AS_PATH_WALK.
2009-10-19 04:11:54 +00:00
Daniel Stenberg
6f4a5a4612
- Ray Dassen provided a patch in Debian's bug tracker (bug number #551461 )
...
that now makes curl_getdate(3) actually handles RFC 822 formatted dates that
use the "single letter military timezones".
http://www.rfc-ref.org/RFC-TEXTS/822/chapter5.html has the details.
2009-10-18 21:56:19 +00:00
Yang Tse
6d4e6cc813
Check for basename() is now done the same as other function checks
2009-10-18 03:37:39 +00:00
Daniel Stenberg
86cec97b22
- Fixed memory leak in the SCP/SFTP code as it never freed the knownhosts
...
data!
2009-10-18 01:11:25 +00:00
Daniel Stenberg
e5ee822745
John Dennis filed bug report #2873666
...
(http://curl.haxx.se/bug/view.cgi?id=2873666 ) which identified a problem which
made libcurl loop infinitely when given incorrect credentials when using HTTP
GSS negotiate authentication.
2009-10-18 00:18:27 +00:00
Daniel Stenberg
167a92810a
- Kevin Baughman found a double close() problem with libcurl-NSS, as when
...
libcurl called NSS to close the SSL "session" it also closed the actual
socket.
2009-10-18 00:10:13 +00:00
Daniel Stenberg
b8b8c3d538
s/Make NTLM work without OpenSSL functions/Make NTLM work with other crypto functions
...
As it actually builds with gcrypt these days, but not the NSS functions.
2009-10-17 19:31:57 +00:00
Daniel Stenberg
21105ab344
README.NSS is gone
2009-10-17 18:31:57 +00:00
Yang Tse
e49d928ce4
Fix invalid file name characters handling on Windows
2009-10-17 17:33:19 +00:00
Yang Tse
5e253785af
Move comment
2009-10-16 13:30:31 +00:00
Yang Tse
3cbc8d1ba3
Replace tabs with spaces
2009-10-15 17:34:09 +00:00
Yang Tse
b4af26a188
Fix an OOM handling problem
2009-10-14 18:11:36 +00:00
Gunter Knauf
6daede08cb
we only need to call ASN1_STRING_length() if ASN1_STRING_type() detects UTF-8,
...
else ASN1_STRING_to_UTF8() returns the string length.
2009-10-14 02:32:27 +00:00
Yang Tse
3669ff3c1e
Update LDAP URL format reference
2009-10-13 14:48:35 +00:00
Yang Tse
9afdb05fe8
Fix compiler warning: argument is incompatible with corresponding format string conversion
2009-10-13 13:53:57 +00:00
Yang Tse
4d9279cb3b
Fix potential out-of-bounds read
2009-10-10 12:31:27 +00:00
Yang Tse
640e49976f
Fix compiler warning: loop without body
2009-10-10 12:29:32 +00:00
Yang Tse
f1aa936d2c
Fix compiler warning
2009-10-09 14:06:38 +00:00
Yang Tse
a5ba25a5f6
Fix compiler warning
2009-10-08 18:38:29 +00:00
Yang Tse
b4e6418aef
Fix compiler warning
2009-10-08 17:06:08 +00:00
Yang Tse
0077a6d51b
Attempt to silence bogus compiler warning: "Potential null pointer dereference"
2009-10-08 12:44:25 +00:00
Yang Tse
4798f4e652
Fix compiler warning: addition result could be truncated before cast to bigger sized type
2009-10-08 00:02:32 +00:00
Kamil Dudka
b38e28b6bc
fix gcc warnings in lib/nss.c
2009-10-07 20:34:08 +00:00
Yang Tse
052dac0d3f
Overhauled ares__get_hostent()
...
- Fixing out of bounds memory overwrite triggered with malformed /etc/hosts file.
- Improving parsing of /etc/hosts file.
- Validating requested address family.
- Ensuring that failures always return a NULL pointer.
- Adjusting header inclusions.
2009-10-07 18:47:04 +00:00
Gunter Knauf
2eeafcf9a6
removed NSS README since the mentioned problems are now solved.
2009-10-07 12:25:32 +00:00
Yang Tse
45e093fc45
Fix vc-x64 target having MACHINE= wrongly positioned, and added vc-x64-ssl-zlib
...
target as indicated end requested by Viktor Szakats in bug report #2872879 .
2009-10-06 14:14:13 +00:00
Yang Tse
e593715d72
Fix comment
2009-10-06 14:00:03 +00:00
Yang Tse
1209f2c014
Fix ssize_t redefinition errors on WIN64 reported by Alexey Simak
2009-10-06 13:59:37 +00:00
Dan Fandrich
7c821a85f8
Minix has new build prerequisites using autoconf 2.64
2009-10-06 06:54:46 +00:00
Yang Tse
cf367a62ce
more files to ignore
2009-10-05 02:47:34 +00:00
Daniel Stenberg
b233957885
- Tom Mueller correctly reported in bug report #2870221
...
(http://curl.haxx.se/bug/view.cgi?id=2870221 ) that libcurl returned an
incorrect return code from the internal trynextip() function which caused
him grief. This is a regression that was introduced in 7.19.1 and I find it
strange it hasn't hit us harder, but I won't persue into figuring out
exactly why.
2009-10-01 07:59:45 +00:00
Daniel Stenberg
492aed1450
mention some alternative method names in the docs for --request
2009-10-01 07:37:58 +00:00
Daniel Stenberg
cd91a1eeca
mention "quiet" for the --silent option to get easier to find
2009-10-01 07:35:15 +00:00
Daniel Stenberg
5ed274d0b7
- Constantine Sapuntzakis: The current implementation will always set
...
SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger. The
patch doesn't do a setsockopt if SO_SNDBUF is already greater than
CURL_WRITE_SIZE. This should help folks who have set up their computer with
large send buffers.
2009-10-01 07:05:07 +00:00
Yang Tse
4271f44a9e
Check if _REENTRANT definition is required to
...
make errno available as a preprocessor macro.
2009-09-29 16:34:03 +00:00
Dan Fandrich
78d07cb0f9
Removed some extraneous carriage return characters
2009-09-28 18:13:35 +00:00
Yang Tse
5b11e3883c
fix compiler warning: conversion from "long" to "size_t" may lose sign
2009-09-28 17:01:23 +00:00
Yang Tse
7d22ce5573
libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h
2009-09-28 16:05:20 +00:00
Yang Tse
b64dd3c63d
Added check for memrchr function or macro
2009-09-28 12:16:29 +00:00
Daniel Stenberg
0ea6abe7df
tiny indent fix
2009-09-27 21:37:24 +00:00
Daniel Stenberg
8646cecb78
- I introduced a maximum limit for received HTTP headers. It is controlled by
...
the define CURL_MAX_HTTP_HEADER which is even exposed in the public header
file to allow for users to fairly easy rebuild libcurl with a modified
limit. The rationale for a fixed limit is that libcurl is realloc()ing a
buffer to be able to put a full header into it, so that it can call the
header callback with the entire header, but that also risk getting it into
trouble if a server by mistake or willingly sends a header that is more or
less without an end. The limit is set to 100K.
2009-09-27 21:34:13 +00:00
Daniel Stenberg
867a0de670
unify two very similar code sections into one single function, header_append()
2009-09-27 21:14:15 +00:00
Daniel Stenberg
4f47fc4e14
- John P. McCaskey posted a bug report that showed how libcurl did wrong when
...
saving received cookies with no given path, if the path in the request had a
query part. That is means a question mark (?) and characters on the right
side of that. I wrote test case 1105 and fixed this problem.
2009-09-26 20:51:51 +00:00
Daniel Stenberg
8d39a31e89
added test 1105 (disabled) - it repeats a cookie path bug we need to fix
2009-09-26 11:46:41 +00:00
Kamil Dudka
66fcebdc9e
- Implemented a protocol independent way to specify blocking direction, used by
...
transfer.c for blocking. It is currently used only by SCP and SFTP protocols.
This enhancement resolves an issue with 100% CPU usage during SFTP upload,
reported by Vourhey.
2009-09-26 08:31:48 +00:00
Daniel Stenberg
af9ce990f0
minor whitespace edit
2009-09-25 20:26:44 +00:00
Daniel Stenberg
e3d623f190
- Chris Mumford filed bug report #2861587
...
(http://curl.haxx.se/bug/view.cgi?id=2861587 ) identifying that libcurl used
the OpenSSL function X509_load_crl_file() wrongly and failed if it would
load a CRL file with more than one certificate within. This is now fixed.
2009-09-25 18:09:38 +00:00
Dan Fandrich
15be441ad8
Changed the default OpenSSL include path
2009-09-25 16:51:57 +00:00
Yang Tse
c7c84e7420
fix compiler warning: end-of-loop code not reached
2009-09-25 13:05:36 +00:00
Yang Tse
37489a855f
fix compiler warning: variable "sni" was set but never used
2009-09-24 13:24:08 +00:00
Daniel Stenberg
f03130a36e
revert HPUX change since it already works fine
2009-09-24 03:40:30 +00:00
Daniel Stenberg
a1d18227e5
builds thread-safer on HPUX
2009-09-23 22:16:29 +00:00
Daniel Stenberg
1549605c55
- HPUX does need _REENTRANT too to build really thread-safe.
2009-09-23 21:53:24 +00:00
Gunter Knauf
14a3f4cd54
added section for libcurl builds with NSS SSL support.
2009-09-21 23:00:12 +00:00
Gunter Knauf
9448659fc6
added support for new SQLite cert database format: added a runtime check for version 3.12.0, and depending on the result add 'sql:' prefix to cert database directory so that newer SQLIte database format works.
2009-09-21 22:52:59 +00:00
Gunter Knauf
4002714825
added aditional check for the directory specified with SSL_DIR, and fall back to hardcoded directory if not a valid directory.
2009-09-21 22:46:38 +00:00
Yang Tse
61ea058d9f
fix compiler warning: comparison between signed and unsigned
2009-09-18 14:48:16 +00:00
Daniel Stenberg
0fdb77d643
added three missing files to the dist archive
2009-09-17 17:38:25 +00:00
Yang Tse
0c90cb7b83
fix compiler warning: enumerated type mixed with another type
2009-09-17 16:11:54 +00:00
Yang Tse
ede2ac0ea2
Attempt to silence bogus compiler warning: "Potential null pointer dereference"
2009-09-17 15:33:32 +00:00
Yang Tse
d006efebc0
fix compiler warning: conversion to 'size_t' from 'curl_off_t' may alter its value
2009-09-17 15:06:34 +00:00
Yang Tse
f2f45339dc
Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h
...
into curl_rand.c and curl_rand.h
2009-09-17 14:23:27 +00:00
Yang Tse
be5c815f63
remove line obsoleted with previous commit
2009-09-17 14:02:50 +00:00
Yang Tse
31e106ced2
Attempt to silence bogus compiler warning: "Potential null pointer dereference"
2009-09-17 11:45:27 +00:00
Daniel Stenberg
250ba99498
- Sven Anders reported that we introduced a cert verfication flaw for OpenSSL-
...
powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name
field in the certficate it had to match and so even if non-DNS and non-IP
entry was present it caused the verification to fail.
2009-09-16 20:44:18 +00:00
Yang Tse
c2c3a46e3e
Attempt to silence bogus compiler warning: "Potential null pointer dereference through ptr is detected"
2009-09-16 16:49:02 +00:00
Yang Tse
3eee678ab1
Attempt to silence bogus compiler warning: "Potential null pointer dereference through ptr is detected"
2009-09-16 14:38:18 +00:00
Dan Fandrich
62ed553054
Moved the libssh2 checks after the SSL library checks. This helps when
...
statically linking since libssh2 needs the SSL library link flags to be
set up already to satisfy its dependencies. This wouldn't be necessary
if the libssh2 configure check was changed to use pkg-config since the
--static flag would add the dependencies automatically.
2009-09-16 03:19:39 +00:00
Dan Fandrich
e3049e98d8
Provide instructions on creating curl_config.h
2009-09-15 22:35:49 +00:00
Yang Tse
86f9168797
mention last changes
2009-09-15 00:16:50 +00:00
Yang Tse
f7690db37d
Some systems poll function sets POLLHUP in revents without setting
...
POLLIN, and sets POLLERR without setting POLLIN and POLLOUT. In some
libcurl code execution paths this could trigger busy wait loops with
high CPU usage until a timeout condition aborted the loop.
This fix for Curl_poll adresses the above in a libcurl-wide mode.
2009-09-15 00:07:56 +00:00
Yang Tse
7e0b0763fc
Revert Joshua Kwan's patch committed 11 Sep 2009.
...
Some systems poll function sets POLLHUP in revents without setting
POLLIN, and sets POLLERR without setting POLLIN and POLLOUT. In some
libcurl code execution paths this could trigger busy wait loops with
high CPU usage until a timeout condition aborted the loop.
The reverted patch addressed the above issue for a very specific case,
when awaiting c-ares to resolve. A libcurl-wide fix superceeds this one.
http://cool.haxx.se/cvs.cgi/curl/lib/select.c.diff?r1=1.52&r2=1.53
2009-09-15 00:07:25 +00:00
Dan Fandrich
c67c4e7095
Added HTTP proxy keyword
2009-09-14 18:43:53 +00:00
Yang Tse
64a05e540e
ignore more files
2009-09-14 15:12:59 +00:00
Dan Fandrich
beb0a345ac
Renumbered test565 to test1104 to move it out of the range reserved for
...
libcurl tests.
2009-09-11 20:19:43 +00:00
Daniel Stenberg
f60cb60fc6
point to the current functions, not the deprecated ones
2009-09-11 20:19:21 +00:00
Gunter Knauf
4002fbe1f5
Joshua Kwan provided a patch to pass POLLERR / POLLHUP back to c-ares.
...
This fixes a loop problem with high CPU usage.
2009-09-11 02:33:04 +00:00
Daniel Stenberg
7ff4b4f2b5
- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epoch
...
start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0
which internally then is treated as a session cookie. That particular date
is now made to get the value of 1.
2009-09-10 21:06:50 +00:00
Gunter Knauf
945feafe25
use stderr for error output.
2009-09-10 18:36:06 +00:00
Gunter Knauf
5389ac0ddf
fixed spelling.
2009-09-10 15:00:21 +00:00
Gunter Knauf
5d4a1e245b
added debug output for NSS certpath.
2009-09-08 01:13:49 +00:00
Gunter Knauf
3c199daa95
changed NetWare makefiles to rely on SHELL rather than OSTYPE since we can have a sh-like shell also on Windows (MSYS, Cygwin).
2009-09-07 19:34:03 +00:00
Gisle Vanem
4dd33ac575
Suppress warnings about unused prototypes in Watt32 and Win32 programs.
2009-09-07 11:02:20 +00:00
Gisle Vanem
bb3bbfe56d
Update email address.
2009-09-07 10:59:54 +00:00
Gisle Vanem
f09de577f5
Update my email address. Add ares_config.h as dependency for 'make depend'.
2009-09-07 10:01:17 +00:00
Yang Tse
c2ce4e55f0
T_SRV portability check
2009-09-06 23:46:07 +00:00
Gunter Knauf
5e3796349a
added casts to silent compiler warning on 64bit systems.
2009-09-06 20:16:59 +00:00
Gunter Knauf
56a161e09a
use our define struct_stat to be compatible with largefile support.
2009-09-06 19:45:08 +00:00
Gunter Knauf
2786ecaeef
added base64.h include to silent warnings about missing prototype for ATOB_ConvertAsciiToItem.
2009-09-06 17:59:46 +00:00
Gunter Knauf
1486a11839
language! / take2
2009-09-06 00:00:19 +00:00
Gunter Knauf
c4c15288d2
changed includes to match style how we do with all other *.c files.
2009-09-05 20:11:32 +00:00
Daniel Stenberg
aaed838872
add ftpgetinfo
2009-09-05 17:54:30 +00:00
Daniel Stenberg
43fba2627a
Make CURLOPT_FTPPORT support an additional port number
...
done!
2009-09-05 17:49:07 +00:00
Gunter Knauf
7df26a5415
added ftpgetinfo sample since users asked frequently for such a sample.
2009-09-05 15:23:37 +00:00
Gunter Knauf
f3611c2773
changed u_int16_t to unsigned short because it is the only place within ares and curl where such a type would be used;
...
also it broke many autobuilds. We should probably introduce an ares_port_t if we want to use a type here.
2009-09-05 15:12:30 +00:00
Gisle Vanem
d5de849552
Replace 'uint16_t' with 'u_int16_t' since the latter is used in ares.h.
2009-09-05 12:33:08 +00:00
Gisle Vanem
6569a23890
Added 'ares_parse_srv_reply.obj'. Added definition of 'u_int16_t'. This is I don't like; we should not depend on such non-universal types in a public header. But this is just a quick fix.
2009-09-05 12:29:35 +00:00
Daniel Stenberg
2cf0f80e9f
- Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
2009-09-04 21:56:14 +00:00
Gunter Knauf
223c0b980b
added --with-nss to configure output.
2009-09-04 17:46:59 +00:00
Gunter Knauf
7ab1139f07
added MSVC6 caveats.
2009-09-04 16:59:10 +00:00
Gunter Knauf
d055226949
added chkspeed to samples.
2009-09-03 17:54:02 +00:00
Gunter Knauf
cf910f3097
updated MingW32 makefile for recent external libs.
2009-09-03 17:53:21 +00:00
Daniel Stenberg
183c9ce1cf
fix copyright year
2009-09-03 08:30:28 +00:00
Daniel Stenberg
777168cb77
provide and export Curl_parsedate() as a library-wide internal function
...
for a better API to date parsing than the external API is
2009-09-03 08:13:32 +00:00
Daniel Stenberg
0dd6c329e3
language!
2009-09-02 21:13:24 +00:00
Daniel Stenberg
7a642c8bf1
- Daniel Johnson founded a flaw in the code convering sftp-errors to libcurl
...
errors.
2009-09-02 21:05:47 +00:00
Daniel Stenberg
e47c939822
extended CURL_CHECK_PKGCONFIG to check for a host-specific version of the
...
pkg-config first before the "normal" one (if cross-compiling)
2009-09-02 17:48:26 +00:00
Daniel Stenberg
a0bbe25eef
spell out that when running_handles is zero, there is no longer any transfers
...
going on
2009-09-02 14:57:05 +00:00
Daniel Stenberg
b96f11f7ec
comment the "stunnel exited with [num]" stuff since this is now happen
...
in normal tests and is annoying
2009-09-01 17:05:24 +00:00
Daniel Stenberg
7e07da977c
- Peter Sylvester made a debug featuer for Curl_resolv() that now will force
...
libcurl to resolve 'localhost' whatever name you use in the URL *if* you set
the --interface option to (exactly) "LocalHost". This will enable us to
write tests for custom hosts names but still use a local host server.
2009-09-01 14:27:01 +00:00
Daniel Stenberg
ddb1fb7535
a failed libssh2 check must not pollute the variables
2009-09-01 08:39:39 +00:00
Daniel Stenberg
ea2754e028
clarify: building outside of the source tree is not special for the
...
test script
2009-09-01 07:02:37 +00:00
Daniel Stenberg
ceda7e98f8
- configure now tries to use pkg-config for a number of sub-dependencies even
...
when cross-compiling. The key to success is then you properly setup
PKG_CONFIG_PATH before invoking configure.
I also improved how NSS is detected by trying nss-config if pkg-config isn't
present, and as a last resort just use the lib name and force the user to
setup the LIBS/LDFLAGS/CFLAGS etc properly. The previous last resort would
add a range of various libs that would almost never be quite correct.
2009-09-01 06:53:01 +00:00
Daniel Stenberg
2d0aca3b92
73. if a connection is made to a FTP server but the server then just never
...
sends the 220 response or otherwise is dead slow, libcurl will not
acknowledge the connection timeout during that phase but only the "real"
timeout - which may surprise users as it is probably considered to be the
connect phase to most people. Brought up (and is being misunderstood) in:
http://curl.haxx.se/bug/view.cgi?id=2844077
2009-08-31 21:57:24 +00:00
Daniel Stenberg
4e9d3c26ed
- When using the multi interface with FTP and you asked for NOBODY, you did no
...
QUOTE commands and the request used the same path as the connection had
already changed to, it would decide that no commands would be necessary for
the "DO" action and that was not handled properly but libcurl would instead
hang.
2009-08-31 20:49:30 +00:00
Patrick Monnerat
f3bd0c3fc3
Added a warning comment about curlbuild.h inclusion leading path.
2009-08-31 15:48:52 +00:00
Patrick Monnerat
eb438719f7
OS400: adjust inclusion paths in include files to avoid "include file not found" in DB2 mode.
2009-08-31 15:22:16 +00:00
Gunter Knauf
44e2832b2a
added curl prefix for curlbuild.h back until we find a better solution;
...
it breaks almost all autobuilds.
2009-08-31 13:58:47 +00:00
Gunter Knauf
9539d32298
added simple chkspeed sample.
2009-08-31 02:06:19 +00:00
Gunter Knauf
60c0994677
removed curl prefix for curlbuild.h as Patrick suggested.
2009-08-31 02:05:04 +00:00
Gunter Knauf
e7f81d59b0
add casts to silent compiler warnings with 64bit systems.
2009-08-30 01:36:01 +00:00
Gunter Knauf
f1320d6733
add cast to silent compiler warning with 64bit systems.
2009-08-29 15:44:31 +00:00
Gunter Knauf
68f7d5b8d3
add cast to silent compiler warning with 64bit systems.
2009-08-29 04:34:44 +00:00
Gunter Knauf
e8baa332d7
fix shadow definition of outp.
2009-08-29 04:26:02 +00:00
Gunter Knauf
39704bec3c
add cast to silent compiler warning with 64bit systems.
2009-08-29 04:12:51 +00:00
Gunter Knauf
fad14bca01
removed obsolete casts.
2009-08-29 03:57:28 +00:00
Gunter Knauf
9e8eec4816
add casts to silent compiler warnings with 64bit systems.
2009-08-29 03:53:09 +00:00
Gunter Knauf
fa2ea23c96
add cast to silient compiler warning with 64bit systems.
2009-08-29 03:42:13 +00:00
Kamil Dudka
1a255e0e28
- Improved error message for not matching certificate subject name in
...
libcurl-NSS. Originally reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=516056#c9
2009-08-28 12:06:51 +00:00
Daniel Stenberg
1d92cf1dab
disable the tests that differ between 32 and 64 bit
2009-08-27 18:15:38 +00:00
Steinar H. Gunderson
8d1e46bdcc
Support lookup of IPv4 literals in ares_gethostbyname(), even when the address family is set to AF_INET6.
2009-08-27 09:53:55 +00:00
Patrick Monnerat
b0b2824b58
- Introduced a SYST-based test to properly set-up name format when dealing with the OS/400 FTP server.
...
- Fixed an ftp_readresp() bug preventing detection of failing control socket and causing FTP client to loop forever.
2009-08-24 12:57:25 +00:00
Daniel Stenberg
0cb6f3053f
- Marc de Bruin pointed out that configure --with-gnutls=PATH didn't work
...
properly and provided a fix. http://curl.haxx.se/bug/view.cgi?id=2843008
2009-08-24 11:38:59 +00:00
Daniel Stenberg
95c2b205a4
- Eric Wong introduced support for the new option -T. (dot) that makes curl
...
read stdin in a non-blocking fashion. This also brings back -T- (minus) to
the previous blocking behavior since it could break stuff for people at
times.
2009-08-24 10:57:17 +00:00
Daniel Stenberg
6ede4ce79d
clarify the code by initing newurl to NULL
2009-08-24 08:41:17 +00:00
Michal Marek
10f2fa9c72
With CURLOPT_PROXY_TRANSFER_MODE, avoid sending invalid URLs like
...
ftp://example.com;type=i if the user specified ftp://example.com without the
slash.
2009-08-21 12:15:35 +00:00
Daniel Stenberg
8b5102ca83
- Andre Guibert de Bruet pointed out a missing return code check for a
...
strdup() that could lead to segfault if it returned NULL. I extended his
suggest patch to now have Curl_retry_request() return a regular return code
and better check that.
2009-08-21 12:01:36 +00:00
Daniel Stenberg
1048043963
- Lots of good work by Krister Johansen, mostly related to pipelining:
...
Fix SIGSEGV on free'd easy_conn when pipe unexpectedly breaks
Fix data corruption issue with re-connected transfers
Fix use after free if we're completed but easy_conn not NULL
2009-08-21 07:11:20 +00:00
Daniel Stenberg
2c4fcf2ea8
5.3 Sort outgoing cookies
...
5.4 Rearrange request header order
Things to play with when you're bored
2009-08-19 07:09:13 +00:00
Daniel Stenberg
681162510a
the mozilla browser is called Firefox...
2009-08-18 19:51:18 +00:00
Dan Fandrich
5c59ee9488
Pull the certificate files from the source directory. Ensure that the
...
certificate tests only run on a localhost-hosted test server since the
host name is explicitly checked.
2009-08-18 00:18:54 +00:00
Gunter Knauf
9075195ec4
added missing curl_easy_pause to export list.
2009-08-16 15:03:58 +00:00
Daniel Stenberg
62960f8a42
I think it's worth clarifying that curl DOES NOT validate a given URL more
...
than what's absolutely necessary:
curl will do its best to use what you pass to it as a URL. It is not trying to
validate it as a syntactically correct URL by any means but is instead
VERY liberal with what it accepts.
2009-08-14 18:09:42 +00:00
Kamil Dudka
6293fe98a0
- Changed NSS code to not ignore the value of ssl.verifyhost and produce more
...
verbose error messages. Originally reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=516056
2009-08-13 16:04:51 +00:00
Daniel Stenberg
5c716247aa
mention yesterday's changes
2009-08-13 08:51:45 +00:00
Daniel Stenberg
daf688eba6
add missing file, as pointed out by Karl M
2009-08-12 17:25:16 +00:00
Daniel Stenberg
c6712a0c6c
start over fresh again towards 7.19.7
2009-08-12 11:24:52 +00:00
Daniel Stenberg
4d74b52656
imported names from the 7.19.6 RELEASE-NOTES
2009-08-12 11:24:09 +00:00
Daniel Stenberg
be2fcbcbf1
Added a range of new fun date strings to try. This set of dates come from a
...
mail posted to the http-state mailing list, from Adam Barth, and is said to be
the set of date formats the Chrome browser code is tested against:
http://www.ietf.org/mail-archive/web/http-state/current/msg00129.html
libcurl parses most of them identically, but not all of them.
2009-08-12 11:18:55 +00:00
Daniel Stenberg
6247b6d468
7.19.6
2009-08-12 08:59:30 +00:00
Daniel Stenberg
966cb698e6
- Carsten Lange reported a bug and provided a patch for TFTP upload and the
...
sending of the TSIZE option. I don't like fixing bugs just hours before
a release, but since it was broken and the patch fixes this for him I decided
to get it in anyway.
2009-08-12 08:19:39 +00:00
Daniel Stenberg
4b44638f4d
use --insecure to allow non-matching known hosts for SSH-based protocols
2009-08-12 08:14:53 +00:00
Daniel Stenberg
13afff5752
pasted here (and renumbered) from the TODO-RELEASE since they are in fact
...
bugs we know about that will appear in the next release (too)
2009-08-12 08:02:42 +00:00
Daniel Stenberg
e73fe837a8
- Peter Sylvester made the HTTPS test server use specific certificates for
...
each test, so that the test suite can now be used to actually test the
verification of cert names etc. This made an error show up in the OpenSSL-
specific code where it would attempt to match the CN field even if a
subjectAltName exists that doesn't match. This is now fixed and verified
in test 311.
2009-08-11 21:48:58 +00:00
Daniel Stenberg
a9caeb1064
credit
2009-08-11 20:57:15 +00:00
Daniel Stenberg
171eef68c3
- Benbuck Nason posted the bug report #2835196
...
(http://curl.haxx.se/bug/view.cgi?id=2835196 ), fixing a few compiler
warnings when mixing ints and bools.
2009-08-11 20:43:12 +00:00
Dan Fandrich
33368ebd02
Include the Android make file in the source package even though the
...
config.h issue hasn't been completely solved. This will save some effort
for someone desperate to use curl on Android.
2009-08-11 18:11:40 +00:00
Patrick Monnerat
501f9f8309
Fix definition of CURLOPT_SOCKS5_GSSAPI_SERVICE from LONG to OBJECTPOINT
...
Fix OS400 makefile for tests to use the new Makefile.inc in libtest
Update the OS400 wrappers and RPG binding according to the current CVS source state
2009-08-11 14:07:08 +00:00
Daniel Stenberg
9fe787fc1f
Added links to more details on most issues. Moved all these issues to 7.19.7
...
now since we won't manage to get them done for 7.19.6.
2009-08-11 07:56:16 +00:00
Dan Fandrich
0dec3e5e6a
Fixed a memory leak in the FTP code and an off-by-one heap buffer overflow.
2009-08-11 02:30:53 +00:00
Dan Fandrich
66f5baa16e
Fixed some memory leaks in the command-line tool that caused most of the
...
torture tests to fail.
2009-08-09 23:15:20 +00:00
Gunter Knauf
1cb921b7f3
fix cast for some systems which are broken due to absense of socklen_t, therefore now use curl_socklen_t.
2009-08-07 23:32:38 +00:00
Gunter Knauf
0cf6721898
added a cast to silent compiler warning with 64bit systems.
2009-08-06 13:23:00 +00:00
Gunter Knauf
97c8bc9757
fixed cast added with last commit.
2009-08-06 12:02:00 +00:00
Gunter Knauf
2cad095425
cast to fix 64bit build warnings. From manpage:
...
POSIX.1-2001. Note that RFC 2553 defines a prototype where the last parameter cnt is of type size_t.
Many systems follow RFC 2553. Glibc 2.0 and 2.1 have size_t, but 2.2 has socklen_t.
2009-08-06 11:10:30 +00:00
Daniel Stenberg
37d509f04f
RFC1867 was updated by RFC2388
2009-08-04 12:02:27 +00:00
Daniel Stenberg
35eb9fc6ad
avoid possible NULL dereference caused by my previous fix
2009-08-03 14:07:57 +00:00
Gisle Vanem
df09088a96
Remove call to LoadLibrary(). (leftover from debugging).
2009-08-03 12:20:03 +00:00
Gisle Vanem
1a14966577
Fix bad sentence.
2009-08-03 12:16:00 +00:00
Daniel Stenberg
0606b792f0
- Timo Teras changed the reason code used in the resolve callback done when
...
ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to
better allow the callback to know what's happening.
2009-08-03 11:51:06 +00:00
Daniel Stenberg
a53525e930
256 - "More questions about ares behavior"
...
yet another issue not yet sorted out
2009-08-03 11:39:43 +00:00
Daniel Stenberg
3a9c03bef3
indentation fixes only
2009-08-03 11:32:55 +00:00
Daniel Stenberg
f0dbdcff9d
- Joshua Kwan fixed the init routine to fill in the defaults for stuff that
...
fails to get inited by other means. This fixes a case of when the c-ares
init fails when internet access is fone.
2009-08-03 11:29:17 +00:00
Daniel Stenberg
9d03dd7fb8
respect error code from ftruncate(), mentioned by Peter Sylvester
2009-08-03 09:06:35 +00:00
Daniel Stenberg
781b82baf5
Reverted the zero-byte-in-name check to instead rely on the fact that strlen
...
and the name length differ in those cases and thus leave the matching function
unmodified from before, as the matching functions never have to bother with
the zero bytes in legitimate cases. Peter Sylvester helped me realize that
this fix is slightly better as it leaves more code unmodified and makes the
detection a bit more obvious in the code.
2009-08-03 08:45:19 +00:00
Daniel Stenberg
2838362a7b
clarified configure detection of GnuTLS
2009-08-02 22:38:15 +00:00
Daniel Stenberg
0b66efac9c
Extended my embedded-zero-in-cert-name fix based on a comment from Scott
...
Cantor. My previous attempt was half-baked and didn't cover the normal CN
case.
2009-08-02 22:34:00 +00:00
Daniel Stenberg
47a9660ec1
mention two crashing bugs we'd like fixed
2009-08-02 21:43:04 +00:00
Daniel Stenberg
aabf62e7d2
clarify the description of the null byte in cert name fix
2009-08-01 22:18:37 +00:00
Daniel Stenberg
6d891d2a3b
- Curt Bogmine reported a problem with SNI enabled on a particular server. We
...
should introduce an option to disable SNI, but as we're in feature freeze
now I've addressed the obvious bug here (pointed out by Peter Sylvester): we
shouldn't try to enable SNI when SSLv2 or SSLv3 is explicitly selected.
Code for OpenSSL and GnuTLS was fixed. NSS doesn't seem to have a particular
option for SNI, or are we simply not using it?
2009-08-01 22:11:58 +00:00
Daniel Stenberg
c0e8bed5bf
- Scott Cantor posted the bug report #2829955
...
(http://curl.haxx.se/bug/view.cgi?id=2829955 ) mentioning the recent SSL cert
verification flaw found and exploited by Moxie Marlinspike. The presentation
he did at Black Hat is available here:
https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike
Apparently at least one CA allowed a subjectAltName or CN that contain a
zero byte, and thus clients that assumed they would never have zero bytes
were exploited to OK a certificate that didn't actually match the site. Like
if the name in the cert was "example.com\0theatualsite.com", libcurl would
happily verify that cert for example.com.
libcurl now better use the length of the extracted name, not assuming it is
zero terminated.
2009-08-01 21:56:59 +00:00
Daniel Stenberg
0dce2ff8a0
- Tanguy Fautre pointed out that OpenSSL's function RAND_screen() (present
...
only in some OpenSSL installs - like on Windows) isn't thread-safe and we
agreed that moving it to the global_init() function is a decent way to deal
with this situation.
2009-08-01 11:09:02 +00:00
Daniel Stenberg
2642638fca
- Alexander Beedie provided the patch for a noproxy problem: If I have set
...
CURLOPT_NOPROXY to "*", or to a host that should not use a proxy, I actually
could still end up using a proxy if a proxy environment variable was set.
2009-08-01 11:02:10 +00:00
Daniel Stenberg
8b0fc9819f
updated with recent issues
2009-08-01 08:18:33 +00:00
Daniel Stenberg
bf5f91244b
67. When creating multipart formposts. The file name part can be encoded with
...
something beyond ascii but currently libcurl will only pass in the verbatim
string the app provides. There are several browsers that already do this
encoding. The key seems to be the updated draft to RFC2231:
http://tools.ietf.org/html/draft-reschke-rfc2231-in-http-02
2009-07-31 11:16:04 +00:00
Dan Fandrich
e8e84cf1da
Copy the libcurl header files into the right location for Android.
2009-07-31 00:10:38 +00:00
Daniel Stenberg
0179dbe1c2
use --insecure for the SFTP and SCP tests
2009-07-28 17:55:00 +00:00
Daniel Stenberg
8978b87728
moved the changes that aren't strictly bugfixes until after 7.19.6 since I
...
can't seem to catch up
243 - ftp QUOTE commands that are allowed to fail but not close the connection
is done
2009-07-27 21:14:30 +00:00
Daniel Stenberg
0684128209
- All the quote options (CURLOPT_QUOTE, CURLOPT_POSTQUOTE and
...
CURLOPT_PREQUOTE) now accept a preceeding asterisk before the command to
send when using FTP, as a sign that libcurl shall simply ignore the response
from the server instead of treating it as an error. Not treating a 400+ FTP
response code as an error means that failed commands will not abort the
chain of commands, nor will they cause the connection to get disconnected.
2009-07-27 18:36:56 +00:00
Daniel Stenberg
9b5c00a664
From: Johan van Selst
...
"you replaced the old SSLeay_add_ssl_algorithms() call
with OpenSSL_add_all_algorithms(), however unlike the name suggests,
the second function is not a superset of the first. When using SSL
both these functions will need to be called in order to offer complete
functionality"
2009-07-27 18:31:48 +00:00
Daniel Stenberg
b347a7a96e
- Bug report #2825989 ( http://curl.haxx.se/bug/view.cgi?id=2825989 ) pointed
...
out that OpenSSL-powered libcurl didn't support the SHA-2 digest algorithm,
and provided the solution too: to use OpenSSL_add_all_algorithms() instead
of the older SSLeay_* alternative. OpenSSL_add_all_algorithms was added in
OpenSSL 0.9.5
2009-07-26 17:33:36 +00:00
Daniel Stenberg
240bfaa69e
properly free data returned by aprintf(), and bring back the code to be
...
independent of libssh2 version as the client code isn't really meant to adapt
to such build-time constraints.
2009-07-25 18:09:57 +00:00
Gunter Knauf
7dc48e57a6
blocked new stuff with HAVE_LIBSSH2_KNOWNHOST_API to check if this is our current memory leak.
2009-07-25 04:16:00 +00:00
Gunter Knauf
8570883412
changes to silent compiler warnings with 64bit systems.
2009-07-24 22:20:22 +00:00
Gunter Knauf
1d5627b181
changes to silent compiler warnings with 64bit systems.
2009-07-24 22:06:19 +00:00
Gunter Knauf
038fff6c9f
changes to silent compiler warnings with 64bit systems.
2009-07-23 04:53:08 +00:00
Gunter Knauf
21dd9a8021
fixed brace error.
2009-07-23 03:54:01 +00:00
Gunter Knauf
59934c1176
changes to silent compiler warnings with 64bit systems.
2009-07-23 02:48:05 +00:00
Gunter Knauf
2f6ff57d96
blocked sshkeycallback() with HAVE_LIBSSH2_KNOWNHOST_API to avoid compiler warnings.
2009-07-23 02:15:00 +00:00
Daniel Stenberg
77eba8727d
242 - SSH knownhost support (powered by libssh2 1.2)
...
Committed now. Not yet thoroughly degbugged etc, but at least the funtionality
is now present.
2009-07-22 22:51:00 +00:00
Daniel Stenberg
47c392e135
- Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA.
...
They introduce known_host support for SSH keys to libcurl. See docs for
details.
2009-07-22 22:49:01 +00:00
Daniel Stenberg
9cff716925
don't set READDATA since it isn't used and only confuses readers
2009-07-22 22:08:01 +00:00
Michal Marek
4c207a004c
- David Binderman found a memory and fd leak in lib/gtls.c:load_file()
...
(https://bugzilla.novell.com/523919 ). When looking at the code, I found
that also the ptr pointer can leak.
2009-07-22 09:48:32 +00:00
Daniel Stenberg
650543a042
66. When using telnet, the time limitation options don't work.
...
http://curl.haxx.se/bug/view.cgi?id=2818950
2009-07-21 22:30:31 +00:00
Kamil Dudka
5f0cae8037
- Claes Jakobsson improved the support for client certificates handling
...
in NSS-powered libcurl. Now the client certificates can be selected
automatically by a NSS built-in hook. Additionally pre-login to all PKCS11
slots is no more performed. It used to cause problems with HW tokens.
- Fixed reference counting for NSS client certificates. Now the PEM reader
module should be always properly unloaded on Curl_nss_cleanup(). If the unload
fails though, libcurl will try to reuse the already loaded instance.
2009-07-20 21:50:21 +00:00
Gunter Knauf
95c2ab77e7
trial to fix a win64 compiler warning.
2009-07-17 22:34:16 +00:00
Gunter Knauf
d7f33b7e4e
added a cast to silent compiler warning with 64bit systems.
2009-07-16 17:39:14 +00:00
Gunter Knauf
56e6441ceb
test if adding ../lib to includes can fix the current break ...
2009-07-16 12:20:16 +00:00
Dan Fandrich
b74b5e0602
Added nonblock.c to the non-automake makefiles (note that the dependencies
...
in the Watcom makefiles aren't quite correct).
2009-07-15 21:49:47 +00:00
Bill Hoffman
b4dcbbfabd
ENH: fix build with ssl
2009-07-15 21:30:46 +00:00
Bill Hoffman
6dd0277c22
ENH: move dashboard location
2009-07-15 19:40:46 +00:00
Bill Hoffman
fb08218a04
BUG: curl did not build with cmake with VS 2005 for two reasons, ws2tcpip.h requires winsock2.h to be included before it with that compiler, and wldap32 is not available with the default install of the compiler, so disable ldap support if that is not found
2009-07-15 19:25:22 +00:00
Michal Marek
08d95bff5e
- Changed the description of CURLINFO_OS_ERRNO to make it clear that the
...
errno is not reset on success.
2009-07-15 11:49:12 +00:00
Gunter Knauf
b476530755
fixed typo.
2009-07-15 01:10:18 +00:00
Bill Hoffman
a8ea1e9ef4
ENH: add optional support for c-ares
2009-07-14 19:03:31 +00:00
Gunter Knauf
6dade671ad
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h (missing bits)
2009-07-14 15:36:12 +00:00
Gunter Knauf
38b88b5892
updated openssl version to latest; removed obsolete link to openssl patch since its now in the openssl releases.
2009-07-14 14:01:11 +00:00
Bill Hoffman
340e3b952f
ENH: move config.h.cmake to curl_config.h.cmake so it builds again
2009-07-14 13:46:45 +00:00
Gunter Knauf
35c91f6ea9
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
2009-07-14 13:38:50 +00:00
Bill Hoffman
f5f9354093
ENH: add nonblock.c to build for CMake
2009-07-14 13:35:10 +00:00
Bill Hoffman
600460ffc6
ENH: do not report if zlib is not found as it still works
2009-07-14 13:34:37 +00:00
Gunter Knauf
18b3833f90
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
2009-07-14 13:30:24 +00:00
Gunter Knauf
f671d0513c
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
2009-07-14 13:25:14 +00:00
Gunter Knauf
100f6b7703
added PKG_CONFIG_PATH to output to better verify if it gets properly set with cross compiles.
2009-07-13 23:33:57 +00:00
Daniel Stenberg
4e75c70874
silence a compiler warning
2009-07-11 09:57:54 +00:00
Daniel Stenberg
bdbfe1f8a9
add these new files to CVS as well
2009-07-09 21:55:26 +00:00
Daniel Stenberg
bea9d2cafd
241 - expose Curl_nonblock as curlx_nonblock
...
done
2009-07-09 21:50:33 +00:00
Daniel Stenberg
d709cb2ae3
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
...
setting a file descriptor non-blocking. Used by the functionality Eric
himself brough on June 15th.
2009-07-09 21:47:24 +00:00
Daniel Stenberg
444bb03fab
240 - GnuTLS configure fix to find older installations
...
done
2009-07-09 21:15:12 +00:00
Daniel Stenberg
966cc10fcc
bring back the libgnutls-config use for checking for GnuTLS if pkg-config
...
doesn't work, to better fine older gnutls installs
2009-07-09 18:10:25 +00:00
Daniel Stenberg
0c7087c41f
two more pending issues
2009-07-09 16:39:38 +00:00
Daniel Stenberg
c42a06bc1f
245 - HTTP version getinfo
2009-07-08 16:59:11 +00:00
Daniel Stenberg
b4c00a8fb0
updated with the actions I want to have done before the 7.19.6 release
2009-07-08 08:51:32 +00:00
Daniel Stenberg
f3403d4c5b
Markus Koetter's man page updates for the FTPPORT ranges
2009-07-08 07:20:42 +00:00
Daniel Stenberg
5cf78472e1
- Constantine Sapuntzakis posted bug report #2813123
...
(http://curl.haxx.se/bug/view.cgi?id=2813123 ) and an a patch that fixes the
problem:
Url A is accessed using auth. Url A redirects to Url B (on a different
server0. Url B reuses a persistent connection. Url B has auth, even though
it's on a different server.
Note: if Url B does not reuse a persistent connection, auth is not sent.
2009-07-08 07:00:40 +00:00
Gunter Knauf
2aaff16a87
added INET_ADDRSTRLEN define in case system headers dont provide.
2009-07-04 11:27:42 +00:00
Gunter Knauf
6236198d43
removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with some platforms.
2009-07-04 11:06:00 +00:00
Gunter Knauf
83fb285d40
Markus Koetter provided a patch to avoid getnameinfo() usage which broke a couple of both IPv4 and IPv6 autobuilds.
2009-07-04 01:04:23 +00:00
Daniel Stenberg
3050f10676
silly typo, pointed out by Fabian Keil
2009-06-30 21:32:52 +00:00
Daniel Stenberg
175fc5096d
Tor Arntsen pointed out a missing #ifdef for IPv6, and I changed another one
...
to use the "standard" ENABLE_IPV6 one. Also, if port number cannot be figured
out to connect to after a name resolve (due to it not being IPv4 or IPv6),
that particular address will now simply be skipped.
2009-06-30 21:30:39 +00:00
Daniel Stenberg
18f238dd53
my CURLINFO_CERTINFO fix
2009-06-29 20:46:50 +00:00
Daniel Stenberg
4f551259dd
- Markus Koetter made CURLOPT_FTPPORT (and curl's -P/--ftpport) support a port
...
range if given colon-separated after the host name/address part. Like
"192.168.0.1:2000-10000"
2009-06-29 20:46:01 +00:00
Daniel Stenberg
9cb68c6e32
- Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I
...
don't know how they got wrong in the first place, but using this output
format makes it possible to quite easily separate the string into an array
of multiple items.
2009-06-29 20:45:42 +00:00
Dan Fandrich
a9a89c604a
Fixed a compiler warning.
2009-06-27 06:05:08 +00:00
Yang Tse
e96a9190a3
Refactor how libraries are checked for connect() function, follow-up.
2009-06-21 02:42:34 +00:00
Yang Tse
1ff4e9008b
Refactor how libraries are checked for connect() function,
...
and check for connect() as it is done for other functions.
2009-06-20 17:24:43 +00:00
Gisle Vanem
2d716517a8
Remove unneeded defines.
2009-06-20 13:08:53 +00:00
Gisle Vanem
22226a8aec
Use select_s() and not select().
2009-06-20 13:07:59 +00:00
Gunter Knauf
9b8e56c97c
avoid pressanykey() call when curl finishes and was launched from bash.
2009-06-20 10:19:49 +00:00
Michal Marek
ad1bfc5468
fix indentation.
2009-06-19 10:20:28 +00:00
Yang Tse
2c0c05e96d
sclose() function-like macro definition used to close a socket,
...
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.
2009-06-19 00:41:03 +00:00
Yang Tse
d6d63147b6
add CloseSocket camel case function check
2009-06-18 12:36:10 +00:00
Yang Tse
98f7771d74
check for socket() and closesocket() as it is done for other functions
2009-06-17 12:52:46 +00:00
Yang Tse
37eba37019
socket() and closesocket() prototypes might be in socket.h
2009-06-17 12:51:24 +00:00
Yang Tse
40b2f2553b
check for socket() and closesocket() as it is done for other functions
2009-06-17 09:12:19 +00:00
Dan Fandrich
d3e35d49ae
Added a few more compiler warning options for gcc.
2009-06-17 02:26:39 +00:00
Daniel Stenberg
a0474685c1
- Reuven Wachtfogel made curl -o - properly produce a binary output on windows
...
(no newline translations). Use -B/--use-ascii if you rather get the ascii
approach.
2009-06-16 18:03:28 +00:00
Michal Marek
0b317b72ae
- When doing non-anonymous ftp via http proxies and the password is not
...
provided in the url, add it there (squid needs this).
2009-06-16 13:16:28 +00:00
Yang Tse
afe06d1563
fix compiler warning
2009-06-16 00:06:30 +00:00
Gunter Knauf
c40365e9b6
fixed TRUE/FALSE case typo.
2009-06-15 23:45:59 +00:00
Daniel Stenberg
4b6d3a2bfd
- Eric Wong's patch:
...
This allows curl(1) to be used as a client-side tunnel for arbitrary stream
protocols by abusing chunked transfer encoding in both the HTTP request and
HTTP response. This requires server support for sending a response while a
request is still being read, of course.
If attempting to read from stdin returns EAGAIN, then we pause our sender.
This leaves curl to attempt to read from the socket while reading from stdin
(and thus sending) is paused.
2009-06-15 21:13:00 +00:00
Daniel Stenberg
7ae624e700
curl_multi_socket_action() is the one to use nowadays, as Mohun Biswas
...
pointed out!
2009-06-15 20:49:23 +00:00
Patrick Monnerat
c32cf33a16
Replaced use of standard C library rand()/srand() by our own pseudo-random number generator.
2009-06-15 10:15:28 +00:00
Yang Tse
7eb59de7df
DEBUGBUILD / CURLDEBUG decoupling follow-up
2009-06-15 02:30:22 +00:00
Yang Tse
5931cf77f4
DEBUGBUILD / CURLDEBUG decoupling follow-up
2009-06-15 02:29:49 +00:00
Yang Tse
989aace192
Remove HAVE_CONFIG_H definition from here,
...
CFLAGS from common.dj already defines it.
2009-06-13 20:52:30 +00:00
Yang Tse
65cf30e441
add default USE_CURLDEBUG setting
2009-06-13 20:47:19 +00:00
Yang Tse
d4480c979d
initial step towards decoupling c-ares from libcurl for DOS
2009-06-13 18:13:00 +00:00
Yang Tse
169e94d68b
improve usability with UNIX-like shells or a DOS command interpreters
2009-06-13 18:11:17 +00:00
Yang Tse
0cc8184057
don't ignore these subdirs, they must be removed first
2009-06-13 01:44:45 +00:00
Yang Tse
a7c75142fa
Remove DEBUGBUILD symbol definition, is not required for programs using the library.
2009-06-13 01:02:04 +00:00
Yang Tse
02d3c452e4
DEBUGBUILD symbol definition for debug builds
2009-06-13 00:52:48 +00:00
Yang Tse
1c148575ea
ignore some subdirs
2009-06-13 00:30:08 +00:00
Yang Tse
d1a1865650
fix comment
2009-06-13 00:20:41 +00:00
Yang Tse
067544abc5
Try to make more clear that --enable-curldebug has nothing to do with --enable-debug for this library.
2009-06-12 23:51:28 +00:00
Yang Tse
77da57057f
Revert last change, it is inappropriate.
2009-06-12 23:50:33 +00:00
Gisle Vanem
aa1da57c37
Replace CURLDEBUG with DEBUGBUILD.
2009-06-12 14:15:13 +00:00
Yang Tse
c2ce2aa4de
fix compiler warning
2009-06-12 09:01:41 +00:00
Yang Tse
90c9fd55fc
Fixed to take in account the different interpretation of double
...
quootes on UNIX-like shells vs DOS-like command interpreters.
2009-06-12 08:40:55 +00:00
Yang Tse
47e403640b
include <limits.h> for INT_MAX definition
2009-06-12 02:47:35 +00:00
Yang Tse
4ea513cc38
fix compiler warning
2009-06-12 02:41:16 +00:00
Yang Tse
3ca0b9bb47
fix compiler warning
2009-06-11 17:46:33 +00:00
Yang Tse
e592da5a59
when running automake copy missing files instead of symlinking them
2009-06-11 17:46:12 +00:00
Yang Tse
2c93f889fd
DOS adjustments
2009-06-11 16:43:47 +00:00
Yang Tse
6173ce6463
added header inclusion guard
2009-06-11 11:57:46 +00:00
Yang Tse
065a51d2e1
mention configure --enable-curldebug decoupled from --enable-debug
2009-06-11 01:51:45 +00:00
Yang Tse
7edcc22136
changed testcurl script to allow building test harness
...
programs when cross-compiling for a *-*-mingw* host.
2009-06-11 01:22:35 +00:00
Daniel Stenberg
352177090f
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
...
contributed a range of patches to fix them.
2009-06-10 21:26:11 +00:00
Daniel Stenberg
9d18c0b156
extended the CURLOPT_HEADERFUNCTION description with Aaron Oneal's help
2009-06-10 18:43:07 +00:00
Yang Tse
ec65a9a364
VMS adjustments
2009-06-10 18:02:11 +00:00
Bill Hoffman
5c4b6a8ef0
ENH: extract version from curlver.h
2009-06-10 14:08:00 +00:00
Yang Tse
5d502eb90c
VMS adjustment
2009-06-10 12:59:59 +00:00
Yang Tse
d6662d8442
fix language in comment
2009-06-10 04:25:01 +00:00
Yang Tse
1d97f13462
TrackMemory is another feature not supported by curl-config
2009-06-10 04:06:06 +00:00
Yang Tse
2c16681225
Adjusted to take in account that...
...
With the curl memory tracking feature decoupled from the debug build feature,
CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows:
CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug)
DEBUGBUILD used for debug enabled specific code (--enable-debug)
2009-06-10 02:49:42 +00:00
Yang Tse
065047dc62
Added --enable-curldebug configure option to enable and disable building
...
with the low-level curl debug memory tracking 'feature' to allow decoupled
setting from --enable-debug.
2009-06-09 17:59:28 +00:00
Yang Tse
eba8d6d5f5
c-ares' --enable-debug --enable-curldebug decoupling follow-up
2009-06-09 17:58:34 +00:00
Bill Hoffman
744dceaffe
ENH: lower case cmake functions and remove tabs and re-indent cmake code
2009-06-09 17:29:16 +00:00
Daniel Stenberg
8740d147c9
providing two more answers
2009-06-09 09:02:39 +00:00
Yang Tse
16ae283fb4
initialize fread callback pointer to avoid compiler warning
2009-06-09 00:49:34 +00:00
Yang Tse
312600fe9c
fix compiler warning
2009-06-09 00:00:28 +00:00
Daniel Stenberg
3e0c067e43
- Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount
...
issue with client certs that caused issues like segfaults.
http://curl.haxx.se/mail/lib-2009-05/0316.html
2009-06-08 21:25:16 +00:00
Daniel Stenberg
f90551ff41
- Triggered by bug report #2798852 and the patch in there, I fixed configure
...
to detect gnutls build options with pkg-config only and not libgnutls-config
anymore since GnuTLS has stopped distributing that tool. If an explicit path
is given to configure, we will instead guess on how to link and use that
lib. I did not use the patch from the bug report.
2009-06-08 21:12:59 +00:00
Yang Tse
9442fc0b52
fix compiler warning: signed and unsigned type in conditional expression
2009-06-08 18:55:35 +00:00
Yang Tse
dbb93a2718
mention last changes
2009-06-08 16:18:04 +00:00
Yang Tse
242cf423f8
mention last changes
2009-06-08 15:50:15 +00:00
Yang Tse
217faf778b
Igor Novoseltsev provided docs\INSTALL VxWorks section
2009-06-08 15:49:40 +00:00
Yang Tse
01b74950b7
Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
...
included from Makefile.inc
2009-06-08 15:49:02 +00:00
Yang Tse
420bfbcf40
Use curl_off_t and CURL_FORMAT_CURL_OFF_T for file size.
2009-06-08 15:09:47 +00:00
Yang Tse
89f6567fda
Remove buildconf.bat from release and daily snapshot archives.
...
buildconf.bat is only for CVS tree builds.
2009-06-08 14:31:35 +00:00
Yang Tse
efec05d581
Ensure that buildconf.bat does nothing unless it is used with a CVS checkout.
2009-06-08 14:27:36 +00:00
Yang Tse
47198dce5d
CVS-INFO file only present in CVS tree, never in release nor daily snapshot
...
archives. Used as a sentinel file in buildconf.bat to differentiate CVS builds.
2009-06-08 14:26:58 +00:00
Daniel Stenberg
f45500c612
djgpp build fix
2009-06-08 13:55:18 +00:00
Daniel Stenberg
6f3e817372
../include/curl/curlbuild.h.dist is not present in release archives so
...
the makefile cannot depend on it
2009-06-08 13:53:23 +00:00
Gisle Vanem
cfda5df020
Update comment about "ML". Removed "-D_USE_32BIT_TIME_T" (not a requirement).
2009-06-08 12:09:15 +00:00
Yang Tse
2b4f41603d
just comment it out
2009-06-08 02:41:15 +00:00
Yang Tse
448f448d14
For debugging purposes...
...
Disable the '-export-symbols-regex' to discard this as the origin
of link failures related with shared libraries and non-GNU linkers.
2009-06-08 02:03:13 +00:00
Yang Tse
ee6a618116
Adjusted libtool version parsing due to libtool --version now also
...
reporting package version in parentheses which confused this script.
Remove debug tracing used to debug this.
2009-06-08 00:07:18 +00:00
Daniel Stenberg
e08f81c891
Bill Hoffman (6 June 2009)
...
- Added some cmake docs and fixed socklen_t in the build.
2009-06-07 22:26:44 +00:00
Daniel Stenberg
9324f1c29f
- Eric Wong fixed --no-buffer to actually switch off output buffering. Been
...
broken since 7.19.0
2009-06-07 22:21:22 +00:00
Yang Tse
d71c1514f2
debug test a non-greedy pattern
2009-06-07 00:48:57 +00:00
Yang Tse
2df75e84e7
Add some debug tracing
2009-06-06 20:24:58 +00:00
Yang Tse
9ab89734de
remove the ofending regexp
2009-06-06 17:22:00 +00:00
Yang Tse
960c0319c4
remove line not intended to be committed
2009-06-06 14:30:47 +00:00
Yang Tse
439891cb9f
attempt to fix regex
2009-06-06 14:27:28 +00:00
Yang Tse
bdfb3ef11c
Adjusted libtool version parsing due to libtool --version now also
...
reporting package name in parentheses which confused this script.
2009-06-06 13:22:15 +00:00
Yang Tse
8d581f7fe4
Revert delegating c-ares linking magic on libtool and auto-makefiles when using
...
the uninstalled c-ares libtool archive built from the CVS embedded tree.
This embedded c-ares linking is again handled from the configure script.
2009-06-06 13:20:39 +00:00
Yang Tse
262907d0a3
c-ares Makefile.am back to using $(top_builddir) for *_LDADD
2009-06-06 13:20:10 +00:00
Bill Hoffman
15be673054
ENH: add some cmake docs and fix build with socklen_t
2009-06-06 13:18:01 +00:00
Yang Tse
16a5649670
mention last changes
2009-06-05 18:42:50 +00:00
Yang Tse
6582895b51
docs/example patches for VMS
2009-06-05 18:40:40 +00:00
Yang Tse
e3d65389d7
Depending on the libtool and automake versions being used config.guess gets
...
installed in the subdirectory at different stages. With some versions it is
installed when libtoolize finishes, but with others it is not installed
until automake has finished.
So we can not attempt to use config.guess until the very last buildconf stage.
2009-06-05 18:07:47 +00:00
Yang Tse
027cb376f3
mention last changes
2009-06-05 16:32:37 +00:00
Yang Tse
f1261bcdd7
introduction of os-specific.c and os-specific.h
2009-06-05 16:14:50 +00:00
Yang Tse
2e7b36d04f
c-ares' -no-undefined and --enable-curldebug adjustments
2009-06-05 13:17:55 +00:00
Daniel Stenberg
ce1a58414a
remove conflict markers
2009-06-05 06:19:29 +00:00
Daniel Stenberg
1012c5705a
- Setting the Content-Length: header from your app when you do a POST or PUT
...
is almost always a VERY BAD IDEA. Yet there are still apps out there doing
this, and now recently it triggered a bug/side-effect in libcurl as when
libcurl sends a POST or PUT with NTLM, it sends an empty post first when it
knows it will just get a 401/407 back. If the app then replaced the
Content-Length header, it caused the server to wait for input that libcurl
wouldn't send. Aaron Oneal reported this problem in bug report #2799008
http://curl.haxx.se/bug/view.cgi?id=2799008 ) and helped us verify the fix.
2009-06-05 06:18:42 +00:00
Yang Tse
1c2947581b
fix shadowing of a global declaration
2009-06-04 23:55:56 +00:00
Yang Tse
00883822be
allow building libcurl for VxWorks
2009-06-04 19:11:11 +00:00
Yang Tse
13fdb9d8a5
c-ares embbeded builds header include paths fully defined in makefiles
2009-06-04 04:13:39 +00:00
Yang Tse
52b2bc4109
Remove more generated files.
...
Yet unknown error might leave libtool-like files in source directory.
2009-06-03 10:34:37 +00:00
Yang Tse
b59b3a5152
Remove more generated files
2009-06-03 03:15:19 +00:00
Yang Tse
fe6c03370e
Remove all generated 'Makefile' files.
...
This can be done now that no file with such name exists in CVS tree.
2009-06-03 00:57:18 +00:00
Yang Tse
e3f128875c
Remove more generated files
2009-06-03 00:08:09 +00:00
Yang Tse
7bf82a814b
Die when instructed to build c-ares and this fails
2009-06-03 00:07:46 +00:00
Dan Fandrich
e1270928a3
Created a basic Android make file for curl and libcurl. A config.h
...
is also needed before curl can be built in Android, but it's not clear
what the best way is to provide one.
2009-06-02 19:02:02 +00:00
Yang Tse
6fce5b54a8
Use relative path to built c-ares tree libtool library
2009-06-02 18:29:09 +00:00
Yang Tse
3c38eafd75
Temporarily disable config.guess related checks
2009-06-01 18:22:03 +00:00
Daniel Stenberg
9dcc1b3370
- Claes Jakobsson fixed the configure script to better find and use NSS
...
without pkg-config.
2009-06-01 09:40:09 +00:00
Yang Tse
e3c37aac28
credit John E. Malmberg
2009-06-01 09:20:49 +00:00
Yang Tse
61a967095d
John E. Malmberg noticed that the configure script was failing to detect the
...
timeval struct on VMS when building with _XOPEN_SOURCE_EXTENDED undefined due
to definition taking place in socket.h instead of time.h
2009-06-01 09:19:16 +00:00
Yang Tse
c0e004ec1c
John E. Malmberg's VMS specific clean-up for curl.h
2009-06-01 09:18:15 +00:00
Yang Tse
0a1b7296b9
HP-UX requires libtool version 1.5.24 or newer
2009-06-01 02:47:57 +00:00
Yang Tse
cd5e6743f7
Delegate c-ares linking magic on libtool and auto-makefiles when using
...
the uninstalled c-ares libtool archive built from the CVS embedded tree.
2009-05-30 15:56:42 +00:00
Dan Fandrich
2091fe530f
Added missing NTLM feature for test 1097
2009-05-30 04:34:11 +00:00
Dan Fandrich
cda8d63d43
Allow compiling under Android
2009-05-30 00:07:50 +00:00
Yang Tse
bef1b140e9
Fix compiler warning: out of bound access
2009-05-29 13:19:51 +00:00
Daniel Stenberg
c9188e2260
corrected comments
2009-05-29 07:43:43 +00:00
Dan Fandrich
15eaf27bc7
Fixed a few comment typos (from the FreeBSD ports)
2009-05-28 21:32:31 +00:00
Yang Tse
bf2277e263
fix compilation on AIX
2009-05-28 16:43:17 +00:00
Yang Tse
348ffbc47e
fix compiler warning: variable was set but never used
2009-05-28 16:19:03 +00:00
Yang Tse
f13cbcf175
fix compiler warning: unused parameter
2009-05-28 16:18:25 +00:00
Yang Tse
9418c56fd3
c-ares' --enable-curldebug adjustments
2009-05-28 14:38:04 +00:00
Yang Tse
7dbd502931
Remove temporarily introduced memory leak.
2009-05-28 09:58:24 +00:00
Daniel Stenberg
0bf9c1e881
- Claes Jakobsson fixed libcurl-NSS to build fine even without the
...
PK11_CreateGenericObject() function.
2009-05-27 22:01:03 +00:00
Daniel Stenberg
bf07d37737
- Mike Crowe pointed out that setting CURLOPT_USERPWD to NULL used to clear
...
the auth credentials back in 7.19.0 and earlier while now you have to set ""
to get the same effect. His patch brings back the ability to use NULL.
2009-05-27 21:45:12 +00:00
Daniel Stenberg
eecb713616
- Andre Guibert de Bruet found a call to a OpenSSL function that didn't check
...
for a failure properly.
2009-05-27 21:15:38 +00:00
Daniel Stenberg
bf085e2c4b
- Frank McGeough provided a small OpenSSL #include fix to make libcurl compile
...
fine with Nokia 5th edition 1.0 SDK for Symbian.
2009-05-27 21:11:11 +00:00
Yang Tse
ce1a97d6c8
Temporarily introduce a memory leak to verify curl debug memory tracking works.
2009-05-27 19:25:51 +00:00
Yang Tse
34c9ec4e1a
Allow curl debug memory tracking when building a shared library on
...
systems which support external, undefined, symbols in shared libraries.
2009-05-27 19:21:09 +00:00
Daniel Stenberg
e73fb6808a
language fix
2009-05-26 18:03:05 +00:00
Yang Tse
1c93d9dcfe
Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED
...
if library initialization has not been performed calling ares_library_init().
2009-05-26 18:00:14 +00:00
Yang Tse
675d6ec5e6
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
2009-05-26 14:50:45 +00:00
Yang Tse
1ad43c54c0
Prevent copying 'sourced' manpages for build targets that don't use them.
2009-05-26 13:43:25 +00:00
Daniel Stenberg
1cf6c15ab4
- bug report #2796358 ( http://curl.haxx.se/bug/view.cgi?id=2796358 ) pointed
...
out that the cookie parser would leak memory when it parses cookies that are
received with domain, path etc set multiple times in the same header. While
such a cookie is questionable, they occur in the wild and libcurl no longer
leaks memory for them. I added such a header to test case 8.
2009-05-25 12:23:22 +00:00
Daniel Stenberg
8fc17ed764
minor edits
2009-05-23 20:23:44 +00:00
Dan Fandrich
26028068e8
Added some missing test keywords
2009-05-22 21:34:32 +00:00
Dan Fandrich
8519682564
Removed some obsolete digest code that caused a valgrind error in test 551.
2009-05-22 17:26:49 +00:00
Yang Tse
5ca0c73e98
Include .pdf versions of c-ares man pages in distribution tarball.
2009-05-21 17:40:55 +00:00
Yang Tse
4c979aa44f
Allow generation of .html and .pdf versions of c-ares man pages.
2009-05-21 17:40:19 +00:00
Gunter Knauf
274dc3ecac
forced to use nmake for VC builds early so that its also used for ares even if we find a GNU make first in path; simplified curl make call.
2009-05-21 15:18:26 +00:00
Gunter Knauf
5e2b5edde5
strip \r only on non-win32 platforms (wine on Linux).
2009-05-21 14:14:57 +00:00
Gunter Knauf
b8b6521659
removed an attempt to write to non-opened LOG introduced with r1.30.
2009-05-21 14:08:53 +00:00
Gunter Knauf
e37b1b0623
reduced duplicate code.
2009-05-21 13:23:49 +00:00
Gunter Knauf
4a79462c3e
stripped \r from win32 curl --version output.
2009-05-21 13:02:34 +00:00
Gunter Knauf
c328cc9608
enable mingw64 target.
2009-05-21 12:59:49 +00:00
Gisle Vanem
cf2d39220a
$(OBJ_DIR)/ares_getopt.o must be cleaned explicitly.
2009-05-21 11:43:15 +00:00
Gisle Vanem
7dbd649f60
Added CVS id.
2009-05-21 11:39:36 +00:00
Gisle Vanem
4282199bb4
Update coments. Long-file name setup is required.
...
C-Ares and IPv6 is no longer a bad combo.
2009-05-21 11:38:48 +00:00
Dan Fandrich
7071dd0162
Added "non-existing host" test keywords to make it easy to skip those
...
tests on machines that have broken DNS configurations (such as
those configured to use OpenDNS).
2009-05-20 19:30:06 +00:00
Yang Tse
e61a687eda
Mention last changes
2009-05-20 13:49:43 +00:00
Yang Tse
7e85d2fbd4
Initial ares_library_cleanup(3) man page
2009-05-20 11:26:26 +00:00
Yang Tse
969ab28261
Update man page
2009-05-20 11:25:21 +00:00
Yang Tse
90d36cc630
Update man page
2009-05-20 02:12:23 +00:00
Gunter Knauf
1bb68cbcfa
changed ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by libssh2.h; removed related define block from ssh.h.
2009-05-19 23:21:25 +00:00
Daniel Stenberg
de7a14003c
- Kamil Dudka brought the patch from the Redhat bug entry
...
https://bugzilla.redhat.com/show_bug.cgi?id=427966 which was libcurl closing
a bad file descriptor when closing down the FTP data connection. Caolan
McNamara seems to be the original author of it.
2009-05-19 20:54:31 +00:00
Yang Tse
e3ead9f585
Initial ares_library_init(3) man page attempt
2009-05-19 19:00:28 +00:00
Yang Tse
a461b0ae44
Force revision update, to force CVS to update the $Id date string format
2009-05-19 16:05:45 +00:00
Yang Tse
1b28f9fa89
Add same copyright notice as other c-ares files
2009-05-19 15:23:25 +00:00
Yang Tse
dff8076022
Fix case
2009-05-19 15:19:03 +00:00
Yang Tse
dd3c187484
Force revision update, to force CVS to update the $Id date string format
2009-05-19 12:48:14 +00:00
Yang Tse
4677778f85
Remove empty line used to force CVS to update the $Id date string format
2009-05-19 12:12:22 +00:00
Yang Tse
f96204dbe0
Remove run-time requirement for advapi32.dll since
...
c-ares can work even with no advapi32.dll at all.
2009-05-18 15:49:32 +00:00
Yang Tse
0427b783e2
Add empty line, to force CVS to update the $Id date string format
2009-05-18 12:33:51 +00:00
Yang Tse
4650732f4a
Update copyright year, to force CVS to update the $Id date string format
2009-05-18 12:25:45 +00:00
Patrick Monnerat
1e138c1401
Added seek callback definitions in RPG wrappers
...
Made OS400 version compilable again
2009-05-18 10:46:17 +00:00
Daniel Stenberg
89fb7c85bf
start climbing to 7.19.6
2009-05-18 07:58:00 +00:00
Daniel Stenberg
0e51fc90e3
7.19.5 brought 16 new contributors
2009-05-18 07:51:15 +00:00
Daniel Stenberg
1b6c683ca6
7.19.5 coming up
2009-05-18 07:07:05 +00:00
Yang Tse
501e72c3de
Remove temporary debug tracing, and add nasty error explanation
2009-05-18 02:19:21 +00:00
Yang Tse
a450efb483
Intentionally avoid checking if the address of SystemFunction036, a.k.a.
...
RtlGenRandom, has been located or not. This function is only available on
WinXP and later. When unavailable c-ares uses portable rand() function.
2009-05-18 01:25:20 +00:00
Yang Tse
0cf8d4f8e8
Simplify c-ares function capability check
2009-05-18 00:25:48 +00:00
Yang Tse
084447e414
- Provide in external interface preprocessor symbol definitions for
...
CARES_HAVE_ARES_LIBRARY_INIT and CARES_HAVE_ARES_LIBRARY_CLEANUP
to ease the use of new capabilities.
- Move ares_version() prototype to ares.h
2009-05-18 00:21:02 +00:00
Gunter Knauf
4c9c9f0b89
fixed case.
2009-05-17 18:22:39 +00:00
Yang Tse
13db2916de
Take in account c-ares 1.6.1 introduces ares_library_init() and ares_library_cleanup()
2009-05-17 17:40:30 +00:00
Yang Tse
2d64cd55a1
Introduction of ares_library_init() and ares_library_cleanup()
2009-05-17 17:11:28 +00:00
Yang Tse
60a6af7498
Introduction of ares_library_init() and ares_library_cleanup()
2009-05-17 17:10:41 +00:00
Daniel Stenberg
3cb06eb2b2
- James Bursa posted a patch to the mailing list that fixed a problem with
...
no_proxy which made it not skip the proxy if the URL entered contained a
user name. I added test case 1101 to verify.
2009-05-17 14:47:50 +00:00
Yang Tse
b8e73495a5
Extend displaying of logfiles upon first server start-up failure for http, https, ftp, ftps and tftp test harness servers.
2009-05-15 11:59:24 +00:00
Yang Tse
187cfc1594
Displaying of logfiles on ftp server satrtup failure for test case #100 becomes standard.
2009-05-15 11:14:03 +00:00
Yang Tse
90cd2a4753
fix compiler warning: unused variable
2009-05-15 10:16:33 +00:00
Yang Tse
f3e6a582d4
remove outdated comment
2009-05-15 09:35:46 +00:00
Yang Tse
3ae470eedf
Fix preprocessor conditional expression
2009-05-15 01:08:17 +00:00
Yang Tse
6595592a71
Add some debug tracing
2009-05-14 19:52:19 +00:00
Yang Tse
199389c94a
Fix detection of automatically choosen listener port number on IPv6 enabled builds.
2009-05-14 13:00:54 +00:00
Yang Tse
c31438b2f2
log each setsockopt/SO_REUSEADDR failure
2009-05-13 19:20:45 +00:00
Yang Tse
843f73ecaa
fix print formatting-string directives
2009-05-13 04:16:00 +00:00
Yang Tse
86f043a66c
temporary debug trace for ftp server satrtup failure on testcase #100
2009-05-12 19:18:54 +00:00
Daniel Stenberg
80d2df7789
Reverted my change to use Curl_connected_proxy() here. Clearly I wasn't
...
thinking straight.
2009-05-12 18:56:33 +00:00
Yang Tse
f882a63cba
fix LC_ALL and LC_CTYPE when set with conflicting values
2009-05-12 11:24:29 +00:00
Daniel Stenberg
611b3584d6
make no proxy set return OK from Curl_connected_proxy() since it will be called
...
unconditionally
2009-05-12 07:38:31 +00:00
Yang Tse
a1f13dd31b
fiX *__SOCKLEN_T definitions for remaining targets
2009-05-12 01:57:53 +00:00
Yang Tse
966e7d0e36
*__SOCKLEN_T definitions for OS400 already fixed
2009-05-12 00:54:21 +00:00
Daniel Stenberg
44103abdb7
curl_multi_socket and curl_multi_socket_all to be removed at next major
...
release, or bump or whatevere
2009-05-11 20:35:26 +00:00
Daniel Stenberg
8f9d4b2b50
split off curl_multi_socket_action() into its own separate man page as this is
...
the function we should use, while both curl_multi_socket() and
curl_multi_socket_all() should be killed!
2009-05-11 20:32:50 +00:00
Daniel Stenberg
78c674a685
curl_multi_socket_action() is the one we favor!
2009-05-11 20:31:17 +00:00
Daniel Stenberg
197830a57d
TELNET transfers and SOCKS handshakes are blocking too
2009-05-11 20:24:14 +00:00
Yang Tse
3d024d5fce
fIX *__SOCKLEN_T definitions for SYMBIAN32 and VMS targets
2009-05-11 18:20:13 +00:00
Daniel Stenberg
5763743614
"228 - rpath problems in linking with custom openssl" removed
...
I just posted about this decision on the curl-library list.
2009-05-11 17:55:34 +00:00
Yang Tse
54da964a99
#234 Done!
2009-05-11 17:24:37 +00:00
Yang Tse
e25cff9328
Adjust test definition for TPF.
2009-05-11 17:21:26 +00:00
Yang Tse
36b397be9f
Fetch curl's 'CharConv' feature information, used by TPF.
2009-05-11 17:20:41 +00:00
Daniel Stenberg
468019e947
- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
...
only expose functions starting with ares_.
2009-05-11 13:53:26 +00:00
Daniel Stenberg
7e941baa26
timeout in milliseconds works for me!
2009-05-11 13:01:41 +00:00
Daniel Stenberg
63270b0665
Added KNOWN_BUGS #65 , and marked it for TODO in the _next_ release as I'm
...
not in the mood enough to fight this now.
65. When doing FTP over a socks proxy or CONNECT through HTTP proxy and the
multi interface is used, libcurl will fail if the (passive) TCP connection
for the data transfer isn't more or less instant as the code does not
properly wait for the connect to be confirmed. See test case 564 for a first
shot at a test case.
2009-05-11 12:40:48 +00:00
Daniel Stenberg
bcdbba05d3
moved variables more locally to get rid of one set of #ifdefs
2009-05-11 12:13:41 +00:00
Daniel Stenberg
51d1f309cd
Use Curl_connected_proxy() here instead of duplicating code. Spell out the
...
badness in the code flow even for the socks case.
2009-05-11 11:49:39 +00:00
Daniel Stenberg
f04720afb8
fix the Curl_connected_proxy function for when libcurl actually connects fine
...
to it in the actual connect call and not asynchronously.
2009-05-11 11:45:56 +00:00
Daniel Stenberg
e6e6c6e635
Added test 564 as DISABLED. It is for testing FTP over a SOCK4 proxy using
...
the multi interface, which currently doesn't work because of how the data
connection is not waiting for connect before it tries to do proxy magic.
2009-05-11 11:43:55 +00:00
Daniel Stenberg
1f340a262f
support --help to do the same as -h
2009-05-11 11:39:42 +00:00
Daniel Stenberg
242a17b9e0
- Balint Szilakszi reported a memory leak when libcurl did gzip decompression
...
of streams that had some parts (legitimately) missing. We now provide and use
a proper cleanup function for the content encoding submodule.
http://curl.haxx.se/mail/lib-2009-05/0092.html
2009-05-11 09:55:28 +00:00
Daniel Stenberg
6e1632c606
- Kamil Dudka provided a fix for libcurl-NSS reported by Michael Cronenworth
...
at https://bugzilla.redhat.com/show_bug.cgi?id=453612#c12
If an incorrect password is given while loading a private key, libcurl ends
up in an infinite loop consuming memory. The bug is critical.
2009-05-11 09:13:49 +00:00
Daniel Stenberg
56dab605f1
- I fixed the problem with doing NTLM, POST and then following a 302 redirect,
...
as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on
curl-library). The transfer was mistakenly marked to get more data to send
but since it didn't actually have that, it just hung there...
2009-05-11 08:55:58 +00:00
Daniel Stenberg
3aa3d7e629
Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and
...
KEEP_RECV to better match the general terminology: receive and send is what we
do from the (remote) servers. We read and write from and to the local fs.
2009-05-11 07:53:38 +00:00
Yang Tse
75585f771a
Fix name of tool shown upon error.
2009-05-11 01:16:28 +00:00
Yang Tse
9a9f35039e
Remove experimental check. Currently there's no need for it.
2009-05-11 00:28:18 +00:00
Daniel Stenberg
e6f84b8cc8
Added test 1100 - "HTTP POST with NTLM authorization and following a 302
...
redirect" doesn't work, seems to repeat what Ebenezer Ikonne (on curl-users)
and Laurent Rabret (on curl-library) have reported. Disabled for now.
2009-05-10 22:10:13 +00:00
Daniel Stenberg
72f15da2ed
the Curl_getoff_all_pipelines SIGSEGV fix is committed
2009-05-10 21:45:39 +00:00
Daniel Stenberg
effbd99384
- Andre Guibert de Bruet correctly pointed out an over-alloc with one wasted
...
byte in the digest code.
2009-05-10 21:33:55 +00:00
Daniel Stenberg
d1ba4324de
introduce VCURL for verify calls, so that it can be changed to use a different
...
binary than the one that gets tested, if need be
2009-05-10 21:20:15 +00:00
Daniel Stenberg
c0b5d378dc
made the cookie tests 61 and 62 test httponly cookies, both receiving in
...
headers and reading from cookie-jar
2009-05-10 18:02:37 +00:00
Yang Tse
b8c438f22d
Fix function call pointed data size argument mismatch on 64Bit systems
2009-05-10 10:25:23 +00:00
Yang Tse
a85271ce0a
Fix type cast
2009-05-10 10:24:53 +00:00
Daniel Stenberg
fd5e69f769
ConnectPlease() fixed for the new proxy connect functionality to make sure
...
'connected' truly is false when the socks connect fails.
Curl_done() fixed for the check-conn->bits.done-before-Curl_getoff_all_pipelines case
2009-05-09 21:34:48 +00:00
Yang Tse
ddb0b8d8b8
Fix libssh2 preprocessor symbol definition check
2009-05-09 15:32:59 +00:00
Yang Tse
1345226bc9
Mention last changes
2009-05-09 12:56:36 +00:00
Yang Tse
fb202e9de7
Makefile.am was lost
2009-05-09 12:11:32 +00:00
Yang Tse
5dcb5fa862
Remove DOS and TPF package's Makefile.am
...
Not actually needed to simply include some files in the distribution tarball.
2009-05-09 12:08:24 +00:00
Yang Tse
f77f2709a9
Ignore more files for cvs
2009-05-09 10:09:33 +00:00
Yang Tse
bc852bca48
Mention last changes
2009-05-08 19:19:46 +00:00
Yang Tse
9314e9e853
Fix CR
2009-05-08 19:09:36 +00:00
Yang Tse
838ddf8f55
Renamed vc6 workspace and project files to avoid filename clash when used for conversion to later VS versions.
2009-05-08 18:55:42 +00:00
Yang Tse
619869c639
Renamed vc6 workspace and project files to avoid filename clash when used for conversion to later VS versions.
2009-05-08 17:51:44 +00:00
Yang Tse
31baaf72b4
Changed host name to be under the haxx.se domain
2009-05-08 15:49:19 +00:00
Daniel Stenberg
c92b996942
Ah, this was committed by mistake as part of my previous commit but it seems
...
to work so I'll let it remain and here's the comment about it! From Lenaic's
mail posted to curl-library Date: Fri, 1 May 2009 22:46:14 +0200.
2009-05-08 11:05:52 +00:00
Daniel Stenberg
e84c7db049
- Constantine Sapuntzakis fixed bug report #2784055
...
(http://curl.haxx.se/bug/view.cgi?id=2784055 ) identifying a problem to
connect to SOCKS proxies when using the multi interface. It turned out to
almost not work at all previously. We need to wait for the TCP connect to
be properly verified before doing the SOCKS magic.
There's still a flaw in the FTP code for this.
2009-05-08 10:59:40 +00:00
Yang Tse
9ef7b6afe2
Remove temporary and HP-UX autobuild specific change to debug SSH server start-up failures
2009-05-08 02:18:49 +00:00
Yang Tse
c5c03ac556
Fixes for non-ASCII platforms by David McCreedy
2009-05-08 02:14:50 +00:00
Daniel Stenberg
6ca321ca75
Curl_sndbufset is (at times) defined in the header, no need to do it again here
2009-05-07 20:02:51 +00:00
Daniel Stenberg
9c788a529b
- Made the SO_SNDBUF setting for the data connection socket for ftp uploads as
...
well. See change 28 Apr 2009.
2009-05-07 20:00:44 +00:00
Yang Tse
6159c356c9
232 - [PATCH] transfer.c fixes for CURL_DO_LINEEND_CONV and non-ASCII
...
platform HTTP requests
Done!
2009-05-07 18:15:21 +00:00
Yang Tse
ac9d92587e
Fix an issue, affecting FTP transfers, introduced with the transfer.c patch committed May 4.
...
Additionally some identation fixes.
2009-05-07 18:03:49 +00:00
Yang Tse
f32dc6b828
Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
...
attempt in generated config.h
2009-05-07 14:03:04 +00:00
Yang Tse
7a928b40f3
Proper naming for the experimental compiler test and moved to *-compilers.m4
2009-05-07 13:58:15 +00:00
Daniel Stenberg
172501e10c
added Curl_getoff_all_pipelines SIGSEGV
2009-05-07 11:41:06 +00:00
Daniel Stenberg
317e030de0
added mention of two more current bugs/issues
2009-05-07 11:20:44 +00:00
Yang Tse
cfda3e6a48
Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
2009-05-07 11:06:48 +00:00
Daniel Stenberg
4d522b8f31
man page warnings fixed
2009-05-07 09:33:13 +00:00
Daniel Stenberg
e93c81196f
- Man page *roff problems fixed thanks to input from Colin Watson. Problems
...
reported in the Debian package.
2009-05-07 09:31:24 +00:00
Daniel Stenberg
7bdd14a994
- Vijay G filed bug report #2723236
...
(http://curl.haxx.se/bug/view.cgi?id=2723236 ) identifying a problem with
libcurl's TFTP code and its lack of dealing with the OACK packet.
2009-05-07 08:30:43 +00:00
Yang Tse
afe06b48d6
Use autobuilds to verify if a couple of experimental compiler tests pass on all of them.
...
This will be removed in 24 or 48 hours.
2009-05-06 18:37:24 +00:00
Yang Tse
63c5ed3798
curl_sockaddr struct member addrlen is an 'unsigned int' since 7.18.0
2009-05-06 14:04:05 +00:00
Yang Tse
77bb536542
fIX *__SOCKLEN_T definitions for OS400 and generic GCC targets
2009-05-06 13:58:41 +00:00
Yang Tse
7c6e0d5981
Temporary and HP-UX autobuild specific change to debug SSH server start-up failures
2009-05-06 10:32:06 +00:00
Yang Tse
a1708730c3
fix compiler warning
2009-05-05 13:04:33 +00:00
Yang Tse
d33ca87e4c
reintroduce #232
2009-05-05 13:03:22 +00:00
Yang Tse
3c509c5f68
Mention last changes
2009-05-05 08:52:08 +00:00
Yang Tse
a840cc700a
Revert change committed on Mon May 4 09:30:23 2009 UTC.
...
The origin of the problem with test case #251 was the --ftp-port not being the CLIENTIP address.
2009-05-05 08:46:31 +00:00
Daniel Stenberg
b40b989523
I simplified the SSL session id re-use code now to *always* ditch the previous
...
one and store the current one, as it makes the code less complex and I'm not
even sure I can check for the same session id using memcmp() like that.
2009-05-05 08:33:29 +00:00
Yang Tse
5eba93c4e7
Fixed the --ftp-port address to the CLIENTIP address.
2009-05-05 08:19:55 +00:00
Daniel Stenberg
915dfb494e
- Inspired by Michael Smith's session id fix for OpenSSL, I did the
...
corresponding fix in the GnuTLS code: make sure to store the new session id
in case the re-used one is rejected.
2009-05-04 22:20:09 +00:00
Daniel Stenberg
a16cca7680
- Michael Smith posted bug report #2786255
...
(http://curl.haxx.se/bug/view.cgi?id=2786255 ) with a patch, identifying how
libcurl did not deal with SSL session ids properly if the server rejected a
re-use of one. Starting now, it will forget the rejected one and remember
the new. This change was for OpenSSL only, it is likely that other SSL lib
code needs similar fixes.
2009-05-04 21:57:14 +00:00
Daniel Stenberg
644482fc99
more return codes added
2009-05-04 21:36:53 +00:00
Yang Tse
8c08ecfcbf
fIX *__SOCKLEN_T definitions for MVS and 370 targets
2009-05-04 17:05:25 +00:00
Yang Tse
b9920bdd0e
fIX *__SOCKLEN_T definitions for several Windows target tool-chains
2009-05-04 15:25:57 +00:00
Daniel Stenberg
bdf71e2685
a busload symbols added
2009-05-04 14:50:29 +00:00
Daniel Stenberg
bd4fd9c28c
Philippe Vaucher reported this typo
2009-05-04 13:01:27 +00:00
Yang Tse
ff3e574187
David McCreedy's patch to fix test suite harness to allow test FTP server and client on different machines, providing FTP client address when running the FTP test server.
2009-05-04 10:30:23 +00:00
Yang Tse
4422f80ae7
David McCreedy's "transfer.c fixes for CURL_DO_LINEEND_CONV and non-ASCII platform HTTP requests" patch
2009-05-04 09:47:02 +00:00
Yang Tse
cc8c2efff2
fix makefile reference to packages/TPF
2009-05-04 00:33:31 +00:00
Yang Tse
cdaca293d9
ignore this
2009-05-04 00:31:27 +00:00
Yang Tse
4dbc7850bd
HP-UX's X/Open network library requirement check follow-up
2009-05-03 19:41:12 +00:00
Dan Fandrich
8119379d4f
Added and disabled test case 563 which shows KNOWN_BUGS #59 . The bug
...
report failed to mention that a proxy must be used to reproduce it.
2009-05-03 19:25:17 +00:00
Yang Tse
9b4253fe67
HP-UX's X/Open network library requirement check follow-up
2009-05-03 17:35:44 +00:00
Yang Tse
b5c599c80c
This wasn't intended to be committed.
...
So, until fixed this will remain FIXME.
2009-05-02 03:16:04 +00:00
Yang Tse
9137e717b0
Use build-time configured curl_socklen_t instead of socklen_t
2009-05-02 02:37:32 +00:00
Yang Tse
80186aa7f4
Use build-time configured ares_socklen_t instead of socklen_t
2009-05-02 02:36:47 +00:00
Yang Tse
6ac739630f
Remove temporary debug tracing for X/Open HP-UX
2009-05-01 22:59:16 +00:00
Yang Tse
80a61616b1
Mention David McCreedy's patches applied today
2009-05-01 22:55:08 +00:00
Yang Tse
589d2ee7b5
David McCreedy's "TPF-platform specific changes to various files" patch follow-up
2009-05-01 22:41:23 +00:00
Daniel Stenberg
0a294db912
fixed: 229 - [PATCH] to correct spelling in ABI
2009-05-01 20:36:39 +00:00
Daniel Stenberg
2788aa366c
Jose Goncalves fixed my crappy spelling!
2009-05-01 20:20:54 +00:00
Daniel Stenberg
0f29fdaf17
#2784055 , connect race with multi and socks proxy
...
bad enough to almost make socks proxies with multi interface unusable
2009-05-01 20:16:24 +00:00
Daniel Stenberg
2912d993c2
s/libcurl/c-ares
2009-05-01 18:26:03 +00:00
Daniel Stenberg
62ceb118ee
version number typo fix
2009-05-01 18:24:34 +00:00
Yang Tse
0569c9c1be
David McCreedy's "http.c fix to Curl_proxyCONNECT for non-ASCII platforms" patch
2009-05-01 13:00:38 +00:00
Yang Tse
5a91746b80
David McCreedy's "TPF-platform specific changes to various files" patch
2009-05-01 12:39:40 +00:00
Daniel Stenberg
fdc091a857
mention a bunch of pending patches to deal with
2009-05-01 09:23:14 +00:00
Yang Tse
8469db016d
Check definition of _XOPEN_SOURCE_EXTENDED with the compiler
2009-05-01 02:03:42 +00:00
Yang Tse
f6312b16f1
Add temporary debug tracing for X/Open HP-UX
2009-04-30 20:33:37 +00:00
Yang Tse
c76e538231
Check if X/Open network library is required
2009-04-30 18:35:36 +00:00
Yang Tse
96ea49870c
When generated, display libcurl.pc and libcares.pc
2009-04-30 17:06:58 +00:00
Yang Tse
6e8c73fd38
cope with ares_build.h and ares_rules.h follow-up
2009-04-30 13:50:44 +00:00
Yang Tse
56981a2aaf
Added some notes regarding ares_build.h
2009-04-30 12:44:17 +00:00
Yang Tse
ec16121fb3
fix EOL
2009-04-30 12:12:31 +00:00
Yang Tse
7bd9988c8e
fix EOL
2009-04-30 12:05:53 +00:00
Yang Tse
068312ecb8
cope with ares_build.h and ares_rules.h
2009-04-30 11:48:43 +00:00
Yang Tse
d36a86a12c
buildconf.bat for CVS-tree c-ares
2009-04-30 10:43:27 +00:00
Yang Tse
c174b13f8b
fix compiler warning: unused parameter
2009-04-30 09:32:02 +00:00
Daniel Stenberg
6b95c4e358
- I was going to fix issue #59 in KNOWN_BUGS
...
If the CURLOPT_PORT option is used on an FTP URL like
"ftp://example.com/file;type=A" the ";type=A" is stripped off.
I added test case 562 to verify, only to find out that I couldn't repeat
this bug so I hereby consider it not a bug anymore!
2009-04-30 09:02:39 +00:00
Daniel Stenberg
22e2ecb003
provide some track record of the SONAME bumps
2009-04-30 08:30:52 +00:00
Daniel Stenberg
e08296f70c
mention that cvs is needed for releases
2009-04-30 08:08:33 +00:00
Yang Tse
dd50e5bdf2
Use 'unsigned int' instead of size_t attempting to avoid header inclusion
2009-04-30 01:34:04 +00:00
Yang Tse
504ecd5f7a
NetWare LibC's getpeername() third argument data type is size_t
2009-04-30 00:11:20 +00:00
Yang Tse
7d1bb21c19
Display only CURL_* and CARES_* symbol/macro definitions from curlbuild.h and ares_build.h
2009-04-29 19:02:22 +00:00
Yang Tse
63dc2a843f
Remove temporary debug tracing for ares_socklen_t Windows targets
2009-04-29 18:08:23 +00:00
Yang Tse
296baeb096
Trigger c-ares prebuild stage for fake-config setup's
2009-04-29 17:57:49 +00:00
Yang Tse
01dabb774a
curl_socklen_t NetWare follow-up
2009-04-29 17:07:19 +00:00
Yang Tse
d0fe4071a9
curl_socklen_t follow-up
2009-04-29 15:15:38 +00:00
Yang Tse
3d491c470b
ares_socklen_t follow-up
2009-04-29 15:15:14 +00:00
Yang Tse
06462e8a92
ares_build.h Windows follow-up
2009-04-29 14:05:21 +00:00
Daniel Stenberg
dbf371344b
mention the new CURL_SEEKFUNC_ symbols
2009-04-29 11:41:29 +00:00
Daniel Stenberg
e2c6e00570
- Based on bug report #2723219 ( http://curl.haxx.se/bug/view.cgi?id=2723219 )
...
I've now made TFTP "connections" not being kept for re-use within libcurl.
TFTP is UDP-based so the benefit was really low (if even existing) to begin
with so instead of tracking down to fix this problem we instead removed the
re-use. I also enabled test case 1099 that I wrote a few days ago to verify
that this change fixes the reported problem.
2009-04-29 11:30:03 +00:00
Yang Tse
e4a0001fc6
Add temporary debug tracing for ares_socklen_t Windows targets
2009-04-29 11:11:59 +00:00
Yang Tse
49400b0c7f
ares_build.h NetWare follow-up
2009-04-29 09:39:15 +00:00
Yang Tse
5957498c6f
When running testcurl.pl display definitions from ares_build.h
2009-04-29 01:31:37 +00:00
Yang Tse
b6282b99cb
allow usage of in-tree c-ares when building from outside of the cvs tree
2009-04-29 00:38:08 +00:00
Yang Tse
a8483841b5
ares_build.h NetWare attempt
2009-04-29 00:17:40 +00:00
Daniel Stenberg
d068001102
- Constantine Sapuntzakis filed bug report #2783090
...
(http://curl.haxx.se/bug/view.cgi?id=2783090 ) pointing out that on windows
we need to grow the SO_SNDBUF buffer somewhat to get really good upload
speeds. http://support.microsoft.com/kb/823764 has the details. Friends
confirmed that simply adding 32 to CURL_MAX_WRITE_SIZE is enough.
2009-04-28 20:27:06 +00:00
Yang Tse
d576be58dc
allow usage of in-tree c-ares when building from outside of the cvs tree
2009-04-28 19:29:50 +00:00
Yang Tse
1a2b88964f
Initial step towards a configure time ares_socklen_t definition
2009-04-28 16:47:33 +00:00
Yang Tse
f7a188a642
ignore stamp-h*
2009-04-28 14:23:28 +00:00
Daniel Stenberg
befbf2a206
Fixed: 225 - resume when upload from stream, #2709004
2009-04-28 11:19:50 +00:00
Daniel Stenberg
e01b7c1ede
- Bug report #2709004 ( http://curl.haxx.se/bug/view.cgi?id=2709004 ) by Tim
...
Chen pointed out how curl couldn't upload with resume when reading from a
pipe.
This ended up with the introduction of a new return code for the
CURLOPT_SEEKFUNCTION callback that basically says that the seek failed but
that libcurl may try to resolve the situation anyway. In our case this means
libcurl will attempt to instead read that much data from the stream instead
of seeking and that way curl can now upload with resume when data is read
from a stream!
2009-04-28 11:19:10 +00:00
Yang Tse
dd8d472318
Added CARES_INCLUDES_SYS_TYPES
2009-04-28 10:40:02 +00:00
Yang Tse
256489639c
Rearrange placement inside file of CURL_DEFINE_UNQUOTED, CURL_CONFIGURE_LONG
...
and CURL_CONFIGURE_CURL_SOCKLEN_T to ease future maintainance.
2009-04-28 10:37:06 +00:00
Yang Tse
e323abe5d9
Moved CURL_INCLUDES_INTTYPES to curl-functions.m4 along with other CURL_INCLUDES_*
2009-04-28 10:27:04 +00:00
Yang Tse
afc00b08d7
Remove temporary debug tracing for curl_socklen_t detection failures
2009-04-28 09:40:12 +00:00
Yang Tse
af41fb79b5
Include <arpa/inet.h> if HAVE_ARPA_INET_H is defined
2009-04-27 23:59:41 +00:00
Yang Tse
535b7c5e0f
Log MAKEFLAGS environment variable along with the others.
2009-04-27 19:21:45 +00:00
Yang Tse
217f7a7ea7
Take 2 at handling getpeername() prototypes with a void pointer for third argument
2009-04-27 14:08:24 +00:00
Yang Tse
317d351423
Attempt to handle getpeername() prototypes with a void pointer for third argument
2009-04-27 12:41:05 +00:00
Daniel Stenberg
d27519c0ca
Add missing cmake files to the tarball (thanks to Richard Atterer's report)
2009-04-27 12:26:41 +00:00
Daniel Stenberg
255dc45dc9
the windows threaded resolver isn't foolproof enough
2009-04-27 12:23:53 +00:00
Yang Tse
f4d8728df9
Add temporary debug tracing for curl_socklen_t detection failures
2009-04-27 10:13:23 +00:00
Yang Tse
8611631f5e
Reorder curl_socklen_t and socklen_t equivalent check while both coexist
2009-04-27 02:47:34 +00:00
Yang Tse
1e5ed4fa33
Rearrange curl_socklen_t tests to improve speed of usual results
2009-04-27 00:17:11 +00:00
Yang Tse
0daeab3b8d
Initial step towards a configure time curl_socklen_t definition
2009-04-26 18:51:03 +00:00
Daniel Stenberg
bd27401311
Fixed: 227 - CURLINFO_APPCONNECT_TIME doesn't work with multi interface, #2779733
2009-04-26 11:57:45 +00:00
Daniel Stenberg
14df44dd3f
- Bug report #2779733 ( http://curl.haxx.se/bug/view.cgi?id=2779733 ) by Sven
...
Wegener pointed out that CURLINFO_APPCONNECT_TIME didn't work with the multi
interface and provided a patch that fixed the problem!
2009-04-26 11:56:22 +00:00
Daniel Stenberg
1272621ebc
removed pointless file
2009-04-25 21:01:28 +00:00
Daniel Stenberg
0e83482e47
synced with current reality
2009-04-25 20:56:09 +00:00
Yang Tse
c0d929bed9
Further narrow the use of the icc 9.1 optimizer workaround.
...
Previous workaround proved useful, and finally did not trigger any warning!
2009-04-25 10:24:11 +00:00
Daniel Stenberg
828a26286d
- Kamil Dudka fixed another NSS-related leak when client certs were used.
2009-04-24 21:55:18 +00:00
Daniel Stenberg
082b0d822c
test 1099: "TFTP get first a non-existing file then an existing" added disabled
...
as things don't work right here!
2009-04-24 21:46:42 +00:00
Yang Tse
651b4b9efa
Try a simpler variation of the 'volatile' variables icc 9.1 on unix IA32 workaround.
...
Previous workaround proved useful, but triggered the following warning:
warning #556 : a value of type "volatile Curl_addrinfo *" cannot be assigned to an entity of type "Curl_addrinfo *"
2009-04-24 10:38:12 +00:00
Daniel Stenberg
ab1e54375f
for is docs remarks
2009-04-23 22:08:36 +00:00
Daniel Stenberg
70e2db51e1
- bug report #2779245 ( http://curl.haxx.se/bug/view.cgi?id=2779245 ) by Rainer
...
Koenig pointed out that the man page didn't tell that the *_proxy
environment variables can be specified lower case or UPPER CASE and the
lower case takes precedence,
2009-04-23 22:01:33 +00:00
Daniel Stenberg
0145919a9e
CURLOPT_POSTQUOTE commands only run when no error
2009-04-23 21:43:01 +00:00
Yang Tse
2236a247d9
Try another variation of the 'volatile' variables icc 9.1 on unix IA32 workaround.
...
The #pragma optimize("", off) attempt did not fix the problem and SIGSEGV's in Curl_freeaddrinfo() were back.
2009-04-23 11:09:20 +00:00
Dan Fandrich
7291f50e8d
Added new libcurl source files to Amiga, RiscOS and VC6 build files.
2009-04-23 04:12:04 +00:00
Yang Tse
bc5677a47b
Disable optimizations when compiling function Curl_freeaddrinfo() with icc 9.1 on unix IA32.
...
Previous 'volatile' variables workaround proved useful, but it triggered the following warning:
warning #167 : argument of type "volatile Curl_addrinfo *" is incompatible with parameter of type "void *"
2009-04-22 15:03:05 +00:00
Yang Tse
137ef36757
avoid use of alloca()
2009-04-22 10:25:28 +00:00
Yang Tse
33a3753c3f
libcurl's memory.h renamed to curl_memory.h
2009-04-21 11:46:16 +00:00
Yang Tse
9770899a4b
Moved potential inclusion of system's malloc.h and memory.h header files to
...
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-04-21 10:26:58 +00:00
Yang Tse
fe8eeb5641
remove unnecessary typecast
2009-04-21 09:03:15 +00:00
Yang Tse
8cd1f1f7f9
ignore
2009-04-21 06:10:23 +00:00
Daniel Stenberg
b84876ba69
- Leanic Lefever reported a crash and did some detailed research on why and
...
how it occurs (http://curl.haxx.se/mail/lib-2009-04/0289.html ). The
conclusion was that if an error is detected and Curl_done() is called for
the connection, ftp_done() could at times return another error code that
then would take precedence and that new code confused existing logic that
works for the first error code (CURLE_SEND_ERROR) only.
2009-04-20 21:41:17 +00:00
Daniel Stenberg
0f1ca2939a
- Gisle Vanem noticed that --libtool would produce bogus strings at times for
...
OBJECTPOINT options. Now we've introduced a new function - my_setopt_str -
within the app for setting plain string options to avoid the risk of this
mistake happening.
2009-04-20 17:53:06 +00:00
Yang Tse
4882078469
attempt to workaround icc 9.1 optimizer induced problem
2009-04-19 05:20:04 +00:00
Daniel Stenberg
991b120eee
escape the ' properly
2009-04-18 22:48:28 +00:00
Daniel Stenberg
f278d177f9
63. When CURLOPT_CONNECT_ONLY is used, the handle cannot reliably be re-used
...
for any further requests or transfers. The work-around is then to close that
handle with curl_easy_cleanup() and create a new. Some more details:
http://curl.haxx.se/mail/lib-2009-04/0300.html
2009-04-18 22:18:35 +00:00
Gisle Vanem
53b2ff4b04
Added 'slist.obj'.
2009-04-18 16:54:15 +00:00
Gisle Vanem
0c89d71aee
Added HAVE_LIMITS_H.
2009-04-18 16:50:09 +00:00
Gisle Vanem
b746bf7814
Added '-DHAVE_LIMITS_H'.
2009-04-18 16:49:29 +00:00
Gisle Vanem
f11969015a
Avoid compiler warning about unused argument.
2009-04-18 09:59:42 +00:00
Daniel Stenberg
f1b820e5fc
mention Pramod Sharma and "persistent connections when doing FTP over a HTTP proxy"
2009-04-17 22:36:13 +00:00
Daniel Stenberg
7356ff0b18
As Jeff Pohlmeyer suggested: "pointer to 'char *'" is now instead put:
...
"pointer to a char pointer".
2009-04-17 12:55:09 +00:00
Daniel Stenberg
30f7a2ff20
- Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP
...
proxy. libcurl would then wrongly close the connection after each
request. In his case it had the weird side-effect that it killed NTLM auth
for the proxy causing an inifinite loop!
I added test case 1098 to verify this fix. The test case does however not
properly verify that the transfers are done persistently - as I couldn't
think of a clever way to achieve it right now - but you need to read the
stderr output after a test run to see that it truly did the right thing.
2009-04-17 12:48:24 +00:00
Yang Tse
f6b55fae79
remove compiler options used while debugging the icc 9.1 optimizer issue
2009-04-17 07:48:37 +00:00
Yang Tse
8aa88f4d36
re-enable all tests for all icc autobuilds
2009-04-17 07:30:56 +00:00
Yang Tse
ce7b565595
further narrow the use of the icc 9.1 optimizer workaround
2009-04-17 07:30:25 +00:00
Yang Tse
41fd08bb0d
attempt to workaround icc 9.1 optimizer induced problem
2009-04-16 08:31:09 +00:00
Yang Tse
d0a930cd44
moved HAVE_LIMITS_H to common defines
2009-04-15 22:58:30 +00:00
Yang Tse
9bb1854398
Set HP-UX compiler warning level back to the one that exposes
...
the socklen_t issue on this platform.
2009-04-15 22:54:25 +00:00
Gunter Knauf
f7400212fc
moved HAVE_LIMITS_H to common defines (no idea why I didnt this initially already)
2009-04-15 04:11:33 +00:00
Yang Tse
6434b42481
HAVE_LIMITS_H definition for NetWare CLIB
2009-04-14 23:51:12 +00:00
Daniel Stenberg
dd0b38b32f
first take at bundling cmake-related files in the tarball
2009-04-14 22:00:37 +00:00
Daniel Stenberg
7816db8e8a
things in the pipe right now
2009-04-14 22:00:18 +00:00
Yang Tse
9cc6ab3922
use HAVE_LIMITS_H symbol to protect limits.h inclusion
2009-04-14 13:50:32 +00:00
Yang Tse
2c27e24bb4
include <limits.h> for INT_MAX definition
2009-04-14 13:26:06 +00:00
Yang Tse
c382c550e7
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
2009-04-14 12:53:53 +00:00
Benoit Neil
c663494c69
(Minor change - From Piotr Dobrogost) Moved a line.
2009-04-14 09:44:09 +00:00
Daniel Stenberg
97f27ea585
Kamil Dudka's follow-up fix
2009-04-14 09:40:53 +00:00
Daniel Stenberg
379bfa5a36
- bug report #2727981 ( http://curl.haxx.se/bug/view.cgi?id=2727981 ) by Martin
...
Storsjo pointed out how setting CURLOPT_NOBODY to 0 could be downright
confusing as it set the method to either GET or HEAD. The example he showed
looked like:
curl_easy_setopt(curl, CURLOPT_PUT, 1);
curl_easy_setopt(curl, CURLOPT_NOBODY, 0);
The new way doesn't alter the method until the request is about to start. If
CURLOPT_NOBODY is then 1 the HTTP request will be HEAD. If CURLOPT_NOBODY is
0 and the request happens to have been set to HEAD, it will then instead be
set to GET. I believe this will be less surprising to users, and hopefully
not hit any existing users badly.
2009-04-13 18:01:02 +00:00
Daniel Stenberg
235c0077b8
- Toshio Kuratomi reported a memory leak problem with libcurl+NSS that turned
...
out to be leaking cacerts. Kamil Dudka helped me complete the fix. The issue
is found in Redhat's bug tracker:
https://bugzilla.redhat.com/show_bug.cgi?id=453612
There are still memory leaks present, but they seem to have other reasons.
2009-04-13 17:42:10 +00:00
Yang Tse
c621546bd6
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
2009-04-13 07:18:39 +00:00
Yang Tse
aa330b8240
improve stunnel version detection
2009-04-13 03:47:16 +00:00
Dan Fandrich
e43606eb4d
Added new libcurl source files to Symbian OS build files.
...
Improved Symbian support for SSL.
2009-04-11 07:06:34 +00:00
Yang Tse
6a378a28b4
Use 'curl_socket_t' instead of 'int' for socket.
...
Avoid unnecessary'if-else' nesting.
2009-04-11 06:36:47 +00:00
Yang Tse
95368d9cb4
fix compiler warning: enumerated type mixed with another type
2009-04-11 02:11:02 +00:00
Yang Tse
74f9c570ea
Adjust comment
2009-04-10 02:58:01 +00:00
Yang Tse
eed4a13b3b
Daniel Johnson improved the MacOSX-Framework shell script to now perform all
...
the steps required to build a Mac OS X four way fat ppc/i386/ppc64/x86_64
libcurl.framework. Four way fat framework requires OS X 10.5 SDK or later.
2009-04-10 02:50:21 +00:00
Benoit Neil
7e9f7659b3
(Minor update) Moved some utilities to a separate file.
2009-04-09 21:16:28 +00:00
Benoit Neil
4d396169c8
Cleaned up the custom definition I added (replaced by CURL_STATICLIB)
2009-04-09 19:59:38 +00:00
Gunter Knauf
4cd950900b
some minor Makefile tweaks for latest libssh2.
2009-04-09 02:50:09 +00:00
Gunter Knauf
2b96c3f5ce
add back most likely acciedently removed function name justtimeout to fix autobuild breaks.
2009-04-09 02:46:56 +00:00
Yang Tse
63fad159e8
Skip test #558 and #559 also when using a Win32 DLL
2009-04-09 01:24:41 +00:00
Benoit Neil
e5f1480a38
(Minor update) Added labal prefixes to tests targets
2009-04-08 23:48:07 +00:00
Benoit Neil
020955ebc2
Added special define for tests that directly include libcurl sources.
2009-04-08 23:35:09 +00:00
Benoit Neil
3733fa02ee
Made the windows .lib addition cleaner.
2009-04-08 23:20:04 +00:00
Benoit Neil
7037e4a4b1
Renamed a variable
2009-04-08 22:21:25 +00:00
Benoit Neil
0e98f938c4
Fixed missing HAVE_PROCESS_H (caused a warning)
2009-04-08 20:54:36 +00:00
Benoit Neil
55d0c29f4a
Added newline ad the end of generated hugehelp.c (the "default" one, when it hasn't been generated before).
2009-04-08 20:29:50 +00:00
Gisle Vanem
59997ecad5
Avoid warnings when HAVE_ALRM and SIGALRM are not defined.
2009-04-08 18:37:11 +00:00
Gisle Vanem
6e2f0833ad
#ifdef around variables to squelsh warnings.
2009-04-08 18:31:54 +00:00
Benoit Neil
25f626cc52
Fixed compile defines in CMake scripts
2009-04-08 11:42:45 +00:00
Yang Tse
ece891d6db
Sun compilers specific preprocessor block removed from curlbuild.h.dist
2009-04-08 01:25:34 +00:00
Benoit Neil
702355da47
(Minor update) Modified a comment, before going to sleep :)
2009-04-07 22:49:02 +00:00
Daniel Stenberg
c4fba310d2
and include the .inc files in the release tarballs...
2009-04-07 22:07:07 +00:00
Benoit Neil
e9dd099870
Added missing tests in CMake, added Makefile.inc for tests (+ use in CMake scripts), and fixed a missing define under windows in a test source file.
2009-04-07 21:59:15 +00:00
Benoit Neil
070d89a561
Added CURL_HIDDEN_SYMBOLS option, and fixed missing SIZEOF_INT causing warnings.
2009-04-07 21:00:50 +00:00
Daniel Stenberg
28cc9dd331
clarified after chat in #curl
2009-04-07 20:51:01 +00:00
Benoit Neil
7c1fecc94a
(From Bill Hoffman & Sukender) Added Dashboard reports.
2009-04-07 11:23:23 +00:00
Benoit Neil
7a9fab52be
Fixed tests/server build (removed unnecessary link to libcurl).
2009-04-07 11:05:26 +00:00
Benoit Neil
8cb8371011
Made the CMake scripts read Makefile.inc. Needs testing I guess.
2009-04-06 22:45:17 +00:00
Daniel Stenberg
875c55d86b
- I clarified in the docs that CURLOPT_SEEKFUNCTION should return 0 on success
...
and 1 on fatal errors. Previously it only mentioned non-zero on fatal
errors. This is a slight change in meaning, but it follows what we've done
elsewhere before and it opens up for LOTS of more useful return codes
whenever we can think of them...
2009-04-06 21:44:53 +00:00
Benoit Neil
b85154f13f
Added tests (exes) targets, refactor a few things.
...
PS: Once again, sorry if the added files have executable perms on Linux.
2009-04-06 21:05:44 +00:00
Benoit Neil
06047d9103
Added curl (exe) target, fixed static/dynamic linking errors.
...
PS: Sorry if the added file has executable perms on Linux, I didn't found anything related to it...
2009-04-06 20:44:01 +00:00
Benoit Neil
2362637e90
Removed the "lib" prefix under linux ("was "liblibcurl") and fixed import library name under Win32 (Added "_imp" for dynamically linked).
2009-04-06 19:43:52 +00:00
Benoit Neil
edd02607e2
Fixed Win32 link error and disabled MSVC specific (=annoying) warnings (Reported by Bill Hoffman)
2009-04-06 19:22:31 +00:00
Yang Tse
0211e420ed
fix compiler warning: passing arg 1 of `sk_num' from incompatible pointer type
2009-04-03 12:08:32 +00:00
Benoit Neil
9a184e0bb1
Added basic OpenSSL support in CMake scripts (Thanks to Bill Hoffman)
2009-04-02 23:12:22 +00:00
Yang Tse
168fb3a8d8
Fix curl_off_t definition for builds done using Sun compilers and a
...
non-configured libcurl. In this case curl_off_t data type was gated
to the off_t data type which depends on the _FILE_OFFSET_BITS. This
configuration is exactly the unwanted configuration for our curl_off_t
data type which must not depend on such setting. This breaks ABI for
libcurl libraries built with Sun compilers which were built without
having run the configure script with _FILE_OFFSET_BITS different than
64 and using the ILP32 data model.
2009-04-02 18:50:39 +00:00
Benoit Neil
4c5307b456
Initial CMake scripts (libcurl only), based on the merge of tetest scripts and mine. These are far to be functionnal yet.
...
PS: Hello world :)
2009-04-02 13:14:53 +00:00
Dan Fandrich
626f9bd8c2
Added the curl_easy_recv return code fix
2009-04-02 04:41:03 +00:00
Daniel Stenberg
a06b36dee0
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
...
strdup() call failed.
2009-04-01 12:15:37 +00:00
Dan Fandrich
18e1bee8d5
Properly return an error code in curl_easy_recv (reported by Jim Freeman).
2009-03-31 14:49:25 +00:00
Gunter Knauf
41f76801eb
some minor Makefile tweaks.
2009-03-29 19:40:00 +00:00
Daniel Stenberg
31a7bfc47f
Gary Maxwell helped us clarify that CURLOPT_SHARE specificly needs the locking
...
functions if the easy handles are used in multiple threads
2009-03-20 23:28:20 +00:00
Daniel Stenberg
1b6d18fcb0
removed useless comment
2009-03-20 12:42:29 +00:00
Yang Tse
57c32b709d
Add a link to "Potential Errors Passing CRT Objects Across DLL Boundaries"
2009-03-18 13:58:29 +00:00
Daniel Stenberg
5f19822e37
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
...
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
explicitly.
2009-03-18 12:48:51 +00:00
Daniel Stenberg
9a0c9cd6e1
minor fix
2009-03-18 09:14:28 +00:00
Gisle Vanem
0ac8e1d80b
If CURL_DISABLE_PROXY is defined, we must allow socks_sspi.c to call
...
Curl_blockread_all(). It is needed in code inside USE_WINDOWS_SSPI.
2009-03-15 13:43:47 +00:00
Daniel Stenberg
744e55ec74
we use libssh2_version() now if available
2009-03-13 10:02:26 +00:00
Daniel Stenberg
74ba4d7950
- Use libssh2_version() to present the libssh2 version in case the libssh2
...
library is found to support it.
2009-03-13 09:58:15 +00:00
Yang Tse
fa96436661
Fix TELNET transfers not being aborted upon write callback failures
2009-03-12 13:18:25 +00:00
Yang Tse
d15b8273d6
Add Curl_read() return code checking
2009-03-12 02:12:05 +00:00
Daniel Stenberg
0a5cf3a928
Oops, make the memory magic debug stuff done before global init too just to
...
catch them all. The memory debug stuff is not in the public API anyway.
2009-03-11 23:00:31 +00:00
Daniel Stenberg
6173e38fdc
- Kamil Dudka made the curl tool properly call curl_global_init() before any
...
other libcurl function.
2009-03-11 22:56:03 +00:00
Daniel Stenberg
34cd99d1d9
update the embedded copyright year
2009-03-11 09:00:34 +00:00
Yang Tse
0922a0fc3f
s/u_long/unsigned long/
2009-03-11 05:09:03 +00:00
Yang Tse
dd53b356ff
fix previous commit misplaced break statement
2009-03-11 04:45:18 +00:00
Yang Tse
f1db505778
Added TELNET timeout support for Windows builds
2009-03-11 04:15:33 +00:00
Daniel Stenberg
662727ca3e
Moved 7.19.2 and older entries from CHANGES to CHANGES.0 (the latter is not
...
shipped in release archives but is only in CVS)
2009-03-10 10:00:06 +00:00
Daniel Stenberg
bdec6f2b20
- Frank Hempel found out a bug and provided the fix:
...
curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
option. It only enabled the cookie engine in the destination handle if
data->cookies is not NULL (where data is the source handle). In case of a
newly initialized handle which just had the cookie support enabled by a
curl_easy_setopt(handle, CURL_COOKIEFILE, "")-call, handle->cookies was
still NULL because the setopt-call only appends the value to
data->change.cookielist, hence duplicating this handle would not have the
cookie engine switched on.
We also concluded that the slist-functionality would be suitable for being
put in its own module rather than simply hanging out in lib/sendf.c so I
created lib/slist.[ch] for them.
2009-03-09 12:21:46 +00:00
Daniel Stenberg
c86c294f55
- Andreas Farber made the 'buildconf' script check for the presence of m4
...
scripts to make it detect a bad checkout earlier. People with older
checkouts who don't do cvs update with the -d option won't get the new dirs
and then will get funny outputs that can be a bit hard to understand and
fix.
2009-03-09 09:24:31 +00:00
Dan Fandrich
a9a03b9708
Avoid a compile warning in --disable-proxy case
2009-03-09 04:32:51 +00:00
Daniel Stenberg
f4e8c406bb
- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
...
allocation of the memory BIO was not being properly checked.
2009-03-08 22:56:55 +00:00
Daniel Stenberg
12bfcb501c
- Andre Guibert de Bruet fixed the gnutls-using code: There are a few places
...
in the gnutls code where we were checking for negative values for errors,
when the man pages state that GNUTLS_E_SUCCESS is returned on success and
other values indicate error conditions.
2009-03-08 22:52:05 +00:00
Daniel Stenberg
0fc1782dd4
Andre Guibert de Bruet fixed a typo in the error message
2009-03-08 22:45:59 +00:00
Daniel Stenberg
9274d31690
- Bill Egert pointed out ( http://curl.haxx.se/bug/view.cgi?id=2671602 ) that
...
curl didn't use sprintf() in a way that is documented to work in POSIX but
since we use our own printf() code (from libcurl) that shouldn't be a
problem. Nonetheless I modified the code to not rely on such particular
features and to not cause further raised eyebrowse with no good reason.
2009-03-08 22:42:50 +00:00
Dan Fandrich
983a539503
Expanded the security section of the libcurl-tutorial man page to cover
...
more issues for authors to consider when writing robust libcurl-using
applications.
2009-03-05 06:44:18 +00:00
Yang Tse
94bb7fe5cb
Fix NTLM authentication memory leak on SSPI enabled Windows builds
2009-03-05 01:23:14 +00:00
Dan Fandrich
b98e0aa09b
Fixed a problem with m4 quoting in the OpenSSL configure check reported
...
by Daniel Johnson.
2009-03-04 08:09:39 +00:00
Daniel Stenberg
49c6d7e32d
Added test 1097 to verify the bug Axel Kuhn epidox posted on March 3 2009
...
on curl-users, it is also added to DISABLED since I don't have time to work
on it further right now.
2009-03-03 13:25:19 +00:00
Daniel Stenberg
ee73fc361b
- David James brought a patch that make libcurl close (all) dead connections
...
whenever you attempt to open a new connection.
2009-03-03 11:01:24 +00:00
Daniel Stenberg
e84dbd28db
15 additional contributor from the 7.19.4 RELEASE-NOTES
2009-03-03 10:41:11 +00:00
Daniel Stenberg
02449d9aa5
Gah! We can't have 'curl' added here since even though it removes the curl
...
binary it also removes the include/curl subdir!
2009-03-03 10:02:26 +00:00
Patrick Monnerat
2876329f16
Options CURLOPT_REDIR_PROTOCOLS and CURLOPT_PROTOCOLS, and associated definitions added to RPG binding
2009-03-03 09:57:21 +00:00
Daniel Stenberg
a1f455551f
start over on the journey towards 7.19.5
2009-03-02 23:44:42 +00:00
Daniel Stenberg
042cc1f69e
- David Kierznowski notified us about a security flaw
...
(http://curl.haxx.se/docs/adv_20090303.html also known as CVE-2009-0037) in
which previous libcurl versions (by design) can be tricked to access an
arbitrary local/different file instead of a remote one when
CURLOPT_FOLLOWLOCATION is enabled. This flaw is now fixed in this release
together this the addition of two new setopt options for controlling this
new behavior:
o CURLOPT_REDIR_PROTOCOLS controls what protocols libcurl is allowed to
follow to when CURLOPT_FOLLOWLOCATION is enabled. By default, this option
excludes the FILE and SCP protocols and thus you nee to explicitly allow
them in your app if you really want that behavior.
o CURLOPT_PROTOCOLS controls what protocol(s) libcurl is allowed to fetch
using the primary URL option. This is useful if you want to allow a user or
other outsiders control what URL to pass to libcurl and yet not allow all
protocols libcurl may have been built to support.
2009-03-02 23:05:31 +00:00
Daniel Stenberg
90b804d3fa
7.19.4 won't get anything else
2009-03-02 10:43:46 +00:00
Daniel Stenberg
4bc603a0cc
the Eiffel binding
2009-03-02 09:03:11 +00:00
Daniel Stenberg
6c3f74b946
nothing more left for 7.19.4, the issue #216 is moved to 7.19.5 since we're
...
too close to release now
2009-03-01 14:20:26 +00:00
Yang Tse
8d78a33e60
for portability reasons: s/inet_pton/Curl_inet_pton/
2009-02-28 01:35:53 +00:00
Yang Tse
df07537ccf
fix compiler warning
2009-02-28 01:11:57 +00:00
Daniel Stenberg
de25ed3f37
mention the '-o -' trick
2009-02-27 13:52:05 +00:00
Daniel Stenberg
40edf25866
217 - Dan Fandrich's "GnuTLS initialization thread safety"
...
218 - Senthil Raja Velu's "CURLOPT_LOCALPORT option broken", patch by
Markus Koetter
Both are now committed
2009-02-27 12:11:08 +00:00
Daniel Stenberg
7b7db23633
- Senthil Raja Velu reported a problem when CURLOPT_INTERFACE and
...
CURLOPT_LOCALPORT were used together (the local port bind failed), and
Markus Koetter provided the fix!
2009-02-27 12:07:14 +00:00
Daniel Stenberg
794b4da840
Indentation fixes, untabify and related whitespace-cleanup. No code changed.
2009-02-27 08:53:10 +00:00
Daniel Stenberg
e9ea3ba4a2
corrected and clarified the top comment
2009-02-25 12:51:39 +00:00
Daniel Stenberg
d207ea1652
- As Daniel Fandrich figured out, we must do the GnuTLS initing in the
...
curl_global_init() function to properly maintain the performing functions
thread-safe. We've previously (28 April 2007) moved the init to a later time
just to avoid it to fail very early when libgcrypt dislikes the situation,
but that move was bad and the fix should rather be in libgcrypt or
elsewhere.
2009-02-25 12:51:17 +00:00
Daniel Stenberg
625d06ac79
improved
2009-02-24 09:42:39 +00:00
Daniel Stenberg
3460225590
A handy little helper file for doing recursive diffs on curl source/build trees
...
without involving CVS:
diff -X diff-exclude -ru curl-old curl-patched
2009-02-24 09:35:55 +00:00
Daniel Stenberg
ea6531cf32
- Brian J. Murrell found out that Negotiate proxy authentication didn't work.
...
It happened because the code used the struct for server-based auth all the
time for both proxy and server auth which of course was wrong.
2009-02-24 08:30:09 +00:00
Daniel Stenberg
2afb88e2ce
4.17 Non-functional connect timeouts
2009-02-23 21:21:00 +00:00
Daniel Stenberg
6c9f37d263
- After a bug reported by James Cheng I've made curl_easy_getinfo() for
...
CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD return
-1 if the sizes aren't know. Previously these returned 0, make it impossible
to detect the difference between actually zero and unknown.
2009-02-23 18:45:00 +00:00
Daniel Stenberg
735955282b
For 7.19.5 (due to feature freeze)
...
220 - Take advantage of libssh2_version() that's been added for the upcoming
1.1, to extract the run-time version number properly.
2009-02-23 16:28:51 +00:00
Yang Tse
dd056e54e2
adjustment for new Mac OS X framework build script
2009-02-23 14:34:40 +00:00
Yang Tse
f5548973ab
Daniel Johnson provided a shell script that will perform all the steps needed
...
to build a Mac OS X fat ppc/i386 or ppc64/x86_64 libcurl.framework
2009-02-23 12:39:06 +00:00
Daniel Stenberg
07dc741e18
mention default port number
2009-02-23 10:40:36 +00:00
Daniel Stenberg
8b66981ce0
- I renamed everything in the windows builds files that used the name 'curllib'
...
to the proper 'libcurl' as clearly this caused confusion.
2009-02-23 09:36:54 +00:00
Daniel Stenberg
3a7e8c9f5f
lzma compressed tarballs too for some testing, it does produce MUCH smaller
...
files
2009-02-23 09:36:08 +00:00
Yang Tse
fb90b43432
use the internal snprintf() function
2009-02-23 01:04:18 +00:00
Daniel Stenberg
0302c21253
mention 4 pending fixes/patches
2009-02-20 22:56:55 +00:00
Yang Tse
9182a46233
Mark Incley noticed VS2008 compilation halting when building for Windows 2000
2009-02-20 12:10:23 +00:00
Yang Tse
51b46f451f
Do not halt compilation when using VS2008 to build a Windows 2000 target
2009-02-20 11:30:11 +00:00
Daniel Stenberg
11f3690201
clarified the FTP passive/active mode options somewhat
2009-02-20 09:14:25 +00:00
Daniel Stenberg
5784a37f91
the FTP multi interface bug
2009-02-20 08:19:19 +00:00
Daniel Stenberg
af91ff0e06
- Linus Nielsen Feltzing reported and helped me repeat and fix a problem with
...
FTP with the multi interface: when a transfer fails, like when aborted by a
write callback, the control connection was wrongly closed and thus not
re-used properly.
This change is also an attempt to cleanup the code somewhat in this area, as
now the FTP code attempts to keep (better) track on pending responses
necessary to get read in ftp_done().
2009-02-20 08:16:03 +00:00
Daniel Stenberg
be3a78f583
The C++ binding home was changed
2009-02-19 18:49:03 +00:00
Daniel Stenberg
7f22da5230
verify that a 550-response for a RETR returns 78 but also that the control
...
connection is kept alive afterwards
2009-02-19 13:47:06 +00:00
Daniel Stenberg
5af0629ba5
- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
...
libcurl did a superfluous 1000ms wait when doing SFTP downloads!
We read data with libssh2 while doing the "DO" operation for SFTP and then
when we were about to start getting data for the actual file part, the
"TRANSFER" part, we waited for socket action (in 1000ms) before doing a
libssh2-read. But in this case libssh2 had already read and buffered the
data so we ended up always just waiting 1000ms before we get working on the
data!
2009-02-19 10:36:20 +00:00
Daniel Stenberg
a776e5ad31
spell-fixed comments and other minor non-code edits
2009-02-18 19:31:55 +00:00
Patrick Monnerat
6e422c447a
FTP downloads (i.e.: RETR) ending with code 550 now return error CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE.
2009-02-18 11:40:16 +00:00
Patrick Monnerat
4608d0157e
Continue sync work on OS400 specific code and RPG binding.
2009-02-17 16:16:07 +00:00
Daniel Stenberg
a24fe59ee4
- Kamil Dudka made NSS-powered builds compile and run again!
2009-02-17 12:18:34 +00:00
Daniel Stenberg
4ad296c60b
- A second follow-up change by Andre Guibert de Bruet to fix a related memory
...
leak like that fixed on the 14th. When zlib returns failure, we need to
cleanup properly before returning error.
2009-02-17 12:14:41 +00:00
Daniel Stenberg
0517fa153c
three new CURLFTP_CREATE_DIR* symbols
2009-02-17 09:43:27 +00:00
Daniel Stenberg
8f81fd6be5
- CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 for
...
plain FTP connections, and it will then allow MKD to fail once and retry the
CWD afterwards. This is especially useful if you're doing many simultanoes
connections against the same server and they all have this option enabled,
as then CWD may first fail but then another connection does MKD before this
connection and thus MKD fails but trying CWD works! The numbers can
(should?) now be set with the convenience enums now called
CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY.
Tests has proven that if you're making an application that uploads a set of
files to an ftp server, you will get a noticable gain in speed if you're
using multiple connections and this option will be then be very useful.
2009-02-17 09:07:25 +00:00
Patrick Monnerat
1472be4d3e
Preparation of imminent release: synchronizing OS400 wrappers + RPG binding to current state.
2009-02-16 15:33:17 +00:00
Gisle Vanem
8925527fef
In MSVC9 'time_t' is a 64-bit quantity. This causes a truncation warning
...
when an 'int' is assigned to a 'time_t' variable. Hence redefine 'retry_time'
and 'retry_max' to 'time_t'.
2009-02-14 13:43:18 +00:00
Daniel Stenberg
8cdc220bc0
nah, use the simpler year - year range syntax only, no matter what emacs'
...
copyright-update script thinks
2009-02-14 09:12:55 +00:00
Daniel Stenberg
d315d41a12
- Andre Guibert de Bruet found and fixed a memory leak in the content encoding
...
code, which could happen on libz errors.
2009-02-14 09:09:09 +00:00
Daniel Stenberg
4f7687895d
there is nothing left planned for next release, metalink experiments are post-
...
poned
2009-02-13 14:34:07 +00:00
Daniel Stenberg
07d46886df
Anthony Bryan's letter=>symbol fixes
2009-02-13 09:12:52 +00:00
Yang Tse
b79c8f527f
ignore
2009-02-13 06:34:44 +00:00
Yang Tse
0cf10ae4d7
Remove following files generated on previous buildconf run:
...
ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
2009-02-13 06:25:35 +00:00
Yang Tse
debe0b561d
check for poll() as it is done for other functions
2009-02-13 05:49:58 +00:00
Dan Fandrich
9ddc7ad038
Fixed NTLM on curl-config --features with GnuTLS
2009-02-12 23:57:17 +00:00
Dan Fandrich
9a4c887c4a
Added support for Digest and NTLM authentication using GnuTLS.
2009-02-12 20:48:40 +00:00
Daniel Stenberg
de41c6ef43
credit Jocelyn Jaubert for his bug report and associated work
2009-02-12 08:05:23 +00:00
Daniel Stenberg
002cf105c6
- CURLINFO_CONDITION_UNMET was added to allow an application to get to know if
...
the condition in the previous request was unmet. This is typically a time
condition set with CURLOPT_TIMECONDITION and was previously not possible to
reliably figure out. From bug report #2565128
(http://curl.haxx.se/bug/view.cgi?id=2565128 )
2009-02-11 21:47:14 +00:00
Daniel Stenberg
fb8fdf9273
Added docs/libcurl/symbols-in-versions
2009-02-10 13:06:25 +00:00
Daniel Stenberg
517b8ed057
completed the CURLPROXY_ collection
2009-02-10 12:52:09 +00:00
Daniel Stenberg
d3d7ed1766
include the symbols-in-versions file in the release archive
2009-02-10 12:39:26 +00:00
Daniel Stenberg
77fd094090
remove a trailing name from a comment
2009-02-10 12:34:41 +00:00
Daniel Stenberg
c65f9acdc7
introducing the symbols-in-versions file, in an effort to help app authors
...
to better know and track symbols in earlier libcurl versions
2009-02-10 12:33:10 +00:00
Daniel Stenberg
5c4cdcb2d5
mention when CURLOPT_ADDRESS_SCOPE was added
2009-02-10 12:32:12 +00:00
Daniel Stenberg
b1233c7e4d
#45 . libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
...
getaddrinfo() sorts the response list
This isn't a libcurl bug since this is how getaddrinfo() is *supposed* to work!
Apparently you deal with this using the /etc/gai.conf file.
2009-02-09 16:09:45 +00:00
Daniel Stenberg
4ebe4b907b
#53 . SFTP busy-loop problem. should be fixed in 7.19.3 with libssh2 1.0 (or
...
later)
2009-02-09 16:08:08 +00:00
Daniel Stenberg
bf44d0f640
Moved Curl_strntoupper() to the rawstr.c file where the other raw string
...
functions are.
2009-02-07 22:53:37 +00:00
Daniel Stenberg
73cf99c052
214 - progress bar prefix, second try (for the curl tool)
...
patch declined
2009-02-07 22:47:07 +00:00
Dan Fandrich
44c02227e9
Mention the first release of CURLOPT_FTP_FILEMETHOD
2009-02-06 19:25:32 +00:00
Dan Fandrich
77da9a0087
Added an explicit buffer limit check in msdosify() (patch based on FreeBSD).
...
This couldn't ever overflow in curl, but might if the code were used
elsewhere or under different conditions.
2009-02-05 00:13:40 +00:00
Dan Fandrich
42d2353e74
Fixed a typo (spotted in the FreeBSD ports).
2009-02-04 23:40:57 +00:00
Dan Fandrich
4b441ebac5
Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS
...
(respectively) when --with-ssl=/usr is used (patch based on FreeBSD).
2009-02-04 23:33:34 +00:00
Daniel Stenberg
01140217f5
206 - A. Craig West's CURLOPT_HTTP_VERSION change for CONNECT
...
applied!
2009-02-04 21:22:13 +00:00
Daniel Stenberg
71f3877f3a
- Hidemoto Nakada provided a small fix that makes it possible to get the
...
CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
CURLOPT_NOBODY set true.
2009-02-03 22:28:41 +00:00
Phil Blundell
83d135f990
* February 3 2009 (Phil Blundell)
...
- If the server returns garbage or nothing at all in response to an AAAA query,
go on and ask for A records anyway.
2009-02-03 14:38:09 +00:00
Daniel Stenberg
d4ac3d53fc
- Patrick Scott found a rather large memory leak when using the multi
...
interface and setting CURLMOPT_MAXCONNECTS to something less than the number
of handles you add to the multi handle. All the connections that didn't fit
in the cache would not be properly disconnected nor freed!
2009-02-02 21:36:47 +00:00
Daniel Stenberg
f0332c0b58
minor comment fix
2009-02-02 21:20:59 +00:00
Daniel Stenberg
bdd4294e79
- Craig A West brought us: libcurl now defaults to do CONNECT with HTTP
...
version 1.1 instead of 1.0 like before. This change also introduces the new
proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to
switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0
option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0.
I updated all test cases cases that use CONNECT and I tried to do some using
--proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
2009-02-02 16:19:23 +00:00
Daniel Stenberg
dcf92bffd2
- When building with c-ares 1.6.1 (not yet released) or later and IPv6 support
...
enabled, we can now take advantage of its brand new AF_UNSPEC support in
ares_gethostbyname(). This makes test case 241 finally run fine for me wtih
this setup since it now parses the "::1 ip6-localhost" line fine in my
/etc/hosts file!
2009-01-31 20:25:55 +00:00
Daniel Stenberg
a2256e899b
- ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving
...
either AF_INET6 or AF_INET. It works by accepting any of the looksups in the
hosts file, and it resolves the AAAA field with a fallback to A.
2009-01-31 20:17:41 +00:00
Daniel Stenberg
8b6805572a
- Scott Cantor filed bug report #2550061
...
(http://curl.haxx.se/bug/view.cgi?id=2550061 ) mentioning that I failed to
properly make sure that the VC9 makefiles got included in the latest
release. I've now fixed the release script and verified it so next release
will hopefully include them properly!
2009-01-31 18:38:41 +00:00
Daniel Stenberg
607253c2d0
Truly make sure that the vc8 and vc9 makefiles that are generated get included
...
in the release archive - by using our .dist suffix trick.
2009-01-30 22:32:13 +00:00
Dan Fandrich
09f4a1c5e5
Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for reporting
...
the problem.
2009-01-30 19:29:25 +00:00
Dan Fandrich
5c9fff9c6e
Mentioned some other characters that may need escaping on the curl command
...
line and fixed a few typos.
2009-01-30 18:28:29 +00:00
Yang Tse
99b4912688
ensure that we use the ANSI version functions
2009-01-30 02:35:40 +00:00
Yang Tse
0a6312d66f
fix typo in comment
2009-01-30 01:54:22 +00:00
Yang Tse
a97f52db20
Provide another definition missing in MinGW's headers
2009-01-30 01:37:37 +00:00
Yang Tse
5267be57f7
Provide some definitions missing in MinGW's headers
2009-01-29 21:44:36 +00:00
Yang Tse
e813bf31d7
Introduced curl_sspi.c and curl_sspi.h for the implementation of functions
...
Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c
Also adjusted socks_sspi.c to remove the link-time dependency on the Windows
SSPI library using it now in the same way as it was done in http_ntlm.c.
2009-01-29 20:32:27 +00:00
Yang Tse
1bd0be0361
added some more messages to SSPI error function
2009-01-29 15:25:23 +00:00
Yang Tse
996c8ca7c2
Avoid inclusion of ntsecapi.h and directly provide the KERB_WRAP_NO_ENCRYPT
...
definition to avoid a 'STRING' duplicate definition from OpenSSL's safestack.h
2009-01-29 14:00:18 +00:00
Yang Tse
fec65fbff6
fix compiler warnings
2009-01-29 03:39:10 +00:00
Daniel Stenberg
de4610a55f
- Markus Moeller introduced two new options to libcurl:
...
CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl
to do GSS-style authentication with SOCKS5 proxies. The curl tool got the
options called --socks5-gssapi-service and --socks5-gssapi-nec to enable
these.
2009-01-28 21:33:58 +00:00
Yang Tse
6e34c2d59a
fix compiler warning: conversion from 'int' to 'bool', possible loss of data
2009-01-28 17:43:11 +00:00
Yang Tse
34b09398d5
fix compiler warning: enumerated type mixed with another type
2009-01-28 17:26:26 +00:00
Daniel Stenberg
0516ce7786
- Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app
...
to set desired block size to use for TFTP transfers instead of the default
512 bytes.
2009-01-26 22:43:06 +00:00
Daniel Stenberg
bb86462ed7
wrap line at col 80
2009-01-26 14:37:29 +00:00
Daniel Stenberg
8fa8df95fb
- The "-no_ticket" option was introduced in Openssl0.9.8j. It's a flag to
...
disable "rfc4507bis session ticket support". rfc4507bis was later turned
into the proper RFC5077 it seems: http://tools.ietf.org/html/rfc5077
The enabled extension concerns the session management. I wonder how often
libcurl stops a connection and then resumes a TLS session. also, sending the
session data is some overhead. .I suggest that you just use your proposed
patch (which explicitly disables TICKET).
If someone writes an application with libcurl and openssl who wants to
enable the feature, one can do this in the SSL callback.
Sharad Gupta brought this to my attention. Peter Sylvester helped me decide
on the proper action.
2009-01-26 14:36:18 +00:00
Daniel Stenberg
82ca52713b
- Alexey Borzov filed bug report #2535504
...
(http://curl.haxx.se/bug/view.cgi?id=2535504 ) pointing out that realms with
quoted quotation marks in HTTP Digest headers didn't work. I've now added
test case 1095 that verifies my fix.
2009-01-26 13:19:03 +00:00
Gunter Knauf
f29e383575
added CURLX_ONES again to object list for dynamic linking.
2009-01-26 07:33:29 +00:00
Daniel Stenberg
5aeef9c1c8
- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
...
They basically offer the same thing the NO_PROXY environment variable only
offered previously: list a set of host names that shall not use the proxy
even if one is specified.
2009-01-25 23:26:25 +00:00
Dan Fandrich
ddd3fe5948
Improved the title and keywords
2009-01-21 04:46:13 +00:00
Dan Fandrich
5591550167
Fixed a couple more locale-dependent toupper conversions, mainly for
...
clarity. This does fix one problem that causes ;type=i FTP URLs
to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is
used (test case 561)
Added tests 561 and 1092 through 1094 to test various combinations
of ;type= and ;mode= URLs that could potentially fail in the Turkish
locale.
2009-01-21 04:42:47 +00:00
Dan Fandrich
6bb9ef8de4
Call setlocale() for libtest tests to test the effects of locale-induced
...
libc changes on libcurl.
2009-01-21 04:30:05 +00:00
Daniel Stenberg
14a6788535
- Lisa Xu pointed out that the ssh.obj file was missing from the lib/Makefile.vc6
...
file (and thus from the vc8 and vc9 ones too).
2009-01-20 06:24:25 +00:00
Daniel Stenberg
6f86826516
fix typo in comment that made it confusing
2009-01-19 19:09:39 +00:00
Daniel Stenberg
0e6ed13454
7.19.3 is out now
2009-01-19 11:50:31 +00:00
Daniel Stenberg
b914f45e9e
700 friendly contributors after the new ones in 7.19.3 were added
2009-01-19 10:25:47 +00:00
Daniel Stenberg
3ed66094e8
17 new contributors from the 7.19.3 release
2009-01-19 10:24:19 +00:00
Daniel Stenberg
718004d9b5
start over on our journey towards 7.19.4...
2009-01-19 10:11:25 +00:00
Daniel Stenberg
1dc54324f4
time to release
2009-01-19 09:59:20 +00:00
Gisle Vanem
89ecf4ac01
fopen() returns error in 'errno' even on Windows.
...
So don't use ERRNO (GetLastError()). Trimmed trailing
blanks.
2009-01-18 17:03:31 +00:00
Gisle Vanem
d42eac4287
Constified some arguments in local functions.
2009-01-18 16:33:10 +00:00
Gunter Knauf
3fa6c51bb1
fixed global copyright.
2009-01-17 14:56:33 +00:00
Daniel Stenberg
37c5250e03
- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
...
32 bit and 64 bit.
2009-01-16 08:36:40 +00:00
Dan Fandrich
0d3bb93ce8
Add steps needed for zlib support under Minix
2009-01-15 08:49:22 +00:00
Daniel Stenberg
5e74c58b73
- Tim Ansell fixed a compiler warning in lib/cookie.c
2009-01-15 08:32:58 +00:00
Daniel Stenberg
7ac16811cc
a bunch of minor updates
2009-01-14 22:52:18 +00:00
Daniel Stenberg
29b6a732f3
- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead it
...
now declares the private struct ares_in6_addr for all systems instead of
relying on one possibly not present in the system.
2009-01-14 13:08:50 +00:00
Daniel Stenberg
3dcd6bc597
213 - bug #2501457 "Timeouts not working with curl_multi_socket_action()" -
...
now put in KNOWN_BUGS as entry #62
2009-01-13 23:45:24 +00:00
Daniel Stenberg
1342f5d592
62. CURLOPT_TIMEOUT does not work properly with the regular multi and
...
multi_socket interfaces. The work-around for apps is to simply remove the
easy handle once the time is up. See also:
http://curl.haxx.se/bug/view.cgi?id=2501457
2009-01-13 23:43:23 +00:00
Daniel Stenberg
8fbfd5916d
Karl Moerder removed wsock32.lib from the vc9 makefiles
2009-01-13 23:29:56 +00:00
Daniel Stenberg
1225d36188
Grant Erickson fixed timeouts for TFTP
2009-01-13 23:24:06 +00:00
Daniel Stenberg
a19e02be5e
- Michael Wallner fixed a NULL pointer deref when calling
...
curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no
cookies data.
2009-01-13 22:21:14 +00:00
Daniel Stenberg
0761e60a4a
Stefan Teleman's curlbuild.h fix for SunPro compilers
2009-01-13 22:05:48 +00:00
Daniel Stenberg
af96c8304f
oops, the previous wasn't meant to get committed but since I did it I thought
...
I'd just as well enumerate the remainder and commit a "proper" looking one
2009-01-13 22:04:43 +00:00
Daniel Stenberg
0de0e95020
- Stefan Teleman brought a patch to fix the default curlbuild.h file for the
...
SunPro compilers.
2009-01-13 22:01:39 +00:00
Phil Blundell
35d8fb0501
- ares__send_query() now varies the retry timeout pseudo-randomly to avoid
...
packet storms when several queries were started at the same time.
2009-01-13 11:51:04 +00:00
Daniel Stenberg
87c71953be
spell-checked a bunch of comments
2009-01-13 06:44:03 +00:00
Daniel Stenberg
79a91b8168
make this example not only replace an internal header but also add a totally
...
new and non-standard one
2009-01-12 21:29:23 +00:00
Daniel Stenberg
2f9038bf62
Mohun Biswas clarified
2009-01-12 21:22:51 +00:00
Daniel Stenberg
4d50ca4e21
bump year
2009-01-11 23:48:20 +00:00
Daniel Stenberg
a1077d0970
changed the wording to possibly make some sense
2009-01-11 23:47:01 +00:00
Daniel Stenberg
b9fdc0c251
- Based on bug report #2498665 ( http://curl.haxx.se/bug/view.cgi?id=2498665 )
...
by Daniel Black, I've now added magic to the configure script that makes it
use pkg-config to detect gnutls details as well if the existing method
(using libgnutls-config) fails. While doing this, I cleaned up and unified
the pkg-config usage when detecting openssl and nss as well.
2009-01-11 23:41:50 +00:00
Daniel Stenberg
f471b4836f
credit Karl Moerder properly
2009-01-11 22:05:38 +00:00
Daniel Stenberg
32b75d1b69
- Phil Blundell added the internal function ares__expand_name_for_response()
...
that is now used by the ares_parse_*_reply() functions instead of the
ares_expand_name() simply to easier return ARES_EBADRESP for the cases where
the name expansion fails as in responses that really isn't expected.
2009-01-11 13:49:13 +00:00
Daniel Stenberg
f7e3bd28b4
- Karl M brought the patch that creates vc9 Makefiles, and I made 'maketgz'
...
now use the actual makefile targets to do the VC8 and VC9 makefiles.
2009-01-11 13:34:05 +00:00
Daniel Stenberg
452e52f958
- Emil Romanus fixed:
...
When using the multi interface over HTTP and the server returns a Location
header, the running easy handle will get stuck in the CURLM_STATE_PERFORM
state, leaving the external event loop stuck waiting for data from the
ingoing socket (when using the curl_multi_socket_action stuff). While this
bug was pretty hard to find, it seems to require only a one-line fix. The
break statement on line 1374 in multi.c caused the function to skip the call
to multistate().
How to reproduce this bug? Well, that's another question. evhiperfifo.c in
the examples directory chokes on this bug only _sometimes_, probably
depending on how fast the URLs are added. One way of testing the bug out is
writing to hiper.fifo from more than one source at the same time.
2009-01-10 22:10:57 +00:00
Daniel Stenberg
0090099565
Only care about the first line of libtool --version as otherwise this script
...
get fooled by libtool 2, and at least libtool 1.5.2x do output the interesting
version string in the first line.
2009-01-08 22:53:37 +00:00
Daniel Stenberg
2ed23cb50d
"204 - Rob C's NSS fix" is done and since we enter feature freeze now I moved
...
the remaining three issues to next release since they are about new things and
not just fixing bugs
2009-01-08 10:32:54 +00:00
Dan Fandrich
a97ab4f933
Added a few more issues
2009-01-08 01:09:29 +00:00
Dan Fandrich
bc93011554
Unified much of the SessionHandle initialization done in Curl_open() and
...
curl_easy_reset() by creating Curl_init_userdefined(). This had the side effect
of fixing curl_easy_reset() so it now also resets CURLOPT_FTP_FILEMETHOD and
CURLOPT_SSL_SESSIONID_CACHE
2009-01-08 00:31:49 +00:00
Dan Fandrich
14b6cc4e22
Always use nocheck="yes" for consistency
2009-01-07 21:57:26 +00:00
Dan Fandrich
80ffd3581f
Created a CURLMIN macro to match CURLMAX
2009-01-07 19:39:35 +00:00
Daniel Stenberg
dd058b8de6
fix compiler warnings
2009-01-07 14:12:01 +00:00
Daniel Stenberg
3c2ad4022c
- Rob Crittenden did once again provide an NSS update:
...
I have to jump through a few hoops now with the NSS library initialization
since another part of an application may have already initialized NSS by the
time Curl gets invoked. This patch is more careful to only shutdown the NSS
library if Curl did the initialization.
It also adds in a bit of code to set the default ciphers if the app that
call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific
ciphers. One might argue that this lets other application developers get
lazy and/or they aren't using the NSS API correctly, and you'd be right.
But still, this will avoid terribly difficult-to-trace crashes and is
generally helpful.
2009-01-07 14:10:35 +00:00
Daniel Stenberg
1f4b8da60a
four fresh items to deal with!
2009-01-06 22:30:40 +00:00
Daniel Stenberg
9af4cf219e
- 'reconf' is removed since we rather have users use 'buildconf'
2009-01-01 20:50:59 +00:00
Daniel Stenberg
cf4b88fcc4
credit Bas
2008-12-31 20:36:08 +00:00
Daniel Stenberg
2215a9a181
- Bas Mevissen reported http://curl.haxx.se/bug/view.cgi?id=2479030 pointing
...
out that 'reconf' didn't properly point out the m4 subdirectory when running
aclocal.
2008-12-31 20:35:46 +00:00
Gunter Knauf
aa32f61ce7
sync'd address with other tests.
2008-12-30 15:33:09 +00:00
Gunter Knauf
8266727062
trial with an address which has a valid domain part but invalid host to avoid dns redirections.
2008-12-30 09:16:38 +00:00
Gunter Knauf
d839230402
added HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID to ares Makefile.netware and sync'd with other Makefile.netware.
2008-12-30 08:16:24 +00:00
Gunter Knauf
1cc50d31f9
changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since just found that ares already uses this define.
2008-12-30 08:05:38 +00:00
Gunter Knauf
104377d718
added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware.
2008-12-30 07:31:04 +00:00
Daniel Stenberg
83640b2ee5
- Phil Lisiecki filed bug report #2413067
...
(http://curl.haxx.se/bug/view.cgi?id=2413067 ) that identified a problem that
would cause libcurl to mark a DNS cache entry "in use" eternally if the
subsequence TCP connect failed. It would thus never get pruned and refreshed
as it should've been.
2008-12-29 22:25:50 +00:00
Daniel Stenberg
9aea3e265d
further clarifcation based on input from Anthony Bryan
2008-12-29 21:26:11 +00:00
Daniel Stenberg
59227bf075
- Peter Korsgaard fixed building libcurl with "configure --with-ssl
...
--disable-verbose".
2008-12-28 22:00:36 +00:00
Daniel Stenberg
f61cfc5931
Anthony Bryan's man page cleanup in language and spelling
2008-12-28 21:56:56 +00:00
Daniel Stenberg
27b8a5fd84
Anthony Bryan reported quirks, I updated
2008-12-28 21:43:34 +00:00
Daniel Stenberg
60ff74140e
Anthony Bryan reported and I corrected two typos.
2008-12-28 21:35:53 +00:00
Daniel Stenberg
4f0a7170af
The CURLOPT_KRBLEVEL description wasn't properly formatted and thus was
...
corrupted in ouputs. Another report from Anthony Bryan.
2008-12-28 21:31:55 +00:00
Daniel Stenberg
6d2ff9d2a7
Anthony Bryan reported this outputs wrong in the PDF and I've now tried to
...
escape these letters what I think is the correct way.
2008-12-28 21:29:13 +00:00
Gunter Knauf
122b0bfe82
silent 'unused' warnings.
2008-12-28 05:49:39 +00:00
Daniel Stenberg
3eae7695fc
libssh2 0.19 became 1.0 instead
2008-12-27 23:25:31 +00:00
Gunter Knauf
6efde61227
added check for sin6_scope_id member in struct sockaddr_in6.
2008-12-27 04:30:36 +00:00
Daniel Stenberg
1c48124db4
193 removed, no work has been started on this and I personally don't care that
...
much about it
2008-12-25 15:09:18 +00:00
Gisle Vanem
e9895ea2e7
Remove trailing #undef value. Typo?
2008-12-22 18:46:12 +00:00
Daniel Stenberg
eab8c0d754
libssh2_sftp_seek2 was just renamed to libssh2_sftp_seek64 ...
2008-12-22 13:21:23 +00:00
Daniel Stenberg
7ffe62d901
- Given a recent enough libssh2, libcurl can now seek/resume with SFTP even
...
on file indexes beyond 2 or 4GB.
2008-12-22 13:12:36 +00:00
Daniel Stenberg
d5bfec70af
- Anthony Bryan provided a set of patches that cleaned up manual language,
...
corrected spellings and more.
2008-12-22 13:07:13 +00:00
Daniel Stenberg
2a86817349
malloc+memset => calloc
2008-12-20 22:51:57 +00:00
Daniel Stenberg
5be7d88b34
same procedure, simpler code
2008-12-20 22:47:49 +00:00
Daniel Stenberg
8a335ee7fd
197 - IIS-bug in Digest
...
The curl tool parts are postponed to a later time
201 - "bug: header data output to the body callback function after set header"
Was probably not a bug, I asked about it but I didn't get any response.
202 - "hangs up of application above libcurl" - problems with the multi_socket
Fixes from Igor have been committed and there's currently no pending ones.
2008-12-20 22:10:42 +00:00
Daniel Stenberg
216ad2680b
- Igor Novoseltsev fixed a bad situation for the multi_socket() API when doing
...
pipelining, as libcurl could then easily get confused and A) work on the
handle that was not "first in queue" on a pipeline, or even B) tell the app
to REMOVE a socket while it was in use by a second handle in a pipeline. Both
errors caused hanging or stalling applications.
2008-12-20 22:03:22 +00:00
Daniel Stenberg
e16509d5cf
make the debug/helper function output to stderr as that makes it play nicer
...
in combination with infof() calls
2008-12-20 21:48:34 +00:00
Daniel Stenberg
19c9b7c803
remove outdated stuff
2008-12-20 17:16:45 +00:00
Daniel Stenberg
ffd08df863
- curl_multi_timeout() could return a timeout value of 0 even though nothing
...
was actually ready to get done, as the internal time resolution is higher
than the returned millisecond timer. Therefore it could cause applications
running on fast processors to do short bursts of busy-loops.
curl_multi_timeout() will now only return 0 if the timeout is actually
alreay triggered.
2008-12-19 22:58:22 +00:00
Daniel Stenberg
460459e8db
oops, removing debug output that wasn't supposed to be there
2008-12-19 22:27:11 +00:00
Daniel Stenberg
07416b61e3
- Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl
...
now has an improved ability to do right when the multi interface (both
"regular" and multi_socket) is used for SCP and SFTP transfers. This should
result in (much) less busy-loop situations and thus less CPU usage with no
speed loss.
2008-12-19 21:14:52 +00:00
Daniel Stenberg
000a13e21a
expand the CURLOPT_POSTREDIR explanation
2008-12-19 19:03:55 +00:00
Daniel Stenberg
03ca98b0df
- SCP and SFTP with the multi interface had the same flaw: the 'DONE'
...
operation didn't complete properly if the EAGAIN equivalent was returned but
libcurl would simply continue with a half-completed close operation
performed. This ruined persistent connection re-use and cause some
SSH-protocol errors in general. The correction is unfortunately adding a
blocking function - doing it entirely non-blocking should be considered for
a better fix.
2008-12-17 12:32:41 +00:00
Gisle Vanem
abb74a1203
Updated dependencies based on "gcc -MM".
2008-12-16 09:12:46 +00:00
Gisle Vanem
77c1d556bb
Added the use of Watt-32 tcp/ip stack for Win32 target.
...
If USE_WATT32=1 one needs to use stack-based calls (-3s).
So to keep the makefile nice and clean, specify -3s for
Winsock target too (there's hardly any speed-gain using -3r).
2008-12-16 09:03:58 +00:00
Gisle Vanem
bd55ab05bd
Added the use of Watt-32 tcp/ip stack for Win32 targets.
2008-12-16 08:59:45 +00:00
Gisle Vanem
2025193b7a
Added the use of Watt-32 tcp/ip stack for Win32 targets.
...
Added USE_WATT32 unconditionally for MSDOS targets since
it's the only option. Adjusted the text for '--wdebug'.
2008-12-16 08:48:44 +00:00
Gisle Vanem
418683f537
Added the use of Watt-32 tcp/ip stack for Win32 targets.
2008-12-16 08:25:55 +00:00
Daniel Stenberg
008b848dcc
- libssh2_sftp_last_error() was wrongly used at some places in libcurl which
...
made libcurl sometimes not properly abort problematic SFTP transfers.
2008-12-15 23:04:51 +00:00
Daniel Stenberg
79b7575fd8
196 is gone
2008-12-12 12:38:47 +00:00
Daniel Stenberg
792279581b
- More work with Igor Novoseltsev to first fix the remaining stuff for
...
removing easy handles from multi handles when the easy handle is/was within
a HTTP pipeline. His bug report #2351653
(http://curl.haxx.se/bug/view.cgi?id=2351653 ) was also related and was
eventually fixed by a patch by Igor himself.
2008-12-12 12:21:11 +00:00
Daniel Stenberg
3ca360391a
Make the getoff all pipelines function only set _inuse to FALSE if the
...
specified data pointer was head.
2008-12-12 12:04:10 +00:00
Daniel Stenberg
5f0a3797c9
credit Mark Karpeles for his report and work
2008-12-12 08:36:56 +00:00
Yang Tse
2d2c53d20e
Patrick Monnerat fixed a build regression, introduced in 7.19.2, affecting
...
OS/400 compilations with IPv6 enabled.
2008-12-12 03:24:59 +00:00
Daniel Stenberg
02ca14fd0e
Removed 200 as it wasn't a bug after all
...
Added 203 "dns cache memory leak and TTL failure after failed conn"
2008-12-11 23:55:20 +00:00
Daniel Stenberg
0f5895faee
- Bug report #2416182 titled "crash in ConnectionExists when using
...
duphandle+curl_mutli" (http://curl.haxx.se/bug/view.cgi?id=2416182 ) showed
that curl_easy_duphandle() wrongly also copied the pointer to the connection
cache, which was plain wrong and caused a segfault if the handle would be
used in a different multi handle than the handle it was duplicated from.
2008-12-11 23:52:56 +00:00
Daniel Stenberg
c0dfe6e51d
Dan F pointed out that we don't need to scan IPv6 addresses for '%'-letters
...
in the parse_remote_port() function as the scope id has already been stripped
from the string.
2008-12-11 23:27:22 +00:00
Daniel Stenberg
1b4af1f8d8
- Keshav Krity found out that libcurl failed to deal with dotted IPv6
...
addresses if they were very long (>39 letters) due to a too strict address
validity parser. It now accepts addresses up to 45 bytes long.
2008-12-11 22:22:46 +00:00
Patrick Monnerat
8e255534a1
_ Use getaddrinfo/getnameinfo ascii wrappers on OS400.
...
_ Adjust OS400 make script for non-CVS distributions.
_ Upgrade ILE/RPG binding.
_ Define CURL_HIDDEN_SYMBOLS on OS400, since only CURL_EXTERN-marked symbols are exported.
2008-12-11 19:20:03 +00:00
Dan Fandrich
4607dfe257
Mention what makes this test special
2008-12-11 03:01:38 +00:00
Daniel Stenberg
6e376532b0
- 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.
2008-12-10 23:13:31 +00:00
Daniel Stenberg
4ed64fd5ee
use the new URL
2008-12-09 22:49:51 +00:00
Daniel Stenberg
21700ae515
start over on the 1.6.1 release...
2008-12-09 22:41:36 +00:00
Daniel Stenberg
b962ef3154
add space
2008-12-09 22:30:59 +00:00
Dan Fandrich
32f78136b2
Documented CURLOPT_CONNECT_ONLY as being useful only on HTTP URLs.
2008-12-09 22:00:18 +00:00
Dan Fandrich
01d6133bd7
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.
2008-12-09 21:59:57 +00:00
Daniel Stenberg
4b62cd3616
- 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.
2008-12-09 15:02:37 +00:00
Gisle Vanem
df7b1d8e64
Fix for Win32 targets using Watt-32.
2008-12-09 14:39:08 +00:00
Dan Fandrich
2449e1f5a5
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.
2008-12-09 01:02:28 +00:00
Daniel Stenberg
66c0e4ad5f
195 - SIZE returning 550 must not abort the transfer
...
Fixed!
2008-12-08 20:21:36 +00:00
Daniel Stenberg
18371aaff9
- 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.
2008-12-08 20:20:51 +00:00
Gisle Vanem
f36eab2608
Added needed defines for Watt-32 on Windows.
2008-12-08 16:12:11 +00:00
Gisle Vanem
66d38261f7
Undefine 'optarg', 'optind' and 'opterr' when using Watt-32
...
(to get correct linkage on Windows).
2008-12-08 16:11:16 +00:00
Gisle Vanem
553b4cfd0b
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.
2008-12-08 16:09:21 +00:00
Gisle Vanem
edd63a7920
Removed unneeded defines HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T,
...
RETSIGTYPE and HAVE_PROCESS_H.
2008-12-08 14:58:56 +00:00
Daniel Stenberg
5ce03efc3e
one more
2008-12-08 14:26:28 +00:00
Daniel Stenberg
4645e8b6b1
192 - "infinite loop during GSS authentication" bug #2221237
...
Fixed!
2008-12-08 14:24:12 +00:00
Daniel Stenberg
42365aa7ef
- 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!
2008-12-08 13:52:20 +00:00
Daniel Stenberg
dff4ce92ad
the initial version of the ares_set_socket_callback man page
2008-12-04 12:54:43 +00:00
Daniel Stenberg
e5b0533dab
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
...
and I edited it to also get duped by ares_dup().
2008-12-04 12:53:03 +00:00
Dan Fandrich
a2a315a6e8
Bring the sys/include.h include test in line with curl's.
2008-12-04 07:18:13 +00:00
Dan Fandrich
7abdc4b218
Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6
...
support (e.g. Minix)
2008-12-04 06:24:00 +00:00
Daniel Stenberg
479ddb1fee
- 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.
2008-12-03 15:20:27 +00:00
Daniel Stenberg
4ee27b4594
filled in SONAME number bump info, after some CVS digging
2008-12-03 15:20:06 +00:00
Daniel Stenberg
58ebde9502
- 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 )
2008-12-03 15:08:09 +00:00
Daniel Stenberg
04ee89493e
Let's not call ares_save_options() deprecated just yet
2008-12-03 10:03:07 +00:00
Daniel Stenberg
dd3594c6b3
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
...
Also discussed on the ml.
2008-12-03 09:59:50 +00:00
Daniel Stenberg
f7ea431516
explain the two *channel_inuse fields somewhat better
2008-12-02 23:00:10 +00:00
Dan Fandrich
16a153468d
Make sure sys/socket.h is included before netinet/in.h (required by
...
OpenWatcom C, and condoned by SUS)
2008-12-02 02:58:04 +00:00
Daniel Stenberg
b062212e55
minor indent fix
2008-12-01 22:36:39 +00:00
Daniel Stenberg
39eb96e9ff
Convert the public config struct to the same binary size/construct as in the
...
latest releases to remain ABI compatible.
2008-12-01 19:06:24 +00:00
Daniel Stenberg
4c84f6b423
added some more entries for stuff done the last ~2 years
2008-12-01 18:46:31 +00:00
Daniel Stenberg
0b2ae71f8b
People have successfully ran libcurl on iphone
2008-11-30 22:51:54 +00:00
Yang Tse
39d0b57ebf
Further adjust a libssh2 preprocessor function-symbol definition check
2008-11-29 17:45:16 +00:00
Yang Tse
c036f6ae2d
Adjust some libssh2 preprocessor symbol definition checks
2008-11-29 16:39:56 +00:00
Gisle Vanem
e35e2ea6ec
Added '-DHAVE_GETHOSTNAME'.
2008-11-29 15:19:46 +00:00
Dan Fandrich
f33f8eee26
Make sure sys/socket.h is included before netinet/in.h (required by
...
OpenWatcom C)
2008-11-29 00:26:07 +00:00
Dan Fandrich
31a3f064c0
Netware has gethostname()
2008-11-28 23:34:39 +00:00
Dan Fandrich
232518a219
Fixed a couple of typos
2008-11-28 23:24:06 +00:00
Dan Fandrich
bc165078a2
Don't tweak the HAVE_* macros when using autoconf
2008-11-28 23:12:11 +00:00
Dan Fandrich
e4dabef0c7
Make use of gethostname() conditional on it being available
2008-11-28 22:41:14 +00:00
Dan Fandrich
00142d8443
Only set TCP_NODELAY when it exists
2008-11-28 22:07:40 +00:00
Daniel Stenberg
1b0b7fa0e1
updated with changes, preparing for a release soon
2008-11-28 15:44:01 +00:00
Yang Tse
67fb731ec4
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.
2008-11-26 17:04:35 +00:00
Yang Tse
a30a6f2f20
Brad Spencer provided changes to allow buildconf to work on OS X.
2008-11-26 16:51:51 +00:00
Daniel Stenberg
baeebb2b57
narrow the comment to < 80 columns
2008-11-26 12:35:24 +00:00
Dan Fandrich
ecc6f550eb
Added tests 1087 and 1088 to test Basic authentication on a redirect
...
with and without --location-trusted
2008-11-25 23:30:53 +00:00
Dan Fandrich
640974fb28
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.
2008-11-25 23:23:47 +00:00
Yang Tse
3b0c5ae467
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.
2008-11-25 16:26:58 +00:00
Dan Fandrich
0fa14c8662
Fully clean up after test 608 so that it can be run twice in succession.
2008-11-24 22:06:43 +00:00
Daniel Stenberg
d17be0df52
191 - "proposed patch for curl/libssh2 bugfix"
...
http://curl.haxx.se/mail/archive-2008-10/0000.html
Done!
2008-11-24 14:05:05 +00:00
Daniel Stenberg
53a8a6e5a6
- 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!
2008-11-24 13:59:51 +00:00
Daniel Stenberg
dd2fc45c27
Markus Koetter's adaptation of hiperfifo.c to instead use libev
2008-11-21 10:10:33 +00:00
Daniel Stenberg
ba9f8c674c
restored from my messy previous commit mistake
2008-11-21 07:47:31 +00:00
Dan Fandrich
c4f4fa4089
Automatically detect OpenBSD's CA cert bundle.
2008-11-21 06:36:21 +00:00
Dan Fandrich
32634b0771
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.
2008-11-20 07:59:26 +00:00
Daniel Stenberg
c97b66287c
use unsigned short better intead of mixing with ints to prevent compiler
...
warnings
2008-11-20 07:50:48 +00:00
Daniel Stenberg
cd6fc8a8ef
please the picky compilers by staying with short as the data we get is short
...
only
2008-11-20 07:41:26 +00:00
Daniel Stenberg
3308781376
194 - remove "Pragma: no-cache" from default HTTP requests
...
done!
2008-11-19 22:02:38 +00:00
Daniel Stenberg
40e8b4e527
- 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.
2008-11-19 22:00:14 +00:00
Daniel Stenberg
4741e64c89
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
2008-11-19 21:56:11 +00:00
Daniel Stenberg
0b489c7e61
and now it compiles too!
2008-11-19 15:31:55 +00:00
Daniel Stenberg
22d4db1cf2
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.
2008-11-19 15:30:41 +00:00
Daniel Stenberg
7383225271
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
...
resolves a host name from the given file, using the regular hosts syntax.
2008-11-19 15:16:16 +00:00
Daniel Stenberg
4b3ae5e157
- 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 )
2008-11-19 14:22:01 +00:00
Daniel Stenberg
797bc8504c
- 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.
2008-11-19 10:15:19 +00:00
Yang Tse
305f4d92ef
user provided PATH_SEPARATOR always overrides auto-detected one
2008-11-19 01:57:27 +00:00
Yang Tse
c36f0e71b6
attempting to keep lines below 80 chars
2008-11-18 20:13:55 +00:00
Dan Fandrich
a028c69f48
Avoid creating garbage on an OOM error
2008-11-18 19:58:44 +00:00
Yang Tse
4e4b6de5ce
provide a common PATH_SEPARATOR check method which is required by
...
upcomming work to support the broadest range of Autoconf versions
2008-11-18 19:29:31 +00:00
Dan Fandrich
9aac2328c6
Made an array static const
2008-11-18 09:11:34 +00:00
Dan Fandrich
e5084c1eca
Added #include "rawstr.h"
2008-11-18 08:53:51 +00:00
Yang Tse
9b12f09600
check for gethostbyaddr and gethostbyname as it is done for other functions
2008-11-18 01:57:28 +00:00
Daniel Stenberg
a71762e405
curl also builds fine for microblaze uclinux
2008-11-17 21:43:39 +00:00
Daniel Stenberg
b8f3e5675a
libcurl has been built and ran on Cell OS on the Cell processor (playstation 3)
2008-11-17 21:41:03 +00:00
Dan Fandrich
820011dedc
Added more compiler warning options for gcc 4.3
2008-11-17 21:11:10 +00:00
Dan Fandrich
cdd6054e08
Display the time in verbose mode during the torture tests to help determine
...
when the tests stall.
2008-11-17 20:24:13 +00:00
Yang Tse
a15b6a6f86
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.
2008-11-17 19:08:35 +00:00
Yang Tse
20d3e2b967
fix comment
2008-11-17 14:26:22 +00:00
Yang Tse
608fdce0a0
if2ip.c related preprocessor cleanup
2008-11-17 14:24:15 +00:00
Yang Tse
ecd3251542
Make configure script check if ioctl with the SIOCGIFADDR command can be
...
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
2008-11-17 13:13:15 +00:00
Yang Tse
999c7126b3
fix leftover from previous commit
2008-11-17 10:05:35 +00:00
Daniel Stenberg
3c50ea961f
pipelining for PUT is a good idea
2008-11-17 09:35:10 +00:00
Dan Fandrich
acc29ff1d9
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.
2008-11-17 08:16:25 +00:00
Yang Tse
886bba55ac
update with my last changes
2008-11-17 04:11:29 +00:00
Yang Tse
cd440215a5
fix inet_pton() runtime configure check
2008-11-17 03:54:05 +00:00
Yang Tse
73060b4523
backport fix for failures to reject certain malformed literals
2008-11-17 02:40:41 +00:00
Daniel Stenberg
c76d939563
Christian Krause fixed a build failure when building with gss support
...
enabled and FTP disabled.
2008-11-16 12:42:53 +00:00
Daniel Stenberg
3c4b69f95d
fix OOM problem reported by Jim Meyering
2008-11-16 12:26:50 +00:00
Yang Tse
3f01d9a043
trim down configure script size
2008-11-16 02:23:18 +00:00
Daniel Stenberg
dbc6fe3e84
my recent changes
2008-11-15 23:47:01 +00:00
Daniel Stenberg
da6c15163b
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.
2008-11-15 23:43:10 +00:00
Daniel Stenberg
9818bf7026
Fixed an OOM condition reported by Jim Meyering
2008-11-15 23:07:35 +00:00
Dan Fandrich
73c7acb159
Added some more examples of options to reduce binary size. Added x86_64 Linux
...
as a known-working environment.
2008-11-14 23:19:18 +00:00
Dan Fandrich
ea8fbb5233
Added some #ifdefs around header files and change the EAGAIN test to
...
fix compilation on Cell (reported by Jeff Curley).
2008-11-14 23:17:32 +00:00
Dan Fandrich
9b033e1b8a
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.
2008-11-14 19:22:40 +00:00
Daniel Stenberg
a65ce7b107
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
2008-11-14 16:42:05 +00:00
Daniel Stenberg
2249c12a3c
fix an OOM problem detected by Jim Meyering
2008-11-14 16:26:39 +00:00
Daniel Stenberg
b4ac9cd02c
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!
2008-11-14 16:22:18 +00:00
Yang Tse
3517eba632
fix typo affecting inclusion of <arpa/inet.h> in configure
...
checks for inet_ntoa_r() inet_ntop() and inet_pton()
2008-11-14 15:26:27 +00:00
Yang Tse
2cd44abafc
#include <string.h> in the getaddrinfo() runtime check for the memset() prototype
2008-11-14 14:47:53 +00:00
Yang Tse
4b486ebbc1
fix symbol definition check for fcntl.h inclusion
2008-11-14 05:18:08 +00:00
Yang Tse
f9f211d2c6
#include <stdlib.h> in the getifaddrs() runtime check for the exit() prototype
2008-11-14 02:51:41 +00:00
Daniel Stenberg
77b30f69e4
curl runs fine on Linux on Cell (PS3)
2008-11-13 23:19:01 +00:00
Yang Tse
17d2a464ad
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
2008-11-13 18:56:55 +00:00
Daniel Stenberg
ae6530ee82
and we are now on the 7.19.3 road
2008-11-13 13:24:00 +00:00
Daniel Stenberg
a6ba9e5ccd
7.19.2 coming up
2008-11-13 12:42:20 +00:00
Daniel Stenberg
c4cdab969b
two more things for 7.19.3
2008-11-13 10:46:10 +00:00
Michal Marek
c331c73ec6
- Fixed a potential data loss in Curl_client_write() when the transfer is
...
paused.
2008-11-13 08:20:23 +00:00
Dan Fandrich
d1f063c62d
Shortened some FTP responses to allow the timeout to be reduced by a second
...
while still causing a timeout during the data phase.
2008-11-13 01:45:59 +00:00
Gunter Knauf
b686dc4911
changed to latest libidn version.
2008-11-13 01:39:10 +00:00
Gunter Knauf
78936b2f2a
changed defines to make autobuild logs display libidn usage.
2008-11-13 01:36:04 +00:00
Dan Fandrich
b2ed1e2607
Fixed an OOM problem with test 560
2008-11-12 22:26:06 +00:00
Dan Fandrich
fb8870297d
Give the test an extra second to run so it passes on slow machines
2008-11-12 01:04:27 +00:00
Daniel Stenberg
4cbc0f6c2e
- Rainer Canavan filed bug #2255627
...
(http://curl.haxx.se/bug/view.cgi?id=2255627 ) which pointed out that a
program using libcurl's multi interface to download a HTTPS page with a
libcurl built powered by OpenSSL, would easily get silly and instead hand
over SSL details as data instead of the actual HTTP headers and body. This
happened because libcurl would consider the connection handshake done too
early. This problem was introduced at September 22nd 2008 with my fix of the
bug #2107377
The correct fix is now instead done within the GnuTLS-handling code, as both
the OpenSSL and the NSS code already deal with this situation in similar
fashion. I added test case 560 in an attempt to verify this fix, but
unfortunately it didn't trigger it even before this fix!
2008-11-11 22:19:27 +00:00
Daniel Stenberg
1b9eff64fa
bump them all to 7.19.3 and remove some of the pending ones until they are
...
either sorted out or more/new details come up
2008-11-11 22:01:15 +00:00
Daniel Stenberg
d07d1a6ef8
Added test case 560:
...
This test was added after the HTTPS-using-multi-interface with OpenSSL
regression of 7.19.1 to hopefully prevent this embarassing mistake from
appearing again... Unfortunately the bug wasn't triggered by this test, which
presumably is because the connect to a local server is too fast/different
compared to the real/distant servers we saw the bug happen with.
2008-11-11 21:59:25 +00:00
Daniel Stenberg
8bdd60fa71
Added missing <keywords>
2008-11-11 21:58:41 +00:00
Gunter Knauf
b872086c74
updated OpenSSL version.
2008-11-11 19:43:35 +00:00
Gunter Knauf
e0af4a15d0
added libidn build.
2008-11-11 19:42:35 +00:00
Gunter Knauf
d31802ed98
updated coment, updated OpenSSL version.
2008-11-11 17:46:31 +00:00
Gunter Knauf
87c4136bd4
added libidn build.
2008-11-11 17:43:02 +00:00
Daniel Stenberg
09e027bc9d
cleaned up entries that have been implemented already or are deemed not really
...
wanted anyway
2008-11-11 13:33:01 +00:00
Yang Tse
707828b71a
Related with bug #2230535 ( http://curl.haxx.se/bug/view.cgi?id=2230535 )
...
Daniel Fandrich noticed that curl_addrinfo was also missing in the build
process of other four non-configure platforms. Added now.
2008-11-11 01:12:17 +00:00
Daniel Stenberg
8f44037133
11 new contributors from the 7.19.1 release
2008-11-09 12:38:54 +00:00
Yang Tse
9717ccb786
check for getifaddrs and freeifaddrs as it is done for other functions
2008-11-08 03:27:15 +00:00
Dan Fandrich
6354cbf9d6
The getifaddrs() version of Curl_if2ip() crashed when used on a Linux
...
system with a TEQL load-balancing device configured, which doesn't
have an address. Thanks to Adam Sampson for spotting this (bug #2234923 ).
2008-11-07 18:33:20 +00:00
Yang Tse
95a849efc2
terminate with appropriate exit code
2008-11-07 12:22:43 +00:00
Yang Tse
fe083a94b9
give credit where credit is due
2008-11-07 01:42:34 +00:00
Yang Tse
6fdcdfa5ea
Bug #2230535 ( http://curl.haxx.se/bug/view.cgi?id=2230535 ) pointed out a
...
problem with MSVC 6 makefile that caused a build failure. It was noted that
the curl_addrinfo.obj reference was missing. I took the opportunity to sort
the list in which this was missing.
2008-11-06 19:11:46 +00:00
Yang Tse
4a4885eead
Add missing curl_addrinfo, and sort the list.
2008-11-06 18:50:32 +00:00
Yang Tse
a0ef686c54
Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single one
...
which now also takes a protocol address family argument.
2008-11-06 17:19:56 +00:00
Dan Fandrich
2903a5c050
Added test 1086 to test a timeout the occurs during an FTP data transfer.
2008-11-06 00:13:18 +00:00
Dan Fandrich
4d50b9f1f1
Make the SLOWDOWN option slow the FTP data connection, not just the
...
control connection.
2008-11-06 00:10:58 +00:00
Dan Fandrich
5e3c2af236
Factored out some common code into a new function output_auth_headers
2008-11-06 00:01:13 +00:00
Daniel Stenberg
5d791838d2
mention the speed unit for the _SPEED_LARGE options from bug #2226722
2008-11-05 21:48:00 +00:00
Daniel Stenberg
b80c5cff49
corrected and clarified the *_SPEED_LARGE comments
2008-11-05 21:46:40 +00:00
Daniel Stenberg
47b5740bdf
7.19.1 is now history
2008-11-05 21:28:04 +00:00
Daniel Stenberg
b8092857d9
and we're back on square one working on the next release...
2008-11-05 12:17:30 +00:00
Daniel Stenberg
3cda1a23ce
7.19.1 coming up
2008-11-05 12:00:08 +00:00
Daniel Stenberg
215677c10b
oops, use the correct option name
2008-11-04 22:36:50 +00:00
Daniel Stenberg
3688cd3fea
the pending bugs are now moved to next release
2008-11-04 21:17:18 +00:00
Daniel Stenberg
5ca2a8318d
CURLINFO_FILETIME now works for file:// transfers as well
2008-11-04 09:57:36 +00:00
Yang Tse
e27ec862c3
Sync up with reality
2008-11-03 17:39:40 +00:00
Daniel Stenberg
d0b8b5a199
- Bug #2218480 ( http://curl.haxx.se/bug/view.cgi?id=2218480 ) pointed out a
...
problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL
pointer read. I also took the opportunity to clean up this logic (storing of
the connection's IP address) somewhat as we had it stored in two different
places and ways previously and they are now unified.
2008-11-03 16:24:56 +00:00
Gisle Vanem
efe2ce3647
If building with CURLDEBUG, sprintf() is defined away. So use curl_msprintf()
...
and not sprintf().
2008-11-03 15:51:40 +00:00
Gisle Vanem
71f00188fb
Added '#define HAVE_GETNAMEINFO' and qualifiers/types
...
for it.
2008-11-03 15:24:44 +00:00
Gisle Vanem
a1c9cb8860
djgpp/DOS does have getaddrinfo().
2008-11-03 15:15:53 +00:00
Yang Tse
74e9718370
fix length of longest IPv6 address string
2008-11-03 14:58:08 +00:00
Daniel Stenberg
2d71c9cdfd
I liked Daniel Johnson's simplified version bumper guide so I modified the
...
instruction in the comments to use that instead! Original mail:
http://curl.haxx.se/mail/lib-2008-11/0019.html
2008-11-03 08:50:58 +00:00
Dan Fandrich
484d549ece
Marked with TODO comments a number of problems in the Kerberos code detected
...
while investigating the issue in http://curl.haxx.se/mail/lib-2008-09/0262.html
I'm hesitant to fix them because I have no way of testing the result.
2008-11-02 05:01:39 +00:00
Daniel Stenberg
d098ab436d
183 - "libcurl issue with IPv6 and c-ares"
...
done!
2008-11-01 23:50:18 +00:00
Daniel Stenberg
85ffd33f08
Daniel Johnson reported and fixed ipv4 name resolves when libcurl is built
...
with ipv6-enabled c-ares
2008-11-01 23:49:54 +00:00
Daniel Stenberg
c1b8e93083
Added a TODO file to list things we want changed, added or fixed.
2008-11-01 23:39:07 +00:00
Daniel Stenberg
383d4656aa
bump VERSIONINFO for the upcoming release
2008-11-01 23:05:48 +00:00
Daniel Stenberg
3e3d10824f
- Carlo Contavalli added support for the glibc "rotate" option, as documented
...
in man resolv.conf:
causes round robin selection of nameservers from among those listed. This
has the effect of spreading the query load among all listed servers, rather
than having all clients try the first listed server first every time.
You can enable it with ARES_OPT_ROTATE
2008-11-01 18:35:19 +00:00
Yang Tse
128418b214
Adjust WIN32 freeaddrinfo, getaddrinfo and getnameinfo availability
2008-11-01 17:13:10 +00:00
Yang Tse
050a39a7a5
WIN32 availability of freeaddrinfo, getaddrinfo and getnameinfo functions is quite
...
convoluted, compiler dependant and in some cases even build target dependat.
2008-11-01 16:52:57 +00:00
Gisle Vanem
5f085789b9
init_resolve_thread() needs 'hints' on the native form.
2008-11-01 15:16:47 +00:00
Gisle Vanem
6a8832d83b
Added '#define HAVE_GETADDRINFO'.
2008-11-01 15:03:16 +00:00
Gisle Vanem
fcb498b0d5
Added curl_addrinfo.obj. Rearranged alphabetically.
2008-11-01 15:02:16 +00:00
Gisle Vanem
0433252e50
Fix typos.
2008-11-01 14:51:37 +00:00
Daniel Stenberg
5ce6f37e26
Cleaned up in preparation for release next week. I'd say the remaining bugs
...
risk getting postponed for 7.19.2.
2008-10-31 22:15:40 +00:00
Yang Tse
02fc7bb5f6
fix OOM handling
2008-10-31 14:46:48 +00:00
Yang Tse
9e1294e866
NetWare LIBC target has getaddrinfo() and freeaddrinfo()
2008-10-30 20:17:37 +00:00
Yang Tse
c2c800d863
Move curl_dofreeaddrinfo() and curl_dofreeaddrinfo()
...
implementation from lib/hostip6.c to lib/curl_addrinfo.c
and prototypes from lib/hostip.h to lib/curl_addrinfo.h
2008-10-30 19:02:23 +00:00
Yang Tse
625c107c25
remove bogus whitespace
2008-10-30 18:12:08 +00:00
Yang Tse
33319f5d2d
check for freeaddrinfo() at configuration phase
2008-10-30 17:45:47 +00:00
Yang Tse
ad3c1c37bb
These two variables are now Curl_addrinfo pointers
2008-10-30 16:39:09 +00:00
Yang Tse
005bf19acf
remove bogus comment
2008-10-30 15:13:22 +00:00
Yang Tse
91c77808c4
update aclocal file serial number
2008-10-30 13:50:15 +00:00
Yang Tse
0ce97f77e0
Use our Curl_addrinfo definition even when an addrinfo struct is available.
...
Use a wrapper function to call system's getaddrinfo().
2008-10-30 13:45:25 +00:00
Yang Tse
197ad60d21
remove verification of the freeability of the addrinfo struct pointer members
2008-10-30 12:41:07 +00:00
Dan Fandrich
dc31387c6f
SLOWDOWN actually causes a 0.01 second delay between bytes
2008-10-30 01:44:18 +00:00
Daniel Stenberg
bd64da3785
--ftp-method was added in 7.15.1. This mention ends up a bit oddly formatted
...
but I'm not in the mood to fight nroff right now...
2008-10-29 21:15:24 +00:00
Dan Fandrich
4fef0d4f14
Fixed a bug that caused a few bytes of garbage to be sent after a
...
curl_easy_pause() during a chunky upload. Reported by Steve Roskowski.
2008-10-29 19:06:48 +00:00
Yang Tse
89d6f580dc
fix comment
2008-10-29 01:50:56 +00:00
Yang Tse
23eb74e085
make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDR
...
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME
internal to CHECK_FUNC_GETADDRINFO
2008-10-29 01:45:07 +00:00
Dan Fandrich
9c86097286
Mention more restrictions on timeouts when using signals
2008-10-28 23:48:05 +00:00
Daniel Stenberg
f0bb9c7d8d
added an extra set of braces to unconfuse emacs and then I re-indented a
...
section of the code that was odd-looking previously
2008-10-28 23:34:19 +00:00
Yang Tse
d4514f9c10
fix leftover
2008-10-28 20:07:40 +00:00
Dan Fandrich
c324033ba4
Tweaked the include paths to work in CodeWarrior
2008-10-28 20:05:09 +00:00
Yang Tse
74a16db975
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_canonname member ptr.
2008-10-28 20:03:22 +00:00
Dan Fandrich
a10044e110
Changed the "resolve" test precheck program to verify that an IPv6 socket
...
can be created before resolving the IPv6 name. In the context of running
a test, it doesn't make sense to run an IPv6 test when a host is resolvable
but IPv6 isn't usable. This should fix failures of test 1085 on hosts with
library and DNS support for IPv6 but where actual use of IPv6 has been
administratively disabled.
2008-10-28 20:03:22 +00:00
Dan Fandrich
6cdd067faf
curlx.h isn't a system include file so it gets double quotes
2008-10-28 19:51:04 +00:00
Yang Tse
0989cd358a
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_addr member ptr.
2008-10-28 19:13:25 +00:00
Daniel Stenberg
6e0739931d
Philippe Vaucher pointed out this use of an outdated option name...
2008-10-28 10:21:19 +00:00
Yang Tse
b17ca44f0b
fix test # 558 and 559 CFLAGS
2008-10-28 00:35:08 +00:00
Dan Fandrich
fd6e025d61
Added rawstr.c to some more non-configure curl makefiles
2008-10-27 20:20:22 +00:00
Yang Tse
9230708e47
don't skip tests 558 and 559 on i686 icc autobuilds
2008-10-27 20:09:35 +00:00
Yang Tse
92f3b3895e
test #558 tests internal hash create/destroy
...
test #559 tests internal hash create/add/destroy
2008-10-27 20:01:58 +00:00
Gisle Vanem
fa8a78ff01
Added explicit rule and dependencies for $(OBJ_DIR)\rawstr.obj.
2008-10-27 15:47:59 +00:00
Yang Tse
310d842b70
Skip test #558 when libcurl is built with hidden symbols
2008-10-27 14:02:50 +00:00
Yang Tse
1498de83d6
For tracing purposes log a fake call to getaddrinfo
...
when allocating/building the fake Curl_addrinfo.
2008-10-27 08:20:36 +00:00
Yang Tse
e29f62f0a7
add null-pointer check
2008-10-27 05:29:17 +00:00
Yang Tse
39e5fa6ae8
avoid using Curl_ip2addr(), simply build up a fake Curl_addrinfo
2008-10-27 03:00:47 +00:00
Yang Tse
dc289aa4fa
convert test #558 into something more interesting, attempting
...
now to minimally exercise some internal hash routines.
2008-10-26 21:40:20 +00:00
Yang Tse
6db8f53445
test #558 verifies loop operation using malloc() and free()
2008-10-26 03:03:29 +00:00
Yang Tse
417bac4055
add missing header inclusions
2008-10-25 16:15:21 +00:00
Dan Fandrich
e9c94cdd49
Added experimental support for zlib and OpenSSL on Symbian OS.
2008-10-25 05:41:01 +00:00
Yang Tse
d104216bbe
icc adjustments:
...
Select ANSI C89 dialect plus GNU extensions, again.
2008-10-25 04:18:48 +00:00
Yang Tse
d086fdaf9f
add missing header inclusions
2008-10-25 03:52:21 +00:00
Dan Fandrich
8693afdfea
Stop using in6addr_any because it's not available everywhere (e.g. Symbian)
...
and isn't strictly needed here.
2008-10-24 18:59:51 +00:00
Dan Fandrich
a876161ef9
Added rawstr.c to Symbian curl build
2008-10-24 18:45:00 +00:00
Yang Tse
10035c898b
fix compiler warning
2008-10-24 16:59:35 +00:00
Yang Tse
71edaf4d01
some more temporary magic for the icc seg-fault issue
2008-10-24 12:23:24 +00:00
Yang Tse
2b77d50776
icc permanent adjustment:
...
Select precise floating-point model, otherwise doubles are less than 64-bit wide
icc test adjustment:
Select c89 dialect
2008-10-24 11:27:09 +00:00
Yang Tse
6ea91af2f8
fix compiler warning
2008-10-24 01:27:00 +00:00
Dan Fandrich
b767440399
Added rawstr.c to the non-configure curl makefiles
2008-10-23 17:36:27 +00:00
Dan Fandrich
4174ec7116
Added rawstr.c to the non-configure libcurl makefiles
2008-10-23 17:29:14 +00:00
Yang Tse
068ba17e21
moved some definitions from tftp.h to tftpd.c
2008-10-23 14:34:08 +00:00
Yang Tse
4d10c96aa6
fix compiler warning
2008-10-23 14:07:28 +00:00
Daniel Stenberg
b701ea36a7
moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
...
inclusion by the curl tool without colliding with the curl_strequal functions.
2008-10-23 11:49:19 +00:00
Yang Tse
198fa5e3c7
icc adjustments:
...
Enable more icc warnings.
Optimization disabling options used only for icc 9.1
2008-10-23 10:04:06 +00:00
Yang Tse
507cd13793
Raise message severity up to warning, when strerror_r() exists but
...
configure is unable of finding out if it has glibc-style or POSIX-style,
trying to ensure that this condition does not go unnoticed.
2008-10-23 09:05:22 +00:00
Daniel Stenberg
6c14c96e71
added include to make the krb4 code compile again
2008-10-23 08:06:47 +00:00
Dan Fandrich
976963cd21
Really old gcc doesn't like parenthesis around the names of functions that
...
don't have prototypes. They didn't serve any useful purpose here, anyway.
2008-10-23 08:05:40 +00:00
Dan Fandrich
9391d980c3
Tweaked a few tests to test proper Turkish locale handling
2008-10-23 01:53:27 +00:00
Dan Fandrich
bab5183820
Created Curl_raw_nequal() which does a C-locale string case comparison.
...
Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings that are defined to be
independent of case in the C locale. This should fix a few more
Turkish locale problems.
2008-10-23 01:20:57 +00:00
Yang Tse
0abaf22467
#include <stdlib.h> for exit() prototype
2008-10-23 00:38:23 +00:00
Dan Fandrich
463a8134a1
Updated example sizes and disable key words
2008-10-22 21:36:37 +00:00
Dan Fandrich
d22b2d181f
Fixed a compiler warning with --disable-proxy
2008-10-22 17:36:48 +00:00
Daniel Stenberg
5a9bbf639a
fixed language, added the Solaris _REENTRANT thing
2008-10-22 15:10:56 +00:00
Yang Tse
81e48ada47
For i686 icc autobuilds:
...
Re-enable all tests for debug-enabled builds.
For debug-disabled builds only 8 tests are enabled.
2008-10-22 15:03:15 +00:00
Daniel Stenberg
598bc44f67
removed four issues that had no action at all for the last four weeks or more
2008-10-22 13:34:53 +00:00
Yang Tse
b93f4f623c
some more temporary magic for the icc seg-fault issue
2008-10-22 13:30:09 +00:00
Yang Tse
1054dc5ed1
remove from configure.ac temporary magic for the icc seg-fault issue
2008-10-22 11:10:56 +00:00
Dan Fandrich
7fc4e8af0a
Changed some arrays of char* to arrays of char[] to reduce data size and
...
run-time relocations.
2008-10-22 05:46:29 +00:00
Dan Fandrich
4198bb88b6
Compile away some more code in the CURL_DISABLE_PROXY case.
2008-10-21 23:15:19 +00:00
Yang Tse
db325d1f43
some more temporary magic for the icc seg-fault issue
2008-10-21 17:54:18 +00:00
Dan Fandrich
7ff38c14a9
Fixed some problems with SFTP range support to fix test cases 634 through 637.
2008-10-21 07:10:25 +00:00
Yang Tse
3f2de3d101
Charles Hardin patch:
...
- handles the EINPROGRESS for UDP connects
- uses closesocket instead of close on some paths that were noticed
2008-10-21 01:58:23 +00:00
Yang Tse
6bd91936ff
remove debug-code which zero-filled some structures before free()ing them
2008-10-20 23:24:35 +00:00
Dan Fandrich
035a2e5479
A few prototypes shouldn't be defined if SSL is disabled.
2008-10-20 23:07:48 +00:00
Yang Tse
6983ba3225
*** empty log message ***
2008-10-20 23:05:52 +00:00
Daniel Stenberg
77e028d620
All the coverity.com issues have no been taken care of.
2008-10-20 21:59:36 +00:00
Daniel Stenberg
0bb91218c5
added a NULL pointer check for the name field as it can in fact be NULL when
...
dereferenced here, if the app passes in a funny combo. Detected by coverity.com
2008-10-20 21:56:35 +00:00
Yang Tse
231a51fe7a
some more temporary magic for the icc seg-fault issue
2008-10-20 15:56:08 +00:00
Yang Tse
8d0cbaf8df
messages initially intended only for debug purposes, now become permanent
...
since these are extremely useful when compiler rejects a set of options.
2008-10-19 23:50:18 +00:00
Yang Tse
b843c27322
fix compiler warning
2008-10-19 22:46:54 +00:00
Daniel Stenberg
2688cf343b
Fixed potential memory leak in OOM situations. Detected by coverity.com
2008-10-19 21:00:40 +00:00
Yang Tse
b416b87518
oops
2008-10-19 20:41:03 +00:00
Daniel Stenberg
3f1b9f095a
dumpeasycode() uses warnf() which uses config->errors so we must not close
...
that before dumpeasycode() is called. Found by coverity.com
2008-10-19 20:37:24 +00:00
Daniel Stenberg
8a6eeb82c5
Removed dead code, identified by coverity.com.
2008-10-19 20:28:41 +00:00
Yang Tse
5779283a52
attempt to fix or allow further detection of an elusive icc SIGSEGV
2008-10-19 20:17:16 +00:00
Daniel Stenberg
80d0dcc9a3
clarified an argument's situation due to a false positive alert pointed out
...
by coverity.com
2008-10-19 18:20:47 +00:00
Dan Fandrich
d51ad518c4
Fixed a compiler warning in the CURL_DISABLE_HTTP case
2008-10-19 04:48:15 +00:00
Yang Tse
29ba1730ca
attempt to fix compiler warning relative to potential misaligned data access
2008-10-19 01:02:18 +00:00
Dan Fandrich
183210619d
Removed some more code in the CURL_DISABLE_HTTP case
2008-10-18 01:23:14 +00:00
Dan Fandrich
feff911fb7
Removed a line of dead code (discovered by Coverity)
2008-10-18 01:17:27 +00:00
Dan Fandrich
8eee5f3253
Forgot it's a struct
2008-10-17 22:33:08 +00:00
Dan Fandrich
3e55fef5e1
Fixed a compile error reported by Albert Chin on AIX and IRIX when using
...
GTLS.
2008-10-17 22:23:48 +00:00
Yang Tse
63397e380f
fix compiler warning
2008-10-17 19:04:53 +00:00
Yang Tse
07c3aaeea1
fix missing double-quotes
2008-10-17 17:11:11 +00:00
Yang Tse
8254bbae56
protect against 'use after free' or race condition
2008-10-17 15:29:35 +00:00
Yang Tse
e7886aa9b4
oops ;-)
2008-10-17 13:55:13 +00:00
Yang Tse
fb08868e54
oops
2008-10-17 13:33:13 +00:00
Daniel Stenberg
c141d99059
fix syntax error
2008-10-17 13:23:21 +00:00
Patrick Monnerat
f66e1c49b0
Introduce new options CURLOPT_PROXY{USERNAME, PASSWORD} in OS400 code and RPG binding.
2008-10-17 13:17:41 +00:00
Yang Tse
4acbe8f20c
fix compiler warning
2008-10-17 12:53:53 +00:00
Yang Tse
2ea70a5c73
OOM condition fix
2008-10-17 12:49:02 +00:00
Daniel Stenberg
eb612bfdfc
Charles Hardin made adig support a regular numerical dotted IP address for the
...
-s option as well.
2008-10-17 11:26:36 +00:00
Daniel Stenberg
5e826c78a7
185 - CURLOPT_PROXYUSER etc
...
done!
2008-10-17 08:14:47 +00:00
Daniel Stenberg
a0d906739d
After having studied one of the coverity.com reports at length last night, I
...
decided it was a good idea to properly document my thoughts in a comment near
the code that was identified as a possible flaw. A false positive as far as I
can see.
2008-10-17 06:03:37 +00:00
Yang Tse
98b13037e7
remove some spurious line-endings
2008-10-17 03:59:02 +00:00
Yang Tse
29f09f71b4
portability fix to avoid memory alignment problems
2008-10-17 03:38:36 +00:00
Dan Fandrich
a00b6e258d
Return an error when a proxy option is set when configured with
...
--disable-proxy mode.
Removed some unnecessary prototypes.
2008-10-16 22:56:40 +00:00
Dan Fandrich
7ded272b94
Added missing HTTP proxy and other keywords
2008-10-16 21:34:34 +00:00
Dan Fandrich
1d12b1fa1e
CURLOPT_POST301 => CURLOPT_POSTREDIR
2008-10-16 21:02:38 +00:00
Daniel Stenberg
54582bdce9
don't segfault when NULL is passed in to CURLOPT_USERPWD or
...
CURLOPT_PROXYUSERPWD
2008-10-16 20:43:02 +00:00
Daniel Stenberg
a9a4300a36
- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then
...
make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding
these new options is that they have no problems with the colon separator
that the CURLOPT_PROXYUSERPWD option does.
2008-10-16 20:21:22 +00:00
Daniel Stenberg
f720e0ac0f
compile the library file strequal.c to get the Curl_raw_equal function as
...
that's not exported by the lib
2008-10-16 18:02:46 +00:00
Daniel Stenberg
a8245df745
mention the openssl requirement for the certinfo data
2008-10-16 12:35:47 +00:00
Daniel Stenberg
86c5d02a5e
correct version number for the certinfo addition
2008-10-16 12:29:32 +00:00
Daniel Stenberg
5af597c2fb
Added CURLINFO_CERTINFO
2008-10-16 11:35:19 +00:00
Daniel Stenberg
dd9e0164d5
I renamed the function
2008-10-16 11:04:53 +00:00
Daniel Stenberg
9d16b4081e
Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function
...
used in strequal.c so now all test cases run fine for me again.
2008-10-16 08:23:48 +00:00
Daniel Stenberg
545cafce9b
Curl_ascii_equal() must not assume that the string is actually ASCII (so that a-z
...
are consecutive and with a 0x20 "distance" to the uppercase letter), since we do
support EBCDIC as well. Thus I replaced the macro with a (larger) switch case.
I better change the function name...
2008-10-16 07:59:00 +00:00
Yang Tse
fb66d51796
some more temporary magic for the icc seg-fault issue
2008-10-16 01:45:07 +00:00
Daniel Stenberg
5175664174
fix warning
2008-10-15 21:44:49 +00:00
Daniel Stenberg
a579d67064
- Pascal Terjan filed bug #2154627
...
(http://curl.haxx.se/bug/view.cgi?id=2154627 ) which pointed out that libcurl
uses strcasecmp() in multiple places where it causes failures when the
Turkish locale is used. This is because 'i' and 'I' isn't the same letter so
strcasecmp() on those letters are different in Turkish than in English (or
just about all other languages). I thus introduced a totally new internal
function in libcurl (called Curl_ascii_equal) for doing case insentive
comparisons for english-(ascii?) style strings that thus will make "file"
and "FILE" match even if the Turkish locale is selected.
2008-10-15 21:43:48 +00:00
Yang Tse
be760bed7e
Ensure that shell variable contents which have active meaning
...
to the shell echo command are not interpreted when trying to
remove extra whitespace from shell variable content.
2008-10-15 18:10:02 +00:00
Dan Fandrich
357383159e
A <precheck> command is considered to have failed if it returns a non-zero
...
return code. This way, if the precheck command can't be run at all for
whatever reason, it's treated as a precheck failure which causes the
test to be skipped.
2008-10-15 17:41:02 +00:00
Daniel Stenberg
0ea1c28135
removed the proto as well since the function is now gone
2008-10-15 11:31:39 +00:00
Daniel Stenberg
36e56f36ad
remove Curl_strcasestr() since there is no code at all using this function!
2008-10-15 09:56:34 +00:00
Daniel Stenberg
0a9984c27e
mention his full name
2008-10-15 07:45:51 +00:00
Daniel Stenberg
0ecdcc253b
- John Wilkinson filed bug #2155496
...
(http://curl.haxx.se/bug/view.cgi?id=2155496 ) pointing out an error case
without a proper human-readable error message. When a read callback returns
a too large value (like when trying to return a negative number) it would
trigger and the generic error message then makes the proplem slightly
different to track down. I've added an error message for this now.
2008-10-15 07:43:48 +00:00
Daniel Stenberg
1667890172
credit to John Wilkinson
2008-10-15 07:31:31 +00:00
Dan Fandrich
9b3f863cf5
Added signal-based resolver timeout issue
2008-10-14 23:52:36 +00:00
Yang Tse
2f2ed4e40e
Adjust Watcom C warnings:
...
Disable warnings on structure members padding.
2008-10-14 23:06:39 +00:00
Dan Fandrich
3d582304b6
Failing SFTP range tests cases 634 through 637
2008-10-14 22:04:01 +00:00
Daniel Stenberg
996d45df0a
four additional pending issues
2008-10-14 21:20:04 +00:00
Yang Tse
6047635406
With this change Solaris target builds will now be done with _REENTRANT defined.
2008-10-14 18:44:27 +00:00
Yang Tse
e16bccbb91
attempt to fix compiler warning:
...
`variable' might be clobbered by `longjmp' or `vfork'
2008-10-14 17:35:25 +00:00
Yang Tse
9786e7faeb
Adjust Tiny C basic options:
...
Remove -b from debug-enabled configuration, as Tiny C might have
been built without the memory and bounds checker support.
2008-10-14 15:24:02 +00:00
Yang Tse
fde4b823f1
Adjust GCC warnings:
...
Better disable following warnings when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers:
-Wmissing-declarations
-Wmissing-prototypes
-Wunused
-Wshadow
2008-10-14 14:19:34 +00:00
Daniel Stenberg
b7e71a249e
eeek, append 1 on the right place as otherwise we didn't fix the problem
2008-10-14 09:12:44 +00:00
Yang Tse
bf8d642607
fix syntax error
2008-10-14 04:59:22 +00:00
Yang Tse
1fab40bb69
Initial attempt to detect Watcom C compiler
2008-10-14 04:09:07 +00:00
Yang Tse
ad61b58036
fix compiler warning
2008-10-14 02:35:39 +00:00
Daniel Stenberg
b7722e7037
Prevent the accidental passing along NULL for the cases where the --trace
...
options don't succeed in opening the target file etc. Detected by coverity.com
2008-10-13 22:21:01 +00:00
Daniel Stenberg
6c2167b65f
Prevent an off-by-one in a allocated buffer in glob_match_url() - detected by
...
coverity.com
2008-10-13 21:39:12 +00:00
Daniel Stenberg
18be9882f7
Removed superfluous check of clist->name, as in this code path that pointer
...
has already been dereferenced so it is bound to be valid. Pointed out to us
by coverity.com
2008-10-13 21:03:12 +00:00
Dan Fandrich
a102c2c22b
Don't rely on shell support to run multiple precheck tests
2008-10-13 20:41:02 +00:00
Yang Tse
ae75462254
make naming scheme more consistent across whole file
2008-10-13 19:32:11 +00:00
Yang Tse
3ad956e73f
Adjust GCC warnings:
...
Disable following warnings when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers:
-Wmissing-prototypes
-Wunused
-Wshadow
2008-10-13 17:06:06 +00:00
Yang Tse
d6114165d3
attempt to fix or allow further detection of an elusive icc SIGSEGV
2008-10-13 06:23:42 +00:00
Yang Tse
c3a959cc37
There's no guarantee that a socket was involved at this point, so avoid displaying any error code.
...
And on the other hand a message after setsockopt() certainly must use SOCKERRNO.
2008-10-13 06:16:02 +00:00
Yang Tse
ca70beec47
Adjust GCC --enable-warnings:
...
Do not enable -pedantic when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers.
2008-10-13 00:43:30 +00:00
Yang Tse
758939215d
adjust SGI MIPSpro C detection
2008-10-12 22:52:25 +00:00
Yang Tse
ab861e56f1
LCC compiler adjustments:
...
Highest warning level is double -A, next is single -A.
Due to the big number of warnings these trigger on third
party header files it is impratical for us to use any of
them here. If you want them simply define it in CPPFLAGS.
2008-10-12 16:57:40 +00:00
Dan Fandrich
8eb64ad600
Changed Curl_strlcat to strlcat, which is the one guaranteed to exist
2008-10-12 15:17:15 +00:00
Dan Fandrich
d74d3fe851
Ensure the IPv6 stack is operational before running this test (other tests
...
use the startup of the IPv6 test server as a substitute check for this).
2008-10-12 05:27:26 +00:00
Yang Tse
fefc6a7e6b
remove extra space
2008-10-11 18:04:39 +00:00
Yang Tse
a119114ad7
split SGI compiler check. One for MIPS C and another for MIPSpro C
2008-10-11 16:59:44 +00:00
Yang Tse
430b1a22db
LCC compiler adjustments:
...
Warning level reduced from double -A to single -A
2008-10-11 16:19:35 +00:00
Yang Tse
a754ea1326
fix compiler warning
2008-10-11 15:32:32 +00:00
Yang Tse
2ecf22e37e
fix compiler warning: explicit conversion of a 64-bit integral type to a smaller integral type
2008-10-11 01:56:04 +00:00
Dan Fandrich
9dcd0756ba
Fixed some compiler warnings with CURL_DISABLE_HTTP
2008-10-10 19:10:44 +00:00
Yang Tse
c455254fd1
attempt to fix or allow further detection of an elusive icc SIGSEGV
2008-10-10 17:25:53 +00:00
Patrick Monnerat
bb1f6e6818
_ Adapt OS400 EBCDIC wrappers to new options.
...
_ Update RPG binding accordingly.
_ Fix new options comments.
2008-10-10 15:54:07 +00:00
Yang Tse
0722e91eb9
Initial attempt to detect Tiny C compiler
2008-10-10 10:31:16 +00:00
Yang Tse
c859a6f365
Initial attempt to detect LCC compiler
2008-10-10 10:06:25 +00:00
Yang Tse
ef49850789
1) fix bug in CONVERT_INCLUDE_TO_ISYSTEM
...
2) Disable SGI remark: controlling expression is constant
2008-10-10 09:14:18 +00:00
Yang Tse
4f6f334f41
simplify SGI C compiler check
2008-10-10 05:09:28 +00:00
Dan Fandrich
8cd76d3921
Allow compilation when no IPv6 stack is available.
2008-10-10 03:46:32 +00:00
Yang Tse
885805b5df
move struct namebuf6 declaration out of Curl_ip2addr6()
2008-10-10 03:01:50 +00:00
Yang Tse
d61f260372
HP C adjustments:
...
Due to the HP-UX socklen_t issue it is insane to use the +w1 warning level.
It generates more than 1100 warnings on socklen_t related statements.
Until the issue is somehow fixed we will just use the +w2 warning level.
2008-10-10 02:32:46 +00:00
Yang Tse
d0a48627b2
fix compiler warning
2008-10-10 02:14:46 +00:00
Yang Tse
4b8f13e902
Add debug tracing for COMPILER_WORKS_IFELSE
2008-10-10 00:07:41 +00:00
Dan Fandrich
5b9a57f536
Get rid of some more code in the CURL_DISABLE_HTTP case
2008-10-09 22:14:38 +00:00
Daniel Stenberg
ba9963b8fa
I replaced the use of 'struct tm' with a private clone of that struct simply
...
because the struct is declared on the stack and not all members are used so
we could just as well make struct with only struct members we actually need.
2008-10-09 21:57:51 +00:00
Dan Fandrich
6887106ff7
Fixed a leftover reference to CURLOPT_FTP_SSL (thanks to Carlos Alloatti
...
for spotting it).
2008-10-09 20:03:04 +00:00
Yang Tse
98416a4fab
configure will also warn on 'strict compiler warning' rejected options
2008-10-09 19:55:18 +00:00
Dan Fandrich
fad3288d20
Fixed the --interface option to work with IPv6 connections on glibc
...
systems supporting getifaddrs(). Also fixed a problem where an IPv6
address could be chosen instead of an IPv4 one for --interface when it
involved a name lookup.
2008-10-09 19:23:50 +00:00
Dan Fandrich
5ecff1e4c3
Added HTTP as a required feature
2008-10-09 18:53:17 +00:00
Dan Fandrich
bfeae0b5f5
Update docs now that SFTP supports file ranges.
2008-10-09 18:47:02 +00:00
Yang Tse
1c5336cd57
convert rejected compiler options messages into a warnings
2008-10-09 15:06:20 +00:00
Yang Tse
43c2cf4edb
remove extra whitespace from string in SGI C check
2008-10-09 13:11:10 +00:00
Dan Fandrich
f6d80d66a2
Added tests 633 through 637 to test the new file range support for SFTP.
...
All but the first test cause an infinite loop or other failure and so
are added to DISABLED.
2008-10-09 05:16:06 +00:00
Yang Tse
b2ca0babeb
oops
2008-10-09 03:05:48 +00:00
Yang Tse
ed4ae322f5
Initial attempt to detect SGI C compiler
2008-10-09 03:02:25 +00:00
Yang Tse
4f924ab07e
HP C adjustments:
...
Disallow run-time dereferencing of null pointers.
Disable some remarks:
#4227 : padding struct with n bytes to align member.
#4255 : padding size of struct with n bytes to alignment boundary.
2008-10-09 00:50:50 +00:00
Yang Tse
ebadeff0ca
fix compiler warning: zero used for undefined preprocessing identifier
2008-10-09 00:07:56 +00:00
Daniel Stenberg
830018aa38
- Bug #2152270 ( http://curl.haxx.se/bug/view.cgi?id=2152270 ) identified and
...
fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing:
Any subsequent transfer with a redirect leaks memory, eventually crashing
the process potentially.
Any subsequent transfer WITHOUT a redirect causes the most recent redirect
that DID occur on some previous transfer to still be reported.
2008-10-08 22:01:23 +00:00
Dan Fandrich
8dfddd279b
Added tests 1082 through 1085 to test symbolic --interface parameters
2008-10-08 21:46:55 +00:00
Daniel Stenberg
544f2f74df
- Igor filed bug #2111613 ( http://curl.haxx.se/bug/view.cgi?id=2111613 ) that
...
eventually identified a flaw in how the multi_socket interface in some cases
missed to call the timeout callback when easy interfaces are removed and
added within the same millisecond.
2008-10-08 21:42:29 +00:00
Dan Fandrich
450348d6bd
Fixed a memory leak in the new CURLOPT_USERPWD handling
2008-10-08 20:14:46 +00:00
Yang Tse
5928ea9c7a
improve presentation of accepted/rejected debug/optimizer options
2008-10-08 19:38:01 +00:00
Yang Tse
4754880099
fix missing null-pointer check
2008-10-08 18:32:06 +00:00
Yang Tse
1fea66e527
refactoring of COMPILER_BASIC_OPTS
2008-10-08 16:12:10 +00:00
Daniel Stenberg
806a3163ba
179 - "[PATCH] Colon in username"
...
was committed just now!
2008-10-08 10:40:51 +00:00
Daniel Stenberg
08cf6780ba
- Igor Novoseltsev brought a patch that introduced two new options to
...
curl_easy_setopt: CURLOPT_USERNAME and CURLOPT_PASSWORD that sort of
deprecates the good old CURLOPT_USERPWD since they allow applications to set
the user name and password independently and perhaps more importantly allow
both to contain colon(s) which CURLOPT_USERPWD doesn't fully support.
2008-10-08 10:39:43 +00:00
Yang Tse
6814907a2c
Initial attempt to detect SUN C compiler
2008-10-08 03:50:45 +00:00
Dan Fandrich
11a8a25528
Created test cases 1080 and 1081 to reproduce a problem of
...
CURLINFO_REDIRECT_URL leaking memory and returning incorrect results when
two URLs are requested. Reported by vmpdemo in bug #2152270
2008-10-08 03:32:10 +00:00
Yang Tse
1b246eecfe
Initial attempt to detect HP C compiler
2008-10-08 02:29:13 +00:00
Dan Fandrich
95456b8e78
Added const to some pointer variables
2008-10-08 01:17:51 +00:00
Dan Fandrich
79fc481a2b
Split off Curl_isxdigit function
2008-10-07 23:20:06 +00:00
Dan Fandrich
b9ce871463
Changed the handling of read/write errors in Curl_perform() to allow a
...
a fresh connection to be made in such cases and the request retransmitted.
This should fix test case 160. Added test case 1079 in an attempt to
test a similar connection dropping scenario, but as a race condition, it's
hard to test reliably.
2008-10-07 23:15:02 +00:00
Daniel Stenberg
0bd78e1cd8
mention the other sf.net bug which does have a sort of fix mentioned
2008-10-07 22:53:33 +00:00
Daniel Stenberg
d27f2d8168
some additional classification of the entries
2008-10-07 22:49:11 +00:00
Daniel Stenberg
407f3f142a
One fix for CURLINFO_PRIMARY_IP just went in which addressed at least one of
...
the concerns mentioned for 174 and the other guy hasn't returned so I remove
the entry from here now.
2008-10-07 22:13:34 +00:00
Daniel Stenberg
61cfbecc74
- Fixed CURLINFO_PRIMARY_IP: When libcurl created a connection to host A then
...
the app re-used the handle to do a connection to host B and then again
re-used the handle to host A, it would not update the info with host A's IP
address (due to the connection being re-used) but it would instead report
the info from host B.
2008-10-07 21:56:56 +00:00
Dan Fandrich
feeabd08ab
Document how to disable tests when certain --disable-* flags are used.
2008-10-07 20:28:25 +00:00
Yang Tse
31a3432a8e
fix compiler warning: 'dot_4' may be used uninitialized in this function
2008-10-07 18:44:32 +00:00
Yang Tse
27db045095
fix compiler warning: dereferencing type-punned pointer will break strict-aliasing rules
2008-10-07 18:28:24 +00:00
Daniel Stenberg
db8c75f08d
oops, counted one of them twice!
2008-10-07 18:14:11 +00:00
Daniel Stenberg
beaada77e6
two more bindings
2008-10-07 18:10:16 +00:00
Yang Tse
aefab9293a
adjust ICC_windows settings
2008-10-07 17:37:25 +00:00
Yang Tse
a6d9310888
fix VAR_STRIP
2008-10-07 16:53:46 +00:00
Yang Tse
bfc09ac211
Sync up with reality
2008-10-07 13:34:59 +00:00
Yang Tse
d930280af5
Initial attempt to support configure's --(dis|en)able-optimize
...
option to specify dis(activation) of compiler optimizations.
If option is specified, it will be honored independant of the
--(dis|en)able-debug option.
2008-10-07 13:13:34 +00:00
Yang Tse
445e4a9792
revert change introduced in tftpd.c revision 1.44
2008-10-03 03:42:44 +00:00
Yang Tse
aec761916e
fix another error introduced in previously mentioned commit
2008-10-03 02:25:52 +00:00
Yang Tse
7d750d2b92
fix error introduced in previous commit
2008-10-03 00:35:22 +00:00
Yang Tse
bdf1724412
take 2 at fixing compiler warning: argument might be clobbered by longjmp' or vfork'
2008-10-02 22:58:09 +00:00
Yang Tse
9cea2dfb8f
fix compiler warning: dereferencing type-punned pointer will break strict-aliasing rules
2008-10-02 14:44:18 +00:00
Yang Tse
00dec36c72
fix compiler warning: variable' might be clobbered by longjmp' or `vfork'
2008-10-02 14:42:57 +00:00
Yang Tse
26a651f7ae
fix compiler warning: variable' might be clobbered by longjmp' or `vfork'
2008-10-02 13:28:10 +00:00
Yang Tse
b64f0dace3
fix comment
2008-10-02 04:27:42 +00:00
Yang Tse
a7b95cacb6
debug option check must be before warnings option check
2008-10-02 04:17:36 +00:00
Yang Tse
ac0e0351a0
runtests.pl enables picky compiler warnings unless explicitly disabled
2008-10-02 03:59:25 +00:00
Yang Tse
2245ac2f88
Initial attempt to support configure's --(dis|en)able-warnings
...
option to specify dis(activation) of picky compiler warnings.
If option is specified, it will be honored independant of the
--(dis|en)able-debug option.
If option is not specified, it will follow --(dis|en)able-debug
setting, whose default is disabled if not specified.
2008-10-02 03:56:55 +00:00
Dan Fandrich
1bfaf76dd0
"make clean" now cleans out the docs and tests directories, too.
2008-10-01 18:29:13 +00:00
Dan Fandrich
88513d2d1a
Fixed some compiler warnings with gcc
2008-10-01 17:34:24 +00:00
Yang Tse
91bc396178
remove unnecessary typecast, otherwise triggering compiler warning:
...
dereferencing type-punned pointer will break strict-aliasing rules
2008-09-30 18:59:02 +00:00
Dan Fandrich
d3fdbe48ae
Added "HTTP proxy" keyword
2008-09-30 17:18:27 +00:00
Yang Tse
2c086105b1
fix compiler warning: dereferencing type-punned pointer will break strict-aliasing rules
2008-09-30 17:04:05 +00:00
Yang Tse
aed98c5125
fix compiler warning: declaration of 'err' shadows a previous local
2008-09-30 15:10:27 +00:00
Yang Tse
2d77f7cd48
fix compiler warning: function declaration isn't a prototype
2008-09-30 15:06:03 +00:00
Patrick Monnerat
d5affe1ada
Include latest parameter definitions in ILE/RPG bindings
2008-09-30 14:51:28 +00:00
Yang Tse
d61688923d
fix compiler warning: enumerated type mixed with another type
2008-09-30 12:50:52 +00:00
Yang Tse
4aee6822ca
now compiler warnings are activated for all gcc builds, not only debug ones.
2008-09-30 12:39:54 +00:00
Daniel Stenberg
038542ea3e
- The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZE
...
gets a 550 response back for the cases where a download (or NOBODY) is
wanted. It still allows a 550 as response if the SIZE is used as part of an
upload process (like if resuming an upload is requested and the file isn't
there before the upload). I also modified the FTP test server and a few test
cases accordingly to match this modified behavior.
2008-09-30 09:51:58 +00:00
Yang Tse
beb14ca6d6
Use CFLAGS for icc linker options instead of LDFLAGS,
...
otherwise gethostbyname() is not detected.
2008-09-30 02:59:35 +00:00
Dan Fandrich
4114129ac0
Fixed a couple of compile warnings.
2008-09-29 23:45:43 +00:00
Dan Fandrich
6d24719167
Made the month days table static const
2008-09-29 23:22:41 +00:00
Dan Fandrich
2393c94363
Fixed a compile problem with --disable-proxy
2008-09-29 22:45:25 +00:00
Dan Fandrich
372203f1fa
Added "HTTP proxy" and "proxytunnel" keywords where applicable
2008-09-29 22:44:04 +00:00
Daniel Stenberg
691468174b
177 - "[Patch] Disable proxy support" was applied
2008-09-29 21:49:31 +00:00
Daniel Stenberg
6f8d439717
spell!
2008-09-29 21:49:10 +00:00
Daniel Stenberg
f3ab5d5500
- Daniel Egger provided a patch that allows you to disable proxy support in
...
libcurl to somewhat reduce the size of the binary. Run configure
--disable-proxy.
2008-09-29 21:46:04 +00:00
Dan Fandrich
8f467b4288
Removed unneeded includes of signal.h and setjmp.h
2008-09-29 21:44:50 +00:00
Dan Fandrich
4adcf7e9ed
Moved all signal-based name resolution timeout handling into a single new
...
Curl_resolv_timeout function to reduce coupling.
2008-09-29 21:02:22 +00:00
Yang Tse
9f8c40ed78
use ac_cv_compiler and ac_cv_compiler_num to keep compiler ID and version number
2008-09-29 19:14:52 +00:00
Yang Tse
cda9d7e579
Temporary icc adjustment:
...
Disable floating point optimizations
2008-09-29 16:09:31 +00:00
Daniel Stenberg
c27d2d4b93
- Ian Lynagh provided a patch that now makes CURLOPT_RANGE work fine for SFTP
...
downloads!
2008-09-29 13:21:21 +00:00
Daniel Stenberg
003afef541
175 - "No info on REDIRECT_URL in multi-mode" by Max Ivanov is fixed!
2008-09-29 13:16:16 +00:00
Daniel Stenberg
09bbca2f61
credit Maxim Ivanov
2008-09-29 12:36:47 +00:00
Daniel Stenberg
0a305eb79f
- Bug #2107803 ( http://curl.haxx.se/bug/view.cgi?id=2107803 ) "no
...
CURLINFO_REDIRECT_URL in multi mode" also contained a patch that fixed the
problem.
2008-09-29 12:22:10 +00:00
Daniel Stenberg
aff5408633
made Curl_read_plain() return an 'int' instead of CURLcode since it actually
...
returns -1 in EAGAIN cases and that's not valid CURLcode
2008-09-29 11:13:37 +00:00
Daniel Stenberg
31626d4c6f
three more patches in the pipe
2008-09-29 06:07:20 +00:00
Dan Fandrich
426ec2d399
Fixed a few comment typos
2008-09-26 19:55:12 +00:00
Yang Tse
a632f6d5b1
if a test execution is aborted due to a signal, and the process
...
returns no other exitcode, use 2000 + signal number as return code
2008-09-26 18:56:56 +00:00
Yang Tse
83c199bb00
siginterrupt, signal and sigsetjmp checks
2008-09-26 18:28:32 +00:00
Daniel Stenberg
2ec6d08613
more
2008-09-26 18:17:01 +00:00
Yang Tse
42271ad463
use shift right. Division result is not integral.
2008-09-26 14:08:33 +00:00
Yang Tse
57ee847ce7
Avoid the use of the '? :' operator inside the call to our
...
test-server logging function. It doesn't work on some systems.
2008-09-26 11:21:22 +00:00
Yang Tse
985bd18904
attempt to avoid HTTP server startup misdetection on some systems
2008-09-26 01:08:24 +00:00
Yang Tse
2d1f798d14
fix potential buffer overflow in test-server logging function
2008-09-26 00:17:01 +00:00
Daniel Stenberg
9e9f70a693
give proper credit!
2008-09-25 22:35:57 +00:00
Daniel Stenberg
1b9d311b5c
- Fixed the HTTP Digest auth code to not behave badly when getting a blank realm
...
with realm="". http://curl.haxx.se/bug/view.cgi?id=2126435
2008-09-25 14:09:22 +00:00
Yang Tse
4d437416da
HAVE_INET_PTON will only be defined when an IPv6 capable working
...
inet_pton function is available.
2008-09-24 19:13:01 +00:00
Yang Tse
267b942383
configure script now checks availability of the inet_ntop() function,
...
and when not crosscompiling verifies if it is IPv6 capable.
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
2008-09-24 16:43:40 +00:00
Yang Tse
142cb601f8
HAVE_INET_NTOP will only be defined when an IPv6 capable working
...
inet_ntop function is available.
2008-09-24 16:43:12 +00:00
Yang Tse
21b523fcd3
Official OpenSSL released versions up to and including 0.9.8i as well as
...
2008-09-24 stable snapshot have a buf_mem_st.length structure member with
'int' data type.
OpenSSL un-released 0.9.9 CVS version has a buf_mem_st.length structure member
with 'size_t' data type since 2007-Oct-09.
These 4 typecasts should silence compiler warnings in all cases.
2008-09-24 13:55:23 +00:00
Yang Tse
006cab3e9e
temporarily enable CURL_CHECK_FUNC_INET_NTOA_R
2008-09-24 12:38:11 +00:00
Yang Tse
4e909ee8b1
ntoa() and inet_ntoa_r() no longer used
2008-09-24 12:22:16 +00:00
Daniel Stenberg
95df5d042c
4.16 My HTTP POST or PUT requests are slow!
2008-09-24 07:50:46 +00:00
Daniel Stenberg
22059858fe
Added "5.14 Using C++ non-static functions for callbacks?"
2008-09-24 07:39:42 +00:00
Yang Tse
82107a02f5
Re-enable test #100 on i686 icc autobuilds
2008-09-24 01:29:23 +00:00
Dan Fandrich
515893595d
Make sure not to dereference the wrong UrlState proto union member when
...
switching from one protocol to another in a single request (e.g.
redirecting from HTTP to FTP as in test 1055) by resetting
state.expect100header before every request.
2008-09-24 01:08:01 +00:00
Yang Tse
3800be3898
Remove usage of inet_ntoa and inet_ntoa_r
2008-09-23 19:17:19 +00:00
Yang Tse
c9ad952604
Replace inet_ntoa and inet_ntoa_r with Curl_inet_ntop
2008-09-23 19:16:56 +00:00
Gisle Vanem
2a09ffc648
Avoid 'warning: comparison between signed and unsigned'.
2008-09-23 13:16:36 +00:00
Daniel Stenberg
821d8fee3b
172 was applied, 173 is now being discussed
2008-09-23 11:31:57 +00:00
Daniel Stenberg
42224594b6
remove the entire comment now when we no longer set TZ
2008-09-23 11:02:56 +00:00
Daniel Stenberg
d369a2b775
- Introducing Jamie Lokier's function for date to epoch conversion used in the
...
date parser function. This makes our function less dependent on system-
provided functions and instead we do all the magic ourselves. We also no
longer depend on the TZ environment variable.
2008-09-23 11:00:01 +00:00
Daniel Stenberg
a5f4cfc612
issue #171 is now in CVS
2008-09-23 10:27:41 +00:00
Daniel Stenberg
23e5402bec
- Rob Crittenden brought a patch to "add some locking for thread-safety to NSS
...
implementation".
2008-09-23 10:27:04 +00:00
Daniel Stenberg
391e8afd1f
- Made the SOCKS code use the new Curl_read_plain() function to fix the bug
...
Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html
- recv() errors other than those equal to EAGAIN now cause proper
CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now
disabled it until we can figure out another way to exercise that logic.
2008-09-22 23:12:00 +00:00
Daniel Stenberg
eff2c3a621
removed issue #162 as mentioned on the mailing list http://curl.haxx.se/mail/archive-2008-09/0086.html
2008-09-22 22:27:43 +00:00
Daniel Stenberg
de48e4e4df
better description
2008-09-22 21:33:18 +00:00
Daniel Stenberg
c4a694862c
- Michael Goffioul filed bug report #2107377 "Problem with mutli + GnuTLS +
...
proxy" (http://curl.haxx.se/bug/view.cgi?id=2107377 ) that showed how a multi
interface using program didn't work when built with GnuTLS and a CONNECT
request was done over a proxy (basically test 502 over a proxy to a HTTPS
site). It turned out the ssl connect function would get called twice which
caused the second call to fail.
2008-09-22 20:42:13 +00:00
Yang Tse
1e076a4ae0
Re-enable tests #1 on i686 icc autobuilds
2008-09-22 18:55:42 +00:00
Yang Tse
188311863a
icc adjustments for icc 9.0 and prior versions:
...
Disable remark #279 : controlling expression is constant
Remark triggered mostly on va_arg() and FD_ZERO() macros.
2008-09-22 18:42:48 +00:00
Dan Fandrich
0eb083e979
Argument to CURLMOPT_MAXCONNECTS must be a long
2008-09-22 17:27:24 +00:00
Dan Fandrich
abe61b9926
Fixed test 539 to handle an out of memory condition that shows up now
...
that memdebug.h is included in the test programs.
2008-09-22 17:20:29 +00:00
Yang Tse
54e49d10d2
attempt to make work the gethostname function
...
check for winsock build target configurations
2008-09-22 00:44:10 +00:00
Daniel Stenberg
ef75829878
#175 has a patch
2008-09-21 22:20:59 +00:00
Daniel Stenberg
a19341b57a
three new topics to check out
2008-09-21 21:36:13 +00:00
Gisle Vanem
c9549391d1
Added HAVE_NETDB_H, HAVE_ARPA_INET_H, HAVE_STRCASECMP
...
and HAVE_STRNCASECMP.
2008-09-21 13:03:07 +00:00
Yang Tse
2b767161da
fix compiler warning: defined but not used
2008-09-21 04:02:13 +00:00
Yang Tse
7c9631081d
fix compiler warning: external declaration in primary source file
2008-09-21 03:48:25 +00:00
Yang Tse
b6f29bef06
fix compiler warning: defined but not used
2008-09-21 02:35:20 +00:00
Yang Tse
6abbbaad1b
fix regression in configure script which affected OpenSSL builds on MSYS
2008-09-20 12:44:44 +00:00
Yang Tse
fe5f448015
fix compiler warning: external definition with no prior declaration
2008-09-20 12:33:02 +00:00
Yang Tse
7beb473a3d
include "memdebug.h"
2008-09-20 04:26:55 +00:00
Yang Tse
19bc92289d
HAVE_ALARM definition for static config-*.h files
2008-09-19 23:51:16 +00:00
Yang Tse
4e4f6c1ec8
configure script now checks availability of the alarm() function
2008-09-19 18:39:24 +00:00
Dan Fandrich
459e67b2a7
Only define alarmfunc when signals are used
2008-09-19 17:46:59 +00:00
Yang Tse
51ba24991c
icc adjustments:
...
Disable remark #981 : operands are evaluated in unspecified order
Function calls which are triggering this remark, today, do not depend
on the order of evaluation of its arguments.
Disable remark #1469 : "cc" clobber ignored
Remark triggered on htons() and ntohs() due to glibc header files.
2008-09-19 15:59:28 +00:00
Dan Fandrich
dfa0fd5b33
Don't bother to install a SIGALRM handler unless alarm() is available.
...
Also, leave the existing SIGALRM handler alone if the timeout is too small
to handle.
2008-09-19 00:43:51 +00:00
Yang Tse
f7ef60c13f
fix compiler warning: external definition with no prior declaration
2008-09-18 19:17:28 +00:00
Yang Tse
8b2bfa4212
fix compiler warning: external definition with no prior declaration
2008-09-18 19:02:40 +00:00
Yang Tse
a6c915aab9
fix compiler warning: external declaration in primary source file
2008-09-18 16:21:09 +00:00
Yang Tse
a8323cc3f5
icc adjustments
2008-09-18 13:56:56 +00:00
Yang Tse
aa29735868
sync up with reality
2008-09-18 11:35:59 +00:00
Yang Tse
a059e9241e
fix false negative strerror_r detection
2008-09-18 11:21:55 +00:00
Yang Tse
acd637160f
fix wrong number used in comparison
2008-09-18 10:12:16 +00:00
Yang Tse
ddb2783f9a
fix wrong variable used in comparison
2008-09-18 10:07:52 +00:00
Yang Tse
8fa895d65e
fix netdb.h prerequisite inclusion
2008-09-18 02:23:33 +00:00
Dan Fandrich
33b658a341
Fixed a syntax error
2008-09-17 17:36:58 +00:00
Dan Fandrich
df725aade2
Removed reference to curl-ca-bundle.crt in the host verification failure
...
error message.
2008-09-17 17:33:23 +00:00
Yang Tse
d84440d53b
improve detection of gethostbyaddr_r() and gethostbyname_r()
2008-09-17 16:03:49 +00:00
Yang Tse
0c1ae21c11
improve detection of getservbyport_r()
2008-09-17 11:31:37 +00:00
Yang Tse
f30959c6bd
On Linux Intel's icc uses gcc's header files, so
...
we select ANSI C89 dialect plus GNU extensions.
2008-09-17 09:37:41 +00:00
Yang Tse
d7e406e020
improve detection of gethostname(), localtime_r() and strstr()
2008-09-17 08:14:28 +00:00
Yang Tse
638e3c070c
improve detection of gethostname()
2008-09-17 08:14:00 +00:00
Yang Tse
07aeac37fd
NetWare builds include "nameser.h" from the c-ares subdir
2008-09-17 06:59:31 +00:00
Yang Tse
6ec76e7f9a
include <strings.h>
2008-09-17 03:25:52 +00:00
Yang Tse
cb9951dcad
sync up with reality
2008-09-17 01:45:16 +00:00
Yang Tse
0776701396
Sync up with reality
2008-09-17 01:33:43 +00:00
Yang Tse
39de6c784c
adjust inclusion of "nameser.h"
2008-09-17 01:02:57 +00:00
Yang Tse
e5c4482088
reorder some lines in file
2008-09-17 00:07:49 +00:00
Yang Tse
975c171d5a
code cleanup
2008-09-16 18:43:25 +00:00
Yang Tse
7d7f63059a
NetWare seems to have writev()
2008-09-16 18:23:16 +00:00
Yang Tse
8c6c0a7bcc
NetWare seems to have writev()
2008-09-16 18:18:14 +00:00
Yang Tse
aa41743ebd
rearrange to allow internal/private use of ares_writev to any system
...
that lacks the writev function.
2008-09-16 16:42:48 +00:00
Yang Tse
ee5f13cb6b
NetWare CLIB target has stricmp() and strnicmp()
2008-09-16 01:21:04 +00:00
Dan Fandrich
974145f61c
Changed the test data file so it passes an XML syntax check
2008-09-15 22:35:09 +00:00
Dan Fandrich
849318138e
Note that the long long issue is fixed in Symbian OS 9.4
2008-09-15 18:24:23 +00:00
Yang Tse
6a04c0878b
NetWare CLIB target has stricmp() and strnicmp()
2008-09-15 17:31:34 +00:00
Yang Tse
db80e18308
include header file only when available
2008-09-15 17:14:29 +00:00
Yang Tse
3081207a4c
remove debug tracing
2008-09-15 15:32:53 +00:00
Yang Tse
8085c7a450
rearrange to allow internal/private use of ares_strcasecmp to any system that
...
lacks the strcasecmp function.
2008-09-15 15:28:26 +00:00
Yang Tse
842de91168
HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32
2008-09-15 14:57:56 +00:00
Yang Tse
4c621bc697
improve detection of:
...
strcasecmp()
strcasestr()
strcmpi()
stricmp()
strlcat()
strncasecmp()
strncmpi()
strnicmp()
2008-09-15 00:32:08 +00:00
Yang Tse
938458b330
improve detection of:
...
strcasecmp()
strcmpi()
stricmp()
strncasecmp()
strncmpi()
strnicmp()
2008-09-15 00:31:42 +00:00
Yang Tse
651dad0cc1
fix compiler warning: external declaration in primary source file
2008-09-13 16:37:16 +00:00
Yang Tse
f591ab3ba0
fix compiler warning: defined but not used
2008-09-13 15:59:14 +00:00
Yang Tse
09aa4cf2ca
fix compiler warning: external declaration in primary source file
2008-09-13 03:55:21 +00:00
Yang Tse
61c0bdb09c
fix compiler warning: external declaration in primary source file
2008-09-13 03:49:33 +00:00
Yang Tse
89367d47a8
Disable tracking of fdopen() calls in the low-level memory leak tracking
...
code when fdopen() is not available, to avoid compiler error.
2008-09-13 03:45:03 +00:00
Yang Tse
7fdfd938e0
remove dead code portion inoperative long time ago
2008-09-13 01:54:45 +00:00
Yang Tse
e526b5ffeb
*** empty log message ***
2008-09-13 01:35:15 +00:00
Yang Tse
adb974960d
fix compiler warning: enumerated type mixed with another type
2008-09-13 01:12:07 +00:00
Gisle Vanem
2acc92828f
djgpp does have strdup().
2008-09-12 14:13:36 +00:00
Yang Tse
a1d1f43e6a
sync with reality
2008-09-12 11:19:54 +00:00
Yang Tse
aac739ccd2
ANSI C compatibility adjustment
2008-09-12 11:18:17 +00:00
Yang Tse
c3d1b07c45
ensure that errno is not modified inside Curl_strerror()
2008-09-12 10:51:57 +00:00
Yang Tse
77bafd823b
also check for an 'unsigned int' for third argument of strerror_r()
2008-09-12 10:47:02 +00:00
Yang Tse
624b5f228b
improve detection of strerror_r()
2008-09-12 07:38:44 +00:00
Yang Tse
6d233becf0
change CRLF into LF line endings
2008-09-12 05:08:18 +00:00
Yang Tse
2bcd13aaee
ANSI C compatibility fix
2008-09-12 03:24:27 +00:00
Yang Tse
20723cb792
add some debug tracing
2008-09-12 01:42:07 +00:00
Yang Tse
b93ad10fa5
improve detection of fdopen() and strerror_r()
2008-09-12 01:16:26 +00:00
Yang Tse
28e2007767
do not check if gmtime_r usage is allowed when a previous check has failed
2008-09-11 04:15:43 +00:00
Yang Tse
802f1e4406
strdup() clone for systems/configurations which lack it
2008-09-11 04:02:49 +00:00
Yang Tse
a37cc6cb08
move inclusion of ares_private.h last
2008-09-11 03:46:47 +00:00
Dan Fandrich
6cea51585f
Checked in some code improvements and minor fixes that I discovered in the
...
FreeBSD ports system.
2008-09-10 20:05:45 +00:00
Yang Tse
fce9c3a9f1
improve detection of strdup() and ftruncate()
2008-09-10 19:26:30 +00:00
Yang Tse
969903ebf2
improve detection of sigaction() and strtok_r()
2008-09-10 19:03:00 +00:00
Yang Tse
7b3f86152a
icc adjustments
2008-09-10 17:35:22 +00:00
Yang Tse
ea1362a936
improve detection of gmtime_r() and strtoll()
2008-09-10 17:33:15 +00:00
Dan Fandrich
f62a5b83a9
#170 is done
2008-09-10 16:37:16 +00:00
Yang Tse
a834b98232
fix compiler warning
2008-09-10 13:39:35 +00:00
Dan Fandrich
152cf6325d
Checked in some grammatical and minor other fixes in the documentation and
...
examples that I found in the FreeBSD ports system.
2008-09-10 07:11:45 +00:00
Dan Fandrich
c98ab69cc7
Factored out Curl_isalnum
2008-09-09 21:15:50 +00:00
Dan Fandrich
f7cce15156
Mike Revi discovered some swapped speed switches documented in the curl man
...
page.
2008-09-09 18:45:52 +00:00
Yang Tse
3072c5b8a1
icc adjustments
2008-09-09 12:19:16 +00:00
Dan Fandrich
ac1ab03cb0
Hammer home the fact that "multi interface" != "multi-threaded"
2008-09-09 05:39:59 +00:00
Yang Tse
2ef72f7abb
fix compiler warning
2008-09-08 19:34:58 +00:00
Yang Tse
eae27d1788
Disable all tests on i686 icc autobuilds to inspect build messages
2008-09-08 16:50:04 +00:00
Yang Tse
a3787eff19
Select strict ANSI C89 conformance for icc
2008-09-08 16:48:58 +00:00
Daniel Stenberg
836d945ece
Removed: 166 167
...
Added : 172
2008-09-08 12:49:23 +00:00
Daniel Stenberg
2816902f0e
Dmitry Kurochkin fixed pipelining over proxy using the multi interface
2008-09-08 12:15:09 +00:00
Daniel Stenberg
f72a26d340
- Stefan Krause pointed out that libcurl would wrongly send away cookies to
...
sites in cases where the cookie clearly has a very old expiry date. The
condition was simply that libcurl's date parser would fail to convert the
date and it would then count as a (timed-based) match. Starting now, a
missed date due to an unsupported date format or date range will now cause
the cookie to not match.
2008-09-08 11:36:19 +00:00
Daniel Stenberg
387521bb6d
comment < 80 columns
2008-09-08 07:39:05 +00:00
Daniel Stenberg
a4da82a43b
171 - [PATCH] add some locking for thread-safety to NSS implementation
2008-09-08 07:37:57 +00:00
Daniel Stenberg
bc90fefb5b
SOCKS5_RESOLVE_LOCAL was just never added as an option!
2008-09-07 21:33:50 +00:00
Dan Fandrich
c3d871aef4
Added HTTP 1.0 downgrade tests with proxies
2008-09-06 18:24:04 +00:00
Yang Tse
59e378f48f
remove unnecessary typecasting of malloc()
2008-09-06 05:29:05 +00:00
Yang Tse
a622fd90b4
remove unnecessary typecasting of calloc()
2008-09-06 04:47:14 +00:00
Yang Tse
861b647e7b
remove unnecessary typecasting of realloc()
2008-09-06 04:28:43 +00:00
Dan Fandrich
70e57dad88
Only compile Curl_ssl_free_certinfo when SSL is enabled
2008-09-05 18:35:29 +00:00
Dan Fandrich
91ff938035
Improved the logic the decides whether to use HTTP 1.1 features or not in a
...
request.
Detect cases where an upload must be sent chunked and the server supports
only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
2008-09-05 17:58:53 +00:00
Dan Fandrich
3acd1146f9
Use realloc when paused in Curl_client_write
2008-09-05 17:21:54 +00:00
Daniel Stenberg
45d3bfff28
Removed after commit:
...
158 - Martin Drasar's CURLOPT_POSTREDIR work:
http://curl.haxx.se/mail/lib-2008-08/0170.html
2008-09-05 16:14:51 +00:00
Daniel Stenberg
18110b519c
- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames
...
CURLOPT_POST301 (but adds a define for backwards compatibility for you who
don't define CURL_NO_OLDIES). This option allows you to now also change the
libcurl behavior for a HTTP response 302 after a POST to not use GET in the
subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the
patch somewhat before commit. The curl tool got a matching --post302
option. Test case 1076 was added to verify this.
2008-09-05 16:13:20 +00:00
Daniel Stenberg
4c9768565e
- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By
...
enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS
or FTPS), libcurl will gather lots of server certificate info and that info
can then get extracted by a client after the request has completed with
curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing
helped me test and smoothen out this feature.
Unfortunately, this feature currently only works with libcurl built to use
OpenSSL.
This feature was sponsored by networking4all.com - thanks!
2008-09-05 14:29:21 +00:00
Daniel Stenberg
873e734c39
- Dmitriy Sergeyev pointed out that curl_easy_pause() didn't unpause properly
...
during certain conditions. I also changed this code to use realloc() based
on Daniel Fandrich's suggestion.
2008-09-05 09:37:37 +00:00
Daniel Stenberg
747e0c657d
five new recent issues to deal with
2008-09-05 09:32:51 +00:00
Daniel Stenberg
780f13db30
Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two
...
new date strings to get tested too.
2008-09-05 08:15:21 +00:00
Yang Tse
62519bfe05
somewhat protect Mac OS X users from using Mac OS 9 config file
2008-09-05 01:27:24 +00:00
Yang Tse
29f7f468ce
sync with reality
2008-09-05 00:16:35 +00:00
Gunter Knauf
9c36a5fd06
fixed largefile feature for MingW32 non-configure builds.
2008-09-04 22:04:53 +00:00
Gunter Knauf
4558c8f37a
enabled largefile feature for LIBC builds.
2008-09-04 22:01:19 +00:00
Dan Fandrich
bb67388bbe
Made some variables const
2008-09-04 19:43:35 +00:00
Yang Tse
3dcd2b82c4
fix print formatting string directives
2008-09-04 18:59:05 +00:00
Yang Tse
c0f3e32447
remove duplicate va_start() call
2008-09-04 14:57:03 +00:00
Yang Tse
8733e087d7
fix print formatting string directives
2008-09-04 05:29:10 +00:00
Marty Kuhrt
9f9e577640
sync curlmsg* with curl.h for 7.19.0
2008-09-03 20:51:36 +00:00
Dan Fandrich
9813cea1d0
Fixed curl-config when no features are enabled.
2008-09-03 19:10:48 +00:00
Dan Fandrich
304537c24f
Search for the FreeBSD CA cert file /usr/local/share/certs/ca-root.crt
2008-09-03 18:04:47 +00:00
Yang Tse
cc0054a4d5
remove extra semicolon from curl-config.in
2008-09-03 11:17:20 +00:00
Dan Fandrich
29ec219b82
Fixed an out of memory problem that caused torture test failures in tests
...
706 and 707.
2008-09-02 23:12:00 +00:00
Dan Fandrich
0994d7811f
Removed some redundant type casts
2008-09-02 18:36:39 +00:00
Dan Fandrich
934708d950
Made some variables const which eliminated some casts
2008-09-02 17:41:20 +00:00
Daniel Stenberg
bbc002a505
- Keith Mok added supported_protocols and supported_features to the pkg-config
...
file for libcurl, and while doing that fix he unified with curl-config.in
how the supported protocols and features are extracted and used, so both those
tools should now always be synced.
2008-09-02 12:07:08 +00:00
Yang Tse
c8d4e8b5d0
hex version number for 7.19.1 is 0x071301
2008-09-02 11:28:12 +00:00
Daniel Stenberg
18a21d5802
in the --libcurl output, mention that the large file stuff is only needed for
...
pre 7.19.0 libcurl-using apps
2008-09-02 06:48:11 +00:00
Daniel Stenberg
fcb63f3039
remove 7.19.0 and hint that 7.19.1 might not come until november
2008-09-01 15:31:12 +00:00
Daniel Stenberg
91d7a6f8a9
an impressive 672 contributors (counter after the 7.19.0 release)
2008-09-01 15:29:24 +00:00
Daniel Stenberg
238db14002
clear the way for 7.19.1 work!
2008-09-01 15:26:28 +00:00
Daniel Stenberg
d0995204da
18 new contributors from the 7.19.0 release notes
2008-09-01 15:24:12 +00:00
Daniel Stenberg
6ebc2b2561
the web mirror system is dropped
2008-09-01 14:38:40 +00:00
Daniel Stenberg
95b817e8d7
stand back for 7.19.0
2008-09-01 14:28:48 +00:00
Daniel Stenberg
558f034007
mention the curl_off_t changes first
2008-09-01 14:27:24 +00:00
Daniel Stenberg
72ea805298
Add README.curl_off_t to the release archive
2008-09-01 14:25:37 +00:00
Yang Tse
79ffbf7fe1
MSVC adjustment
2008-08-31 12:12:35 +00:00
Daniel Stenberg
4f0d286d2c
Added:
...
165 - "Problem with CURLOPT_RESUME_FROM and CURLOPT_APPEND" by Daniele Pinau,
recipe: http://curl.haxx.se/mail/lib-2008-08/0439.html
2008-08-30 20:23:31 +00:00
Yang Tse
6fb5888e55
vc6curl.dsw and MSVC 6 IDE build directions
2008-08-30 04:13:31 +00:00
Dan Fandrich
b5810dfe9d
Removed one, added two
2008-08-29 23:49:30 +00:00
Dan Fandrich
85a79f9d67
Added tests 1071 through 1074 to test automatic downgrading from HTTP 1.1
...
to HTTP 1.0 upon receiving a response from the HTTP server. Tests 1072
and 1073 are similar to test 1069 in that they involve the impossible
scenario of sending chunked data to a HTTP 1.0 server. All these currently
fail and are added to DISABLED.
Added test 1075 to test --anyauth with Basic authentication.
2008-08-29 23:42:39 +00:00
Daniel Stenberg
d24465b79a
test 1070 added
2008-08-29 10:48:27 +00:00
Daniel Stenberg
c67a99ff27
- When libcurl was doing a HTTP POST and the server would respond with
...
"Connection: close" and actually close the connection after the
response-body, libcurl could still have outstanding data to send and it
would not properly notice this and stop sending. This caused weirdness and
sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222
Note that there are still reasons to consider libcurl's behavior when
getting a >= 400 response code while sending data, as Craig Perras' note
"http upload: how to stop on error" specifies:
http://curl.haxx.se/mail/archive-2008-08/0138.html
2008-08-29 10:47:59 +00:00
Daniel Stenberg
bae4e12302
we start over working towards 1.5.4
2008-08-29 08:55:02 +00:00
Daniel Stenberg
09df1cdb5c
Version 1.5.3
2008-08-29 08:33:02 +00:00
Daniel Stenberg
2946d87e48
added the three people from RELEASE-NOTES and sorted the list alphabetically
2008-08-29 08:29:47 +00:00
Yang Tse
6a2d7bff1a
Project and workspace files for VC6 IDE supporting 4 configurations:
...
curl - Win32 using libcurl DLL Debug
curl - Win32 using libcurl DLL Release
curl - Win32 using libcurl LIB Debug
curl - Win32 using libcurl LIB Release
2008-08-29 02:08:11 +00:00
Yang Tse
9b7b2b347f
When not using large file support WIN32's lseek offset is a 'long'.
2008-08-28 22:41:35 +00:00
Daniel Stenberg
33638d5347
Andres Garcia pointed out these Makefile mistakes...
2008-08-28 20:08:37 +00:00
Yang Tse
2ae7d2e6ea
Adjust curl_off_t definitions for DJGPP.
...
Ancient versions of DJGPP do not have a 64-bit data type.
2008-08-28 16:08:31 +00:00
Yang Tse
ffc490ef89
Issue #144 seems to be complete. It should no longer be a show-stopper.
2008-08-28 14:06:12 +00:00
Yang Tse
29b75ca46f
ignore curlver.h.dist
2008-08-28 13:58:07 +00:00
Yang Tse
004dde18a7
Adjust generation of MSVC project files
2008-08-28 13:53:44 +00:00
Daniel Stenberg
3440e8d208
don't use the mirrors anymore
2008-08-28 11:40:37 +00:00
Daniel Stenberg
e138ae5ec9
- I'm abandoning the system with the web site mirrors (but keeping download
...
files bing mirrored) and thus I've changed the URL in the cookiejar header
to no longer use curlm.haxx.se but instead use the main site curl.haxx.se
2008-08-28 11:35:54 +00:00
Daniel Stenberg
bf8ba229e0
we need to look over what libcurl does (not) do when error is received when it
...
wants to send data
2008-08-28 08:57:15 +00:00
Daniel Stenberg
19d0a7495e
minor code indent fixes
2008-08-28 07:41:15 +00:00
Daniel Stenberg
099b62f124
- Dengminwen reported that libcurl would lock a (cookie) share twice (without
...
an unlock in between) for a certain case and that in fact works when using
regular windows mutexes but not with pthreads'! Locks should of course not
get locked again so this is now fixed.
http://curl.haxx.se/mail/lib-2008-08/0422.html
2008-08-28 07:37:29 +00:00
Dan Fandrich
8ce78ca488
Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to set
...
the HTTP method to GET (or HEAD) when given a value of 0.
2008-08-28 06:28:07 +00:00
Yang Tse
fc9610919c
This file must be kept in CVS with DOS style CR+LF line endings.
2008-08-28 03:31:54 +00:00
Dan Fandrich
e082d2403c
Fixed a couple of typos
2008-08-28 02:32:41 +00:00
Dan Fandrich
370c3afc71
Added test 1069 to test PUT from stdin without content length. It fails
...
in a similar manner to test 1065 so is added to DISABLED.
2008-08-28 02:24:46 +00:00
Dan Fandrich
93357ef017
Added test 1069 to test PUT from stdin without content length. It fails
...
in a similar manner to test 1065 so is added to DISABLED.
2008-08-28 02:18:44 +00:00
Dan Fandrich
753592cc70
Added test case 1068 to do a simple HTTP PUT from stdin
2008-08-28 02:03:54 +00:00
Yang Tse
b150e6866d
DLL's resource file specification for VC6 generated .dsp file
2008-08-28 01:22:26 +00:00
Yang Tse
2f475fa9ea
Add /D "CURL_STATICLIB" to LIB's BASE configuration
2008-08-27 23:46:33 +00:00
Yang Tse
ecff50c2b4
VC6 generated .dsp file now supports 4 configurations:
...
libcurl - Win32 DLL Debug
libcurl - Win32 DLL Release
libcurl - Win32 LIB Debug
libcurl - Win32 LIB Release
2008-08-27 23:31:58 +00:00
Daniel Stenberg
6f53cf9cc6
s/you you/you/ thanks to hexo6 at wp.pl
2008-08-27 08:01:59 +00:00
Daniel Stenberg
1056202b48
spell! (most of it fixed by Tor Arntsen)
2008-08-27 06:10:47 +00:00
Dan Fandrich
709de3d621
Fix large file support for Symbian OS on the emulator.
2008-08-27 01:48:33 +00:00
Yang Tse
f9894f4ebc
Don't abort configuration if recvfrom() is not available.
2008-08-27 00:25:02 +00:00
Dan Fandrich
74d3b80d70
Treat all ARM compilers (RVCT, GCC) equally on Symbian OS. They are both
...
compatible, and otherwise the dependency generation phase of the build
would throw warnings since the actual compiler isn't known at that time.
2008-08-26 22:36:03 +00:00
Dan Fandrich
4b01dfe369
Fixed out of memory problems that caused torture test failures in tests
...
1021 and 1067.
2008-08-26 21:28:57 +00:00
Dan Fandrich
fc09d10560
Added multi keyword
2008-08-26 20:21:59 +00:00
Dan Fandrich
59b2e3ea4a
Added multi keyword
2008-08-26 20:11:12 +00:00
Yang Tse
243cf29793
Windows build targets don't use the 'SONAME' mechanism.
2008-08-26 16:46:46 +00:00
Yang Tse
9ded8fbe58
Another task completed and removed from #144 :
...
- Enabling and disabling of large file support is now complete.
2008-08-26 13:40:19 +00:00
Yang Tse
9258928c2d
minor language adjustment
2008-08-26 13:35:06 +00:00
Daniel Stenberg
132cd3aa2c
spell out some benefits of this new approach of doing curl_off_t
2008-08-26 12:57:29 +00:00
Yang Tse
fef60d9d41
Added check and symbol definition for WIN32 file API usage in configure,
...
supporting configure's --disable-largefile option for WIN32 targets also.
Non-configure systems which do not use config-win32.h configuration file,
and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or
USE_WIN32_SMALL_FILES as appropriate in their own configuration files.
2008-08-26 12:54:12 +00:00
Yang Tse
2fdd24c724
Fix default SIZEOF_OFF_T definition logic
2008-08-26 10:48:52 +00:00
Patrick Monnerat
852a02daff
Fix _LARGE_FILES definition (thanks to Yang Tse for signaling the bug)
2008-08-26 09:26:06 +00:00
Yang Tse
2a6148716c
Functionality only possible if recvfrom() is available.
2008-08-26 03:08:27 +00:00
Yang Tse
5ca692fc89
Three tasks completed and removed:
...
- Logic based on CURL_SIZEOF_CURL_OFF_T and SIZEOF_OFF_T already adjusted.
- Test case 557 already passes on all autobuilds.
- System off_t, or equivalent, size is finally not recorded in curlbuild.h
for this release. SIZEOF_OFF_T from config file is used.
2008-08-26 01:55:05 +00:00
Yang Tse
3e2487493e
Use SIZEOF_OFF_T definition from config file
2008-08-26 01:40:19 +00:00
Patrick Monnerat
fdcb0cd2bc
Adapting OS400 build scripts to new features: new curlbuild.h file and soname in VERSION --> VERSIONINFO
2008-08-25 13:58:45 +00:00
Yang Tse
4962e1772d
Add missing preprocessor symbol definition checks
2008-08-25 13:42:53 +00:00
Daniel Stenberg
d7d5618498
remove some leftover debug code
2008-08-25 12:50:02 +00:00
Daniel Stenberg
3f3d6ebe66
if the size of off_t is not the same as curl_off_t, this is not like how libcurl
...
used to get built < 7.19.0 so we enforce an soname bump and display a warning
2008-08-25 12:49:13 +00:00
Yang Tse
ec28988bfa
leftover
2008-08-25 03:50:51 +00:00
Yang Tse
db23538898
George Neill's fix acountry sample application compilation failure.
2008-08-25 03:44:43 +00:00
Yang Tse
423a18cecc
Brad House's validation that DNS response address matches the request address
2008-08-25 03:34:50 +00:00
Yang Tse
f164260eee
For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
...
the name of the curl_off_t data type used now becomes CURL_TYPEOF_CURL_OFF_T
CURL_OFF_T -> CURL_TYPEOF_CURL_OFF_T
2008-08-25 01:18:49 +00:00
Yang Tse
a091121293
Rename some shell vars with more descriptive names:
...
x_typeof -> curl_typeof_curl_off_t
x_sizeof -> curl_sizeof_curl_off_t
x_format -> curl_format_curl_off_t
u_format -> curl_format_curl_off_tu
2008-08-25 00:56:50 +00:00
Yang Tse
d744c85310
Re-enable all tests on x86_64 and ia64.
2008-08-24 23:26:07 +00:00
Yang Tse
c9f2c54c49
Remove debug tracing and nearly all changes introduced since revision 1.72
...
The effective result of this commit is revision 1.72 plus two changed lines. These
can be viewed in http://cool.haxx.se/cvs.cgi/curl/lib/mprintf.c.diff?r1=1.72&r2=1.77
2008-08-24 23:21:46 +00:00
Daniel Stenberg
f29d223ed5
58. It seems sensible to be able to use CURLOPT_NOBODY and
...
CURLOPT_FAILONERROR with FTP to detect if a file exists or not, but it is
not working: http://curl.haxx.se/mail/lib-2008-07/0295.html
2008-08-24 22:08:42 +00:00
Daniel Stenberg
8dabd34432
Introduced the configure option --enable-soname-bump that lets a user enforce
...
an SONAME bump.
2008-08-24 21:26:42 +00:00
Daniel Stenberg
a104a365e3
Added firefox-db2pem.sh to the release archive
2008-08-24 20:42:51 +00:00
Yang Tse
62d94ff342
Fix wrong signed int formatting string directive in test case #557 .
...
This error did not cause test failures on systems where sizeof(int) == sizeof(long).
2008-08-24 17:10:24 +00:00
Yang Tse
cbc04a7d40
Debug trace curl_mprintf() on x86_64 and ia64 systems.
2008-08-24 16:01:15 +00:00
Yang Tse
71d3c5bf41
Disable all tests except #557 on x86_64 and ia64 to debug trace curl_mprintf() on these systems.
2008-08-24 15:57:52 +00:00
Yang Tse
bc69e46ad1
x86_64 fixes
2008-08-24 10:40:38 +00:00
Yang Tse
13f035b905
x86_64 fixes
2008-08-24 03:59:43 +00:00
Yang Tse
79cbe50894
Test if type casting a 'signed int' to a 'signed long long' fails to do sign extension on x86_64.
2008-08-24 00:15:59 +00:00
Daniel Stenberg
1c04aa54a7
- Running 'make ca-firefox' in the root build dir will now run the new
...
firefox-db2pem.sh conversion script that converts a local Firefox db of ca
certs into PEM format, suitable for use with a OpenSSL or GnuTLS built
libcurl.
2008-08-23 22:02:41 +00:00
Gunter Knauf
b718283327
removed obsolete slash in URL.
2008-08-23 21:31:09 +00:00
Daniel Stenberg
b34390017b
added test case 1067 to verify --referer "firstone.html;auto"
2008-08-23 21:27:58 +00:00
Daniel Stenberg
8980f89370
revert accidental commit of test code
2008-08-23 12:14:35 +00:00
Daniel Stenberg
f46d47239f
revert accidental commit
2008-08-23 12:14:05 +00:00
Daniel Stenberg
13dc82b9d4
- Constantine Sapuntzakis fixed a bug when doing proxy CONNECT with the multi
...
interface, and the proxy would send Connection: close during the
authentication phase. http://curl.haxx.se/bug/view.cgi?id=2069047
2008-08-23 12:11:38 +00:00
Daniel Stenberg
a243dd4587
mention the no soname bump too
2008-08-23 11:37:42 +00:00
Daniel Stenberg
9d5d6c557b
my first take at documenting the curl_off_t situation when doing an upgrade
...
< 7.19.0 to >= 7.19.x
2008-08-23 11:34:42 +00:00
Daniel Stenberg
a604682805
Andy Tsouladze's fix to kill the knowledge of servers properly after they have
...
been killed.
2008-08-23 11:25:14 +00:00
Yang Tse
70b1cd798f
explicit value assignment for comparison result
2008-08-23 02:35:16 +00:00
Yang Tse
578f42d588
typecast constant in comparison
2008-08-23 02:04:55 +00:00
Dan Fandrich
e3ad6d2bd1
Fixed a problem when --dump-header - was given with more than one URL,
...
which caused an error when the second header was dumped due to stdout
being closed. Added test case 1066 to verify. Also fixed a potential
problem where a closed file descriptor might be used for an upload
when more than one URL is given.
2008-08-22 22:57:25 +00:00
Daniel Stenberg
4b64a8d20d
161 - test case 1065 failure (HTTP PUT with one file but two URLs)
...
http://curl.haxx.se/mail/archive-2008-08/0075.html
2008-08-22 21:37:10 +00:00
Yang Tse
fcc8700218
Reinstate struct_stat definition that got lost in previous commit.
2008-08-22 19:01:00 +00:00
Yang Tse
e5b713ee63
Increase to 20 the number of CVS update retries.
2008-08-22 18:18:20 +00:00
Yang Tse
9849c6b847
Adjustments to better select/differentiate when large/small file
...
support is provided using WIN32 functions directly.
2008-08-22 18:09:03 +00:00
Yang Tse
9bb5da968c
Improved curl_m*printf() integral data type size and signedness handling
2008-08-22 11:11:33 +00:00
Daniel Stenberg
d5a71fd567
Removed issue #154 due to the massive problems I've had to repeat it and since
...
this really hasn't bitten anyone else. The issuer of the report (Felix) suggested
the closure himself and he will get back when (if?) he manage to get a more
reliable way to see the problem.
154 - bug #2041827 "Segfault in http_output_auth w/ FORBID_REUSE (7.18.2)"
2008-08-22 09:00:47 +00:00
Daniel Stenberg
0f98ba4729
Jamie Lokier is always helpful and this time around too...
2008-08-22 07:59:42 +00:00
Daniel Stenberg
a6a2174bf7
Sort of hackish approach to get the off_t size before large file support
...
is enabled (or skipped). Thanks to Jamie Lokier for the nice work-around the
cached-check-problem: http://curl.haxx.se/mail/lib-2008-08/0331.html
2008-08-22 07:58:30 +00:00
Yang Tse
f07c3171e3
cleanup the BOOL usage
2008-08-22 06:53:01 +00:00
Daniel Stenberg
6cb1e3f3fa
57. On VMS-Alpha: When using an http-file-upload the file is not sent to the
...
Server with the correct content-length. Sending a file with 511 or less
bytes, content-length 512 is used. Sending a file with 513 - 1023 bytes,
content-length 1024 is used. Files with a length of a multiple of 512 Bytes
show the correct content-length. Only these files work for upload.
http://curl.haxx.se/bug/view.cgi?id=2057858
2008-08-21 18:28:58 +00:00
Daniel Stenberg
81b64f69a5
use a more updated certdata.txt URL
2008-08-21 17:51:22 +00:00
Gisle Vanem
17e1f58fd6
Work around a scanf() bug in djgpp 2.04. The assignments for this
...
format is working okay. But the return value is incorrectly EOF.
2008-08-21 16:20:38 +00:00
Gisle Vanem
582833b338
Added '#define HAVE_STRUCT_IN6_ADDR 1' needed when
...
building with 'USE_ARES'.
2008-08-21 14:08:47 +00:00
Gisle Vanem
48be4fa069
Added rule to generate '../include/curl/curlbuild.h'.
2008-08-21 13:51:07 +00:00
Gisle Vanem
2af05bdd3c
Assume we have 'CRYPTO_cleanup_all_ex_data()' on OpenSSL/DOS too.
2008-08-21 13:47:18 +00:00
Yang Tse
4dbfc91e2b
MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64
2008-08-21 06:58:12 +00:00
Yang Tse
95cef39def
Test case 557 now also verifies signed and unsigned int formatting.
2008-08-21 05:19:40 +00:00
Yang Tse
00fb5bcf35
Old logic based on ENABLE_64BIT and HAVE_LONGLONG already revisited and adjusted.
...
Old logic based on CURL_SIZEOF_CURL_OFF_T is only partially adjusted.
2008-08-21 03:16:38 +00:00
Yang Tse
42eeb93d99
Fixed a couple of bugs in libcurl's internal curl_m*printf() functions.
2008-08-21 01:55:33 +00:00
Yang Tse
afe7bb4b33
Fix a LONG_MIN and LLONG_MIN related bug in internal m*printf()
2008-08-21 01:49:19 +00:00
Yang Tse
0f5f91df0b
fix the output name
2008-08-21 00:13:48 +00:00
Yang Tse
f209a4804b
Fix one bug detected thanks to test case 557.
2008-08-21 00:12:03 +00:00
Yang Tse
5794ffe4bd
Some data type size adjustments.
2008-08-21 00:10:27 +00:00
Yang Tse
ceb49d3742
Get rid of ENABLE_64BIT symbol definition and usage.
...
Improve HAVE_LONGLONG symbol description.
2008-08-21 00:06:15 +00:00
Yang Tse
44142f8234
Update of lib/Makefile.Watcom.
2008-08-20 23:40:40 +00:00
Yang Tse
347213d124
Export 'ares_process_fd' too.
2008-08-20 23:38:36 +00:00
Yang Tse
8ca51bc68a
Added option to use c-ares resolver lib.
2008-08-20 23:35:48 +00:00
Yang Tse
56f852a64f
Use 'Curl_inet_pton()' instead of 'inet_pton()'.
2008-08-20 23:32:50 +00:00
Yang Tse
1c68e79091
Simplify condition check
2008-08-20 23:29:07 +00:00
Daniel Stenberg
473a050f0b
the .netrc curl checks for is called _netrc on windows bug report #2061610
2008-08-20 21:06:56 +00:00
Dan Fandrich
6768e81d5d
Added an edited version of Vincent Le Normand's documentation of SFTP quote
...
commands to the man pages.
2008-08-20 19:45:43 +00:00
Daniel Stenberg
3743f515cf
- Phil Pellouchoud pointed out that the windows version of libcurl had a
...
memory leak because it never called the OpenSSL function
CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a
missing define in config-win32.h!
2008-08-20 19:29:00 +00:00
Yang Tse
3e0b6a7d1f
Update test case 557
2008-08-18 18:52:13 +00:00
Yang Tse
ef72f7d513
#159 and #160 already done.
...
Add more tasks to #144 .
2008-08-18 10:11:26 +00:00
Yang Tse
2f71461b29
Added test case 557 to verify libcurl's internal curl_m*printf() functions
...
formatting functionality when handling signed and unsigned longs, as well as
our curl_off_t data type.
2008-08-18 09:58:08 +00:00
Gisle Vanem
d8cab4c133
Pick-up programs from Makefile.inc.
2008-08-17 16:20:23 +00:00
Gisle Vanem
95a093e97b
Replace 'HttpPost' with 'curl_httppost'.
2008-08-17 13:55:24 +00:00
Gisle Vanem
68bb51c55b
Rewritten to also produce a static library (libcurl_wc.lib).
2008-08-17 13:34:15 +00:00
Yang Tse
fb8fe6f2b3
OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory
...
when including the OpenSSL header files. This is the recommended setting, this
prevents the undesired inclusion of header files with the same name as those
of OpenSSL but which do not belong to the OpenSSL package. The visible change
from previously released libcurl versions is that now OpenSSl enabled NetWare
builds also define USE_OPENSSL in config files, and that OpenSSL header files
must be located in a subdirectory named 'openssl'.
2008-08-17 13:25:54 +00:00
Yang Tse
3e61c90dbe
Adjust usage of conditional definition of USE_OPENSSL
2008-08-17 01:57:10 +00:00
Yang Tse
ac18b471d2
libcurl internal base64.h header file renamed to curl_base64.h
2008-08-17 00:25:38 +00:00
Yang Tse
bbe2386bff
libcurl internal md5.h header file renamed to curl_md5.h
2008-08-17 00:01:26 +00:00
Yang Tse
2f47248e3c
Added #159 and #160
2008-08-16 17:12:42 +00:00
Gisle Vanem
315bb970a5
Ops, remove 'use_vc'.
2008-08-16 17:05:42 +00:00
Gisle Vanem
65b0f6049d
Support Watt-32 under Win32.
2008-08-16 16:42:44 +00:00
Yang Tse
0033535e21
Oops, missed FORMAT_OFF_TU
2008-08-16 03:40:25 +00:00
Yang Tse
3e4a8cb800
Fix Use of conditional definition of USE_OPENSSL
2008-08-16 03:27:07 +00:00
Yang Tse
ad638da2c2
Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
...
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot handle print formatting string directives
such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
other DOS/Windows compilers.
This reverts previous commit part which did:
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
2008-08-16 01:33:59 +00:00
Dan Fandrich
a923d8541c
Added test case 1065 to test a PUT with a single file but two URLs. This
...
was discovered to be problematic while investigating an incident reported by
Von back in May. curl in this case doesn't include a Content-Length: or
Transfer-Encoding: chunked header which is illegal. This test case is
added to DISABLED until a solution is found.
2008-08-15 19:18:46 +00:00
Yang Tse
66fb9ca5f6
For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
...
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.
CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T
CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Remove the use of an internal name for the curl_off_t formatting string directives
and use the common one available from the inside and outside of the library.
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
2008-08-15 02:58:15 +00:00
Yang Tse
11cb78c5f8
curlbuild.h is a generated file on configure-capable systems
2008-08-14 23:55:24 +00:00
Dan Fandrich
527a5f0980
Added Range keyword
2008-08-14 19:18:18 +00:00
Dan Fandrich
6e878d2ca4
Added test 1063 to test an invalid large range on a file:
2008-08-14 19:18:01 +00:00
Dan Fandrich
cf30b24706
Fixed unused variable warning
2008-08-14 18:41:37 +00:00
Yang Tse
709a2ed474
Take three at trying to detect signed and unsigned curl_off_t integer constant
...
suffixes, using a test-and-try suffix approach letting the compiler validate it.
2008-08-14 18:30:19 +00:00
Yang Tse
ecd30cc8bb
When using our internal curlx_strtoll function NEED_CURL_STRTOLL must be defined,
...
the source code of curlx_strtoll is excluded if NEED_CURL_STRTOLL isn't defined.
2008-08-14 11:56:55 +00:00
Yang Tse
0105ad5e39
CURL_LLONG_MIN should now be signed
2008-08-14 10:30:45 +00:00
Yang Tse
cebaab8ee5
Use our CURL_LLONG_MAX and CURL_LLONG_MIN which are defined with the proper suffix.
2008-08-14 03:39:45 +00:00
Yang Tse
34281925d6
Change CURL_CHECK_DEF_INTXX_C suffix definition detection.
...
Add debug tracing for CURL_CHECK_DEF_INTXX_C.
2008-08-14 01:39:49 +00:00
Daniel Stenberg
e90c4fa770
Fixed:
...
155 - bug #2038004 "Curl OpenSSL not compatible with 7.17 or 7.18"
156 - proxy CONNECT issue (details not public yet due to possible security impact)
2008-08-13 21:05:13 +00:00
Yang Tse
a06e077938
Use autoconf's result of AC_CHECK_SIZEOF(long) in CURL_CONFIGURE_LONG
2008-08-13 19:49:19 +00:00
Yang Tse
7bdae7be4f
Ensure that the compiler 'knows' the 'long' type in CURL_CONFIGURE_LONG
2008-08-13 18:57:48 +00:00
Yang Tse
c125d83e9e
Sync config.h generation from lib/Makefile.netware and src/Makefile.netware
2008-08-13 18:43:53 +00:00
Yang Tse
2abf9221e3
Using the name of a macro inside AC_MSG_WARN takes aclocal to NeverLand.
2008-08-13 17:23:13 +00:00
Yang Tse
6f1e89085c
Adjust IBM C compiler CURL_SIZEOF_LONG
2008-08-13 16:14:22 +00:00
Yang Tse
5303cdc4af
Remove first version of comment not intended to be finally committed.
2008-08-13 15:48:44 +00:00
Yang Tse
feb03e4717
The size of long is a build time characteristic and as such it is now recorded
...
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process
and in CVS curlbuild.h.dist for non-configure systems.
2008-08-13 15:32:20 +00:00
Yang Tse
64e3a091c3
Split comparison among several lines for debugging
2008-08-13 13:07:50 +00:00
Daniel Stenberg
a2c50a980c
on second thought, let's remove this number from here since it doesn't really
...
belong among the release numbers anyway
2008-08-13 10:57:11 +00:00
Daniel Stenberg
23478b891f
dead mirrors removed => http://curl.haxx.se/mail/lib-2008-08/0208.html
2008-08-13 10:55:23 +00:00
Daniel Stenberg
aab2d52b25
httpcustomheader.c is a new tiny example showing a HTTP request with a custom
...
header replacing an internal one
2008-08-13 08:51:52 +00:00
Gisle Vanem
9a9041f1ce
Watcom doesn't have <sys/time.h>.
2008-08-13 08:32:22 +00:00
Gisle Vanem
0aa704935b
Remved '-dDEBUG_THREADING_GETADDRINFO' (no longer used).
2008-08-13 08:19:51 +00:00
Gisle Vanem
ede7f8f5de
Update dependencies.
2008-08-13 08:17:50 +00:00
Gisle Vanem
3c317d2fac
Update dependencies.
2008-08-13 07:30:21 +00:00
Gisle Vanem
b55b0258e0
MingW uses gcc. Hence the suffixes for 64-bit are 'LL' and 'ULL'.
2008-08-13 07:16:20 +00:00
Yang Tse
55a8098d48
Adjustment due to curl_off_t no longer following off_t
2008-08-13 03:05:00 +00:00
Dan Fandrich
389e50ff1e
Added a few user-visible bug fixes
2008-08-13 00:43:46 +00:00
Gunter Knauf
1df4043ad7
sync src makefile with lib makefile.
2008-08-12 21:25:11 +00:00
Dan Fandrich
b000b8a736
Removed unneeded header files
2008-08-12 20:21:40 +00:00
Dan Fandrich
7eab7fa353
Fixed a buffer overflow problem in Curl_proxyCONNECT that could occur
...
when a server responded with long headers and data. Luckily, the buffer
overflowed into another unused buffer, so no actual harm was done.
Added test cases 1060 and 1061 to verify.
2008-08-12 20:07:52 +00:00
Yang Tse
58f7c82d52
Fix 'result' may be used uninitialized in function readwrite_data()
2008-08-12 19:09:20 +00:00
Yang Tse
4d1cd0da93
Fix curl_off_t sized constants usage
2008-08-12 18:49:33 +00:00
Dan Fandrich
9ee7a014c9
Handle short reads
2008-08-12 18:32:55 +00:00
Yang Tse
e1ab7db87d
DOS/Windows 'shells' eat echoed percent sign characters unless escaped.
2008-08-12 10:08:14 +00:00
Daniel Stenberg
14a5596346
- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel
...
_directory_ if that happened to appear in the path!
2008-08-12 07:21:39 +00:00
Yang Tse
2eba5f33b9
Fix CURL_CHECK_DEF_INTXX_C suffix definition detection
2008-08-12 07:20:44 +00:00
Yang Tse
60a3773c50
Added macros for minimum-width signed and unsigned curl_off_t integer
...
constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro
used internally to provide its functionality is thanks to Lars Nilsson.
2008-08-12 03:00:24 +00:00
Dan Fandrich
e8e8177e9d
Added HTTP CONNECT keywords
2008-08-11 23:16:48 +00:00
Dan Fandrich
f1fe04245a
Fixed a boundary condition error in ftp_readresp() whereby a non-terminal
...
line of a multiline FTP response whose last byte landed exactly at the end
of the BUFSIZE-length buffer would be treated as the terminal response
line. The following response code read in would then actually be the
end of the previous response line, and all responses from then on would
correspond to the wrong command. Test case 1062 verifies this.
Stop closing a never-opened ftp socket.
2008-08-11 23:16:08 +00:00
Daniel Stenberg
8bb208e8f8
152 + 153 are fixed!
2008-08-11 20:30:37 +00:00
Daniel Stenberg
f8a3aa91cd
- Constantine Sapuntzakis filed bug report #2042430
...
(http://curl.haxx.se/bug/view.cgi?id=2042430 ) with a patch. "NTLM Windows
SSPI code is not thread safe". This was due to libcurl using static
variables to tell wether to load the necessary SSPI DLL, but now the loading
has been moved to the more suitable curl_global_init() call.
2008-08-11 20:29:36 +00:00
Daniel Stenberg
019bde82ce
- Constantine Sapuntzakis filed bug report #2042440
...
(http://curl.haxx.se/bug/view.cgi?id=2042440 ) with a patch. He identified a
problem when using NTLM over a proxy but the end-point does Basic, and then
libcurl would do wrong when the host sent "Connection: close" as the proxy's
NTLM state was erroneously cleared.
2008-08-11 19:26:01 +00:00
Yang Tse
ca5e38751c
Ooops
2008-08-11 19:00:26 +00:00
Yang Tse
b5b25b39e9
Added missing signed and unsigned curl_off_t integer constant suffixes for
...
internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
2008-08-11 18:27:21 +00:00
Daniel Stenberg
1784523cc6
added two known topics for 7.19.1
2008-08-11 12:41:13 +00:00
Daniel Stenberg
d71d10adbc
five more bugs I'd like to get fixed or at least considered before 7.19.0
2008-08-11 10:55:47 +00:00
Yang Tse
40fb750589
Old logic based on CURL_SIZEOF_CURL_OFF_T, ENABLE_64BIT, HAVE_LONGLONG,
...
has to be revisited and adjusted as appropriate.
Enabling and disabling of large file support needs further inspection.
2008-08-11 03:26:23 +00:00
Yang Tse
62a6b8d4a6
Fix NetWare missing curl_off_t typedef!!
2008-08-11 02:40:19 +00:00
Yang Tse
24b1890710
s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/g
2008-08-11 01:22:57 +00:00
Yang Tse
3a1d28379a
Die when curlbuild.h is not created or available
2008-08-11 00:15:20 +00:00
Gunter Knauf
c57285d199
fixed creation of curlbuild.h.
2008-08-10 22:28:51 +00:00
Yang Tse
68cfe929c4
Fix NetWare curlbuild.h
...
NetWare curlbuild.h settings depend on whether LIBC or CLIB is used.
The NetWare specific Makefile is capable of knowing which target is being built.
So, finally, the NetWare Makefile will take care of generating curlbuild.h
2008-08-10 18:33:41 +00:00
Yang Tse
6237fd2c16
Fix: Remove now this SIZEOF_CURL_OFF_T symbol definition.
...
This should have been done with the initial 64-bit curl_off_t patch.
2008-08-10 00:39:45 +00:00
Yang Tse
b023f9bd2a
When running testcurl.pl display definitions from curlbuild.h
2008-08-09 23:14:40 +00:00
Yang Tse
b7ac885d38
Remove debug tracing for DO_CURL_OFF_T_CHECK and CURL_CHECK_DEF
2008-08-09 21:10:31 +00:00
Yang Tse
cbd9dcbe41
Use int64_t in favour of __int64 for curl_off_t when both are available.
2008-08-09 17:46:25 +00:00
Yang Tse
4594187732
Improve CURL_CHECK_DEF
2008-08-09 17:26:24 +00:00
Yang Tse
63818f8488
Fix IBM C and DEC/Compaq C compiler detection
2008-08-09 17:01:17 +00:00
Yang Tse
8af61cdb66
Remove some redundancy
2008-08-09 15:28:13 +00:00
Dan Fandrich
ab83c0fd5b
Refactored Curl_readwrite() into a number of smaller functions.
2008-08-08 20:37:54 +00:00
Yang Tse
3cc40a2584
Add debug tracing for DO_CURL_OFF_T_CHECK
2008-08-08 17:42:58 +00:00
Yang Tse
c11933b3fd
Remove some redundancy
2008-08-08 16:53:02 +00:00
Yang Tse
4687699726
Remove potential overquoting
2008-08-08 16:25:07 +00:00
Yang Tse
012dcb4893
Remove rule no longer needed since tests/testcurl.pl revision 1.63
...
See CVS commit comment on tests/testcurl.pl revision 1.63
2008-08-08 15:16:59 +00:00
Yang Tse
f01d18e4b9
Reintroduce the adjustment previously done in testcurl.pl so that it copies the
...
CVS checked out curlbuild.h.dist as curlbuild.h for any non-configure target
when host system is not running buildconf.bat.
All the curlbuild.h stuff was done taking in consideration that no adjustment
would be needed in non-configure makefiles.
As it is documented, when trying to build on non-configure capable systems or on
systems which for any reason don't run the true configure script, it is required
to have the proper curlbuild.h in place before calling any makefile.
Due to the hardcore memory debugging stuff c-ares enabled debug builds also need
the file in the proper place before attempting to build c-ares.
2008-08-08 12:34:01 +00:00
Yang Tse
dabd3cd355
Add debug tracing for CURL_CHECK_DEF
2008-08-08 11:34:08 +00:00
Dan Fandrich
fa001f27a5
Made ftp a required feature
2008-08-08 07:51:50 +00:00
Dan Fandrich
40b2e06a7f
Added test1059 to test the FTP proxy tunnel problem fixed July 11.
2008-08-08 07:26:30 +00:00
Yang Tse
8008499028
Peek at predefined symbols done. and now removed.
...
Netware's autobuilds gcc can not been told apart from a standard built gcc.
2008-08-08 05:58:08 +00:00
Yang Tse
3ac6929919
Add metroworks and generic gcc
2008-08-08 05:53:01 +00:00
Yang Tse
8d36acd29b
Take a peek at netware's gcc predefined symbols.
2008-08-08 03:09:16 +00:00
Dan Fandrich
e54209d643
Fixed an uninitialized variable in multi_runsingle() that could cause a
...
request to prematurely end.
2008-08-08 01:52:08 +00:00
Yang Tse
f6a958dc3a
Remove last adjustment done to testcurl.pl to verify if change introduced by
...
Guenter Knauf in lib/Makefile.netware is enough to get the netware autobuilds
going again.
2008-08-07 22:40:06 +00:00
Gunter Knauf
2548e7b23f
use CP macro rather than cp command.
2008-08-07 21:43:30 +00:00
Gunter Knauf
97046a3548
added rule to create include/curl/curlbuild.h from include/curl/curlbuild.h.dist.
2008-08-07 21:34:35 +00:00
Yang Tse
a7d52c414f
Adjust testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h
...
for non-configure targets when host system doesn't run buildconf.bat.
2008-08-07 20:41:12 +00:00
Yang Tse
479466a495
Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
2008-08-07 19:03:46 +00:00
Yang Tse
fa2a8f6fb8
Prevent buildconf from removing 'Makefile' and 'missing' files. This would blow
...
away our CVS checked 'missing' file and also CVS checked 'hiper/Makefile'.
2008-08-07 16:22:25 +00:00
Yang Tse
ddfa33be79
Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol results
...
in a set of double-quoted strings, this macro will now return an expansion which
consists of a single double-quoted string result of concatenating all of them.
2008-08-07 16:07:26 +00:00
Yang Tse
25c76a760e
sync with reality
2008-08-07 02:46:23 +00:00
Yang Tse
14240e9e10
Initial support of curlbuild.h and curlrules.h which allows
...
to have a curl_off_t data type no longer gated to off_t.
2008-08-07 00:29:08 +00:00
Daniel Stenberg
a3045b4e49
- mention curl_multi_socket_action() rather than the deprecated
...
curl_multi_socket()
- don't claim that it has an argument named 'easy' because it doesn't!
2008-08-06 21:22:07 +00:00
Daniel Stenberg
b0685b3576
remove debug code I accidentally left in here
2008-08-06 09:54:34 +00:00
Gisle Vanem
138c57c76a
Removed TRACE() code.
2008-08-06 08:05:09 +00:00
Yang Tse
182a415555
The minimum autoconf version required for this file is 2.50
...
Avoid dot notation in aclocal serial file number, use a single number now.
2008-08-05 09:08:43 +00:00
Yang Tse
6e789fc516
#148 Removed.
...
Rebooting the problematic system, releasing allocated memory and swap,
has allowed buildconf and configure to complete sucessfully since then.
2008-08-05 06:44:21 +00:00
Yang Tse
09f278121e
Validate that autom4te and autoconf versions match.
...
Validate that aclocal and automake versions match.
Improve removal of previous run generated files.
Remove verbose debug logging of aclocal on Solaris.
2008-08-05 06:20:18 +00:00
Daniel Stenberg
ed50e3f1b4
- Yehoshua Hershberg found a problem that would make libcurl re-use a
...
connection with the multi interface even if a previous use of it caused a
CURLE_PEER_FAILED_VERIFICATION to get returned. I now make sure that failed
SSL connections properly close the connections.
2008-08-04 22:07:50 +00:00
Daniel Stenberg
3a499099af
- Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 and
...
proved how PUT and POST with a redirect could lead to a "hang" due to the
data stream not being rewound properly when it had to in order to get sent
properly (again) to the subsequent URL. This is now fixed and these test
cases are no longer disabled.
2008-08-04 22:00:22 +00:00
Daniel Stenberg
931fc45f05
- Fix by Tofu Linden:
...
The symptom:
* Users (usually, but not always) on 2-Wire routers and the Comcast service
and a wired connection to their router would find that the second and
subsequent DNS lookups from fresh processes using c-ares to resolve the same
address would cause the process to never see a reply (it keeps polling for
around 1m15s before giving up).
The repro:
* On such a machine (and yeah, it took us a lot of QA to find the systems
that reproduce such a specific problem!), do 'ahost www.secondlife.com',
then do it again. The first process's lookup will work, subsequent lookups
will time-out and fail.
The cause:
* init_id_key() was calling randomize_key() *before* it initialized
key->state, meaning that the randomness generated by randomize_key() is
immediately overwritten with deterministic values. (/dev/urandom was also
being read incorrectly in the c-ares version we were using, but this was
fixed in a later version.)
* This makes the stream of generated query-IDs from any new c-ares process
be an identical and predictable sequence of IDs.
* This makes the 2-Wire's default built-in DNS server detect these queries
as probable-duplicates and (erroneously) not respond at all.
2008-08-04 20:23:12 +00:00
Yang Tse
6076c74041
Update #144
...
Third version of the patch fixing a failure to chose a proper data
type submitted to the mailing list 2008-08-04.
2008-08-04 10:13:02 +00:00
Yang Tse
b4fdccf87a
Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.
...
Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But,
autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four
preprocessor symbols no matter if the system is AIX or not. To keep the
traditional behaviour, as well as an uniform one, across autoconf versions
AC_AIX is replaced with our own internal macro.
2008-08-04 06:48:11 +00:00
Daniel Stenberg
8d012181b0
- Test case 1041 (added by Daniel Fandrich April 14th) proved a bug where PUT
...
with -C - sent garbage in the Content-Range: header. I fixed this problem by
making sure libcurl always sets the size of the _entire_ upload if an app
attemps to do resumed uploads since libcurl simply cannot know the size of
what is currently at the server end. Test 1041 is no longer disabled.
2008-08-03 22:20:58 +00:00
Daniel Stenberg
d6344d9b5f
refer to the new option by its real name
2008-08-03 21:50:56 +00:00
Yang Tse
cb9410ded2
Update #148
...
Rebooting the Solaris system, releasing allocated memory and swap,
has allowed buildconf and configure to complete sucessfully. Further
tests on the system might allow determination of the problem origin.
Solaris AutoBuilds suceeded on August 2 and 3.
2008-08-03 16:46:20 +00:00
Dan Fandrich
6838fb32af
Improved title
2008-08-03 05:13:05 +00:00
Yang Tse
74d77cb140
Adjust DEC/Compaq C compiler settings.
2008-08-03 03:14:05 +00:00
Yang Tse
7ad3abfd05
Another AC_TRY_COMPILE conversion to AC_COMPILE_IFELSE
2008-08-03 01:01:05 +00:00
Yang Tse
7c6df7132e
No longer test availability of the gdi32 library, nor use it for linking, even
...
when we have been doing this since revision 1.47 of configure.ac 4 years and
5 months ago when cross-compiling a Windows target. We actually don't use any
function from the Windows GDI (Graphics Device Interface) related with drawing
or graphics-related operations.
2008-08-02 01:44:13 +00:00
Dan Fandrich
f27299dc3b
Added tests 1057 and 1058 to test FTP and HTTPS transfers with ranges
...
relative to end of file.
2008-08-01 22:12:34 +00:00
Yang Tse
47724ef238
Another AC_TRY_LINK conversion to AC_LINK_IFELSE.
...
Proper definition of HAVE_function if function is found deeper.
2008-08-01 19:29:05 +00:00
Yang Tse
357389a905
Another AC_TRY_LINK conversion to AC_LINK_IFELSE.
...
Sorting of function names.
Proper definition of HAVE_function if function is found deeper.
2008-08-01 19:01:35 +00:00
Dan Fandrich
42cabc14d4
Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn't
...
support this so it goes untested.
2008-08-01 18:41:14 +00:00
Yang Tse
a948ca1669
This line was for local testing, not intended to be committed.
2008-08-01 07:46:21 +00:00
Yang Tse
9cef14dfb2
Add a whitespace
2008-08-01 06:21:34 +00:00
Yang Tse
2d15d84a01
Ensure that reserved keyword AC_DEFUN is only used for its purpose.
2008-08-01 06:07:43 +00:00
Yang Tse
1035469662
Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it has
...
not been in use since revision 1.81 of configure.in 6 years, 9 months ago.
2008-08-01 05:24:19 +00:00
Yang Tse
296a6f7749
Sync up with reality
2008-08-01 03:17:38 +00:00
Yang Tse
5cff8124b0
Sync up with reality
2008-08-01 03:10:54 +00:00
Yang Tse
90e2510e2f
Rename reentrant.m4 to avoid filename clash.
2008-08-01 02:48:00 +00:00
Dan Fandrich
9251dd7b24
User names embedded in proxy URLs without a password were parsed
...
incorrectly--the host name is treated as part of the user name and the
port number becomes the password. This can be observed in test 279
(was KNOWN_ISSUE #54 ).
2008-08-01 02:09:08 +00:00
Dan Fandrich
3615063fbc
Added more code under #ifndef CURL_DISABLE_HTTP to fix builds with
...
--disable-http
2008-08-01 01:39:24 +00:00
Dan Fandrich
09664f1ab8
Refactored create_conn by breaking it up into many smaller functions
2008-08-01 00:55:43 +00:00
Dan Fandrich
bdf1157d55
Made a parameter const
2008-08-01 00:49:29 +00:00
Dan Fandrich
b4a5ce89c2
Fixed a problem with any FTP URL or any URLs containing an IPv6 address
...
being mangled when passed to proxies when CURLOPT_PORT is also set
(reported by Pramod Sharma).
2008-07-31 22:46:29 +00:00
Dan Fandrich
660516914e
Fixed parsing of an IPv6 proxy address to support a scope identifier,
...
as well as IPv4 addresses in IPv6 format. Also, better handle the case
of a malformatted IPv6 address (avoid empty and NULL strings).
2008-07-31 20:04:00 +00:00
Yang Tse
4c1c479fcf
Second version of the patch addressing building outside of CVS tree
...
submitted to the mailing list 2008-07-31. Awaiting Ok to commit.
2008-07-31 17:58:28 +00:00
Patrick Monnerat
309651dc82
New CURLOPT_ADDRESS_SCOPE option in ILE/RPG binding
2008-07-31 13:20:23 +00:00
Dan Fandrich
b13b9f3331
Fixed keyword
2008-07-31 05:00:02 +00:00
Dan Fandrich
108e584983
Added keywords
2008-07-31 02:51:44 +00:00
Dan Fandrich
f3b4071209
Added test of IPv6 scope handling
2008-07-31 02:38:51 +00:00
Dan Fandrich
fe1d024351
Fixed a couple of problems in the IPv6 scope code. First, a host name in
...
an URL in a Location: header didn't have the scope ID removed, so an
invalid host name was used. Second, when the scope ID was removed, it
also removed any port number that may have existed in the URL.
2008-07-31 02:18:01 +00:00
Yang Tse
0de08d418f
s/silly/underquoted definition/
2008-07-31 01:41:20 +00:00
Yang Tse
109edaae6d
#149 fully done and verified. Removed from here now.
2008-07-31 01:20:25 +00:00
Dan Fandrich
d69a630989
Fixed a couple of buffer overflows in the MS-DOS port of the curl tool.
...
Factored out unslashquote. Added some 'const's in function parameters.
2008-07-31 01:12:06 +00:00
Dan Fandrich
987b67bd2e
Added IPv6 section
2008-07-30 23:49:20 +00:00
Daniel Stenberg
f4d56802f9
Committed just now and thus removed from here:
...
145 - Phil Blundell's CURLOPT_SCOPE patch/work
2008-07-30 22:09:30 +00:00
Daniel Stenberg
9dfd6eacf4
another option added, bump counter
2008-07-30 21:57:27 +00:00
Daniel Stenberg
5aed78e183
- Phil Blundell added the CURLOPT_SCOPE option, as well as adjusted the URL
...
parser to allow numerical IPv6-addresses to be specified with the scope
given, as per RFC4007 - with a percent letter that itself needs to be URL
escaped. For example, for an address of fe80::1234%1 the HTTP URL is:
"http://[fe80::1234%251]/ "
2008-07-30 21:55:26 +00:00
Daniel Stenberg
011e5dd864
Fixed:
...
147 - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158 ) identifies
a true bug in libcurl built with OpenSSL.
2008-07-30 21:42:26 +00:00
Daniel Stenberg
ae654266df
- PHP's bug report #43158 ( http://bugs.php.net/bug.php?id=43158 ) identifies a
...
true bug in libcurl built with OpenSSL. It made curl_easy_getinfo() more or
less always return 0 for CURLINFO_SSL_VERIFYRESULT because the function that
would set it to something non-zero would return before the assign in almost
all error cases. The internal variable is now set to non-zero from the start
of the function only to get cleared later on if things work out fine.
2008-07-30 21:24:59 +00:00
Daniel Stenberg
03986f1b8b
- Made the curl tool's -w option support the %{ssl_verify_result} variable
2008-07-30 21:24:19 +00:00
Dan Fandrich
bc649593e4
Added test cases 1052 through 1055 to test uploading data from files
...
during redirects. Test cases 1052 and 1055 show problems (maybe the same
root cause as 1051) and are disabled.
2008-07-30 21:04:44 +00:00
Dan Fandrich
cc0285da7f
Factored out Curl_copy_header_value
2008-07-30 20:11:51 +00:00
Yang Tse
f3bc16f4f5
Add file version serial number that might be used by 'aclocal' and others.
...
Keep the '#' character as the first one on the line.
2008-07-30 12:09:35 +00:00
Yang Tse
15f94858f2
Update copyright year.
2008-07-30 08:27:02 +00:00
Yang Tse
5febd06c25
Sync comment with reality.
2008-07-30 08:21:25 +00:00
Dan Fandrich
9eb7fe8ac0
Added the problems with test cases 1041 and 1051
2008-07-30 07:31:10 +00:00
Dan Fandrich
1f26ea4a85
Added test case 1051 to test Location: following with PUT, as reported
...
by Ben Sutcliffe. The test when run manually shows a problem in curl,
but the test harness web server doesn't run the test correctly so it's
disabled for now.
2008-07-30 07:24:59 +00:00
Yang Tse
912c29fd8c
Undo using the sreadfrom() wrapper to replace recvfrom() in our code, for real ;-)
2008-07-30 06:20:43 +00:00
Yang Tse
eea468918e
#149 done. Awaiting autobuild verification before removing.
2008-07-30 05:15:51 +00:00
Yang Tse
537490e391
Undo using the sreadfrom() wrapper to replace recvfrom() in our code.
2008-07-30 05:10:42 +00:00
Yang Tse
de8e362d4a
#148 no longer blocks #144
2008-07-30 04:46:24 +00:00
Yang Tse
7a588144b7
Reinstate hiding aclocal 'underquoted definition' warnings.
2008-07-30 04:42:16 +00:00
Yang Tse
7f2999aa43
updated #148
2008-07-30 03:24:38 +00:00
Yang Tse
a3498f96ef
Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way of
...
including our local m4/reentrant.m4 file. This even takes care of including the
file in the distribution tarball.
2008-07-30 03:10:03 +00:00
Yang Tse
637bfa0252
Show autom4te and aclocal versions.
...
Set SED for Solaris to gsed if available.
2008-07-30 01:17:15 +00:00
Dan Fandrich
1c8f689ecb
Minor Symbian updates.
2008-07-30 00:10:32 +00:00
Dan Fandrich
7a8b11d716
Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOS
...
and OS/2.
2008-07-30 00:09:02 +00:00
Yang Tse
a67e207866
Updtae #148 with link to start of thread
2008-07-29 23:56:01 +00:00
Yang Tse
5817209158
Updated #144
...
Added #148 and # 149
2008-07-29 23:51:01 +00:00
Daniel Stenberg
b39d409aa2
56. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP
...
server using the multi interface, the commands are not being sent correctly
and instead the connection is "cancelled" (the operation is considered done)
prematurely. There is a half-baked (busy-looping) patch provided in the bug
report but it cannot be accepted as-is. See
http://curl.haxx.se/bug/view.cgi?id=2006544
2008-07-29 21:51:47 +00:00
Daniel Stenberg
a18fb9448b
Added:
...
146 - Yehoshua Hershberg's re-using of connections that failed with
CURLE_PEER_FAILED_VERIFICATION
147 - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158 ) identifies
a true bug in libcurl built with OpenSSL.
2008-07-29 21:39:05 +00:00
Dan Fandrich
1f3007dbb4
Document that PKG_CONFIG_PATH is the preferred way to configure with
...
OpenSSL.
2008-07-29 20:59:51 +00:00
Yang Tse
5dafa4a270
For testing purposes on SunOS systems; directly feed acinclude.m4 with
...
reentrant.m4 and remove reentrant.m4 before calling aclocal.
2008-07-29 19:31:34 +00:00
Yang Tse
e93bcbeee1
For debugging purposes, show all sed's available in PATH on SunOS systems.
2008-07-29 19:01:34 +00:00
Dan Fandrich
adc032e7d8
Return an error code when extra files are found in filecheck:
2008-07-29 18:57:01 +00:00
Dan Fandrich
248c2b9bf5
Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
...
address in an IPv6 capable libcurl.
2008-07-29 18:26:35 +00:00
Yang Tse
a8baa05023
Add quoting for the AC_DEFINE arguments.
2008-07-29 18:23:11 +00:00
Yang Tse
7066a79466
Also remove the whitespace.
2008-07-29 18:01:29 +00:00
Yang Tse
4a623f7ed2
Also remove the extra quoting.
2008-07-29 17:45:33 +00:00
Yang Tse
f18700ef64
Replace some '@%:@' quadigraphs by its actual representation '#'.
...
This quadigraph used before a C preprocessor 'define' directive could
be fooling M4, when processing this file, and make it think that the
line contains a pure M4 'define' macro.
2008-07-29 16:29:34 +00:00
Yang Tse
52d9a3c34f
Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4
...
in top Makefile.am triggered a problem that prevented aclocal from running
successfully on SunOS 5.10 with GNU m4 1.4.5 and GNU Autoconf 2.61
A tarball which reproduces mentioned problem is the one dated July-28-2008
http://cool.haxx.se/curl-daily/curl-7.19.0-20080728.tar.gz
We actually don't need all the bells and whistles that the above mechanism
provides. We only need to include our m4/reentrant.m4 file in acinclude.m4
so here we go with this simpler mechanism.
2008-07-29 02:26:21 +00:00
Yang Tse
d785ed2588
ignore *.dist files
2008-07-29 02:05:07 +00:00
Dan Fandrich
4ff37a4ed1
Added test case 1050 to test --ftp-port with an IPv6 address.
...
Made --interface tests less restrictive on host address.
2008-07-29 01:05:28 +00:00
Daniel Stenberg
fe167b6ba2
I removed: "139 - Christopher Palow's CURLM_EASY_HANDLE_EXISTS patch" simply
...
because at the current point in time I think the benefit of adding that new
return code is very slim and it is a lot of work to introduce new return codes
(for docs and maintenance etc)
I added "145 - Phil Blundell's CURLOPT_SCOPE patch/work" since I want it
sorted/committed.
2008-07-28 21:53:25 +00:00
Dan Fandrich
f042a7419d
Added test cases 1045 through 1049 as simple tests of --interface using the
...
localhost interface.
2008-07-28 18:39:32 +00:00
Dan Fandrich
bc0ebfcdeb
Fixed display of the interface bind address in the trace output when it's
...
an IPv6 address.
2008-07-28 18:35:34 +00:00
Yang Tse
57d13c770a
Ensure that buildconf runs from the subdirectory where configure.ac lives
2008-07-28 16:17:51 +00:00
Yang Tse
1692384636
Remove files generated on previous buildconf/configure run,
...
and for debugging purposes show ACLOCAL_FLAGS.
2008-07-28 15:15:13 +00:00
Yang Tse
7634091325
for debugging purposes show ACLOCAL_FLAGS
2008-07-28 15:13:31 +00:00
Yang Tse
bdc8f59c17
ignore another file that might be generated
2008-07-28 12:36:51 +00:00
Yang Tse
817efbc29c
These lines were unintentionally removed in previous commit
2008-07-27 23:43:53 +00:00
Yang Tse
d2661cb4b2
Partially undo change that prevented SED, GREP, EGREP and AR from being changed by libtool or autoconf.
2008-07-27 22:25:07 +00:00
Yang Tse
9b0110f50c
Assert that SED and GREP are set
2008-07-27 21:47:22 +00:00
Yang Tse
5876381f86
Require autoconf 2.57 or newer
2008-07-27 20:29:04 +00:00
Yang Tse
c4edc25d01
When calling aclocal, user defined ACLOCAL_FLAGS will now precede ours.
2008-07-27 18:10:54 +00:00
Yang Tse
36361d14cf
For debugging purposes, run aclocal in verbose mode on SunOS systems.
2008-07-27 17:24:37 +00:00
Yang Tse
c8fe5f485c
move ACLOCAL_AMFLAGS after AUTOMAKE_OPTIONS
2008-07-27 16:37:02 +00:00
Yang Tse
1ac1212925
setup.h handles definition of _REENTRANT based on NEED_REENTRANT
...
definition which might be defined in config.h or config-*.h files
2008-07-27 03:16:37 +00:00
Yang Tse
3d4fb5136d
Remove explicit inclusion of our m4 files first. It was interesting as a test,
...
but it breaks aclocal execution on some systems, with the following error:
Can't locate object method "rel2abs" via package "File::Spec" at /usr/local/bin/aclocal line 256.
2008-07-27 02:41:13 +00:00
Dan Fandrich
b6b03c8ab9
Added feature in runtests.pl to select tests based on key word.
2008-07-27 02:34:27 +00:00
Dan Fandrich
432945e422
Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
...
address in an IPv6 capable libcurl.
2008-07-27 02:20:34 +00:00
Yang Tse
052f9ddedb
Another step towards detecting if _REENTRANT is already defined or actually
...
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.
2008-07-27 01:36:33 +00:00
Daniel Stenberg
a96784b98e
- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
...
overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240 ) identifying two
problems, and providing the fix for them:
- CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is
designed for but paused _receiving_ of data!
- libcurl didn't internally set the read counter to zero when this return
code was detected, which would potentially lead to junk getting sent to
the server.
2008-07-26 21:15:47 +00:00
Dan Fandrich
e06944438a
Added test 1044 to test large file support in ftp with -I.
2008-07-26 20:09:36 +00:00
Yang Tse
fa1009b6fc
Explicitly include our m4 files first. This might minimize the impact
...
that other package's underquoted m4 function definitions have on ours.
2008-07-26 14:45:16 +00:00
Yang Tse
b377e857bd
simplify multi '#' char comment line
2008-07-26 12:11:22 +00:00
Yang Tse
9a806f667b
Add a 3 argument check for getprotobyname_r
2008-07-26 01:24:50 +00:00
Yang Tse
979c9ce8e3
additional debug logging of getprotobyname_r on Tru64 and AIX
2008-07-26 01:00:41 +00:00
Yang Tse
b217e6eed7
No longer hide aclocal 'underquoted definition' warnings.
...
http://sources.redhat.com/automake/automake.html#Extending-aclocal documents
that starting with Automake 1.8, aclocal will warn about all underquoted calls
to AC_DEFUN due to the fact that in a single aclocal run it might include more
than once all .m4 files which it finds available, this includes .m4 files from
other software packages.
If the first argument to AC_DEFUN is underquoted and the same macro is included
more than once, successive inclusions after the first one will expand the macro
instead of assuming it is the same as the first one included.
2008-07-26 00:19:03 +00:00
Yang Tse
6b7e74a030
move reentrant.m4 to the m4 subdirectory to avoid infinite loop inclusion problem
2008-07-25 13:21:14 +00:00
Yang Tse
7fdeb14e6d
add checks for strtok_r and getprotobyname_r
2008-07-24 18:02:44 +00:00
Yang Tse
8a323f8354
Another step towards detecting if _REENTRANT is already defined or actually
...
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.
Introduced reentrant.m4 intended for our reentrant related autotools/m4 macros.
2008-07-24 15:20:35 +00:00
Yang Tse
a7abd5bf70
ignore curllib.vcproj
2008-07-24 15:11:24 +00:00
Dan Fandrich
932b589780
Changed the long logfile elision code in runtests.pl to properly handle
...
lines ending in \r.
2008-07-24 02:16:48 +00:00
Dan Fandrich
27c282a6ee
Mention that the test harness can't check every possible feature.
2008-07-23 23:03:52 +00:00
Dan Fandrich
5373289574
Eliminated references to TRUE and FALSE since those identifiers aren't
...
defined by the libcurl API. Also changed curl_easy_setopt examples to
pass longs where appropriate.
2008-07-23 22:02:03 +00:00
Daniel Stenberg
7d0eabaa80
- I went over the curl_easy_setopt man page and replaced most references to
...
non-zero with the fixed value of 1. We should strive at making options
support '1' for enabling them mentioned explicitly, as that then will allow
us for to extend them in the future without breaking older programs.
2008-07-23 20:53:04 +00:00
Dan Fandrich
e7f5d12cb6
Simplified Minix compile instructions and added some special cases.
2008-07-23 18:17:25 +00:00
Yang Tse
f14e020370
reorder argument number detection for getservbyport_r to
...
actually verify if the test is properly working
2008-07-23 04:20:39 +00:00
Yang Tse
e933b28aaf
cleanup duplicate line
2008-07-22 19:13:35 +00:00
Yang Tse
1bc490077a
Make sure that configure process tests are done with the same _REENTRANT
...
setting as the one actually used when finally building the library.
2008-07-22 19:04:16 +00:00
Yang Tse
7d773abe50
checks for gethostbyaddr_r with 7 and 8 args now also done with -D_REENTRANT
...
checks for gethostbyname_r with 5 and 6 args now also done with -D_REENTRANT
2008-07-22 18:56:46 +00:00
Yang Tse
f22114aeed
minor reordering in OS/400 config/setup files
2008-07-22 00:12:06 +00:00
Yang Tse
0919de4511
Change recvfrom's sixth argument data type to the 'historically standard' 'int'
...
data type for systems where this sixth argument is prototyped as a void pointer.
Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
2008-07-21 18:24:32 +00:00
Gisle Vanem
3e5292a052
Undefine 'byte' due to dict.c.
2008-07-21 15:39:54 +00:00
Yang Tse
2066d60b16
use prototypes to improve getservbyport_r detection
2008-07-21 14:01:46 +00:00
Yang Tse
51e84c77e7
fix compiler warning: implicit conversion from "long" to "int"
2008-07-21 09:23:56 +00:00
Yang Tse
775d9e0615
fix compiler warning: comparison between signed and unsigned
2008-07-21 03:59:23 +00:00
Yang Tse
a20d55fb64
Adjust recvfrom's sixth arg data type definition for NetWare (LIBC)
2008-07-21 03:50:02 +00:00
Yang Tse
1b37baf656
Use the sreadfrom() wrapper to replace recvfrom() in our code.
2008-07-21 03:06:07 +00:00
Yang Tse
bffe69a151
when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
...
now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID
or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
2008-07-21 00:36:55 +00:00
Yang Tse
71525352f0
Adjust DEC/Compaq C compiler settings
2008-07-20 17:18:29 +00:00
Yang Tse
facc5f7ec5
Remove showing additional info needed to debug configure
...
failure to properly detect recvfrom arg types on Solaris
2008-07-20 09:51:52 +00:00
Yang Tse
184229b1e5
Added "pointer to void" as another data type to check for the sixth argument of
...
function recvfrom as a result of the info additionally logged when running on a
Solaris system.
The compiler error showed that the prototype being used on Solaris was the one
declared in line 427 of "/usr/include/sys/socket.h" as:
function(int,
pointer to void,
unsigned int,
int,
pointer to struct sockaddr,
pointer to void) returning int
2008-07-20 09:46:52 +00:00
Yang Tse
3e488c4f19
Temporarily show additional info needed to debug configure
...
failure to properly detect recvfrom arg types on Solaris
2008-07-19 18:32:27 +00:00
Yang Tse
3f84e373ac
Adjust DEC/Compaq C compiler settings
2008-07-19 11:27:45 +00:00
Patrick Monnerat
ac6d6ec2f1
README.OS400 update for new string options.
2008-07-18 14:46:52 +00:00
Patrick Monnerat
f11d5d9de8
README.OS400 update for new string options.
2008-07-18 14:43:17 +00:00
Dan Fandrich
ed2dbefa73
Fixed the XML syntax of a few test files.
2008-07-17 22:39:23 +00:00
Yang Tse
39f23aec6b
RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
...
to the data type pointed by its respective argument and not the pointer type.
2008-07-17 03:07:54 +00:00
Yang Tse
362422641e
fix comment
2008-07-16 19:24:03 +00:00
Yang Tse
a9dc900515
Configure process now checks availability of recvfrom() socket function and
...
finds out its return type and the types of its arguments. Added definitions
for non-configure systems config files, and introduced macro sreadfrom which
will be used on udp sockets as a recvfrom() wrapper.
2008-07-16 19:16:41 +00:00
Yang Tse
3a705696af
Initial DEC/Compaq C compiler detection and flags
2008-07-16 14:17:56 +00:00
Yang Tse
2cfb8a2bf0
Improved configure detection of number of arguments for getservbyport_r
2008-07-16 12:26:09 +00:00
Yang Tse
21ee1c2d01
Allow --enable-largefile and --disable-largefile configurations.
...
Configure process no longer needs nor checks size of curl_off_t.
Library will now be built with _REENTRANT symbol defined.
2008-07-15 16:43:39 +00:00
Yang Tse
a00febe1a0
add comment for include paths
2008-07-15 13:54:30 +00:00
Yang Tse
1e7125ae7b
add comment for include paths
2008-07-15 05:46:49 +00:00
Dan Fandrich
aa4a7471dd
Added test1042 and test1043 to test -C - on HTTP.
2008-07-15 04:12:15 +00:00
Dan Fandrich
69a03ce23c
Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it's
...
added to DISABLED.
2008-07-15 03:36:38 +00:00
Yang Tse
0f50cd7623
Move _REENTRANT definition earlier in lib/setup.h
2008-07-14 17:31:39 +00:00
Yang Tse
669c555874
Removed inclusion of remaining system header files from configuration files.
...
These are included from lib/setup.h or specific source code file.
2008-07-14 16:58:34 +00:00
Yang Tse
1cfb73a129
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h
2008-07-14 16:10:29 +00:00
Yang Tse
2a585c2fba
Remove duplicate file inclusions. These are already done in lib/setup.h
...
and lib/setup_once.h
2008-07-14 15:58:02 +00:00
Yang Tse
32a83128e6
Remove duplicate file inclusions. These are already done in lib/setup.h
2008-07-14 15:30:26 +00:00
Yang Tse
fe7bb33af8
HTTP_ONLY definition check in lib/setup.h is now done once that configuration
...
file has been included. In this way if symbol is defined in the config file
it will no longer be ignored.
2008-07-14 12:39:50 +00:00
Yang Tse
da6fa34f02
fix multiple header inclusion prevention definition
2008-07-11 18:59:00 +00:00
Yang Tse
37a358ab93
move multiple header inclusion prevention definition to top of file
2008-07-11 18:52:35 +00:00
Yang Tse
3452c8d693
Added missing multiple header inclusion prevention definition
2008-07-11 18:42:30 +00:00
Dan Fandrich
336992cc54
Fixed test 553 to pass the torture test.
2008-07-11 18:23:06 +00:00
Dan Fandrich
13afcbd1eb
Avoid a potential zombie process when killing an old ftpserver
2008-07-11 17:18:37 +00:00
Daniel Stenberg
e58a3fd0aa
document the exit codes 82 and 83 that are new in 7.19.0
2008-07-11 10:50:30 +00:00
Daniel Stenberg
57625b6c4c
indent and comment cleanup (no code change)
2008-07-11 09:18:30 +00:00
Daniel Stenberg
0d058d2174
- Daniel Fandrich found out we didn't pass on the user-agent properly when
...
doing "proxy-tunnels" with non-HTTP prototols and that was simply because
the code assumed the user-agent was only needed for HTTP.
2008-07-11 09:08:27 +00:00
Dan Fandrich
8d49a8f278
Added test cases 1038 and 1039 to test Adrian Kreher's report that ftp
...
uploads with -C - didn't resume properly, but the tests pass.
2008-07-11 05:08:06 +00:00
Dan Fandrich
b4b6cfdb1c
Changed slightly the SFTP quote commands chmod, chown and chgrp to only
...
set the attribute that has changed instead of all possible ones. Hopefully,
this will solve the "Permission denied" problem that Nagarajan Sreenivasan
reported when setting some modes, but regardless, it saves a protocol
round trip in the chmod case.
2008-07-11 04:38:11 +00:00
Daniel Stenberg
6b7ccde156
(Added in the section for CURLOPT_DNS_CACHE_TIMEOUT, pointed out on the
...
curl-library list on July 9th 2008 by Mathew Hounsell)
NOTE: the name resolve functions of various libc implementations don't re-read
name server information unless explicitly told so (by for example calling
Ires_init(3). This may cause libcurl to keep using the older server even
if DHCP has updated the server info, and this may look like a DNS cache issue
to the casual libcurl-app user.
2008-07-10 22:24:11 +00:00
Daniel Stenberg
9b0fd007fd
--remote-name-all
2008-07-10 20:29:27 +00:00
Dan Fandrich
6f3ef94836
Fixed another OOM problem, this time with test 64.
2008-07-10 18:15:22 +00:00
Yang Tse
08ac9866e0
Peter Lamberg filed bug report #2015126 : "poll gives WSAEINVAL when POLLPRI
...
is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126 ) which
exactly pinpointed the problem only triggered on Windows Vista, provided
reference to docs and also a fix. There is much work behind Peter Lamberg's
excellent bug report. Thank You!
2008-07-10 18:01:44 +00:00
Daniel Stenberg
a17fadea3a
updated to match current reality
2008-07-10 13:40:59 +00:00
Yang Tse
e30bbfd85d
fix compiler warning
2008-07-10 08:21:48 +00:00
Daniel Stenberg
120f9d81b2
s/muse/must
2008-07-10 08:00:05 +00:00
Daniel Stenberg
fa38839a80
document --remote-name-all
2008-07-10 07:53:10 +00:00
Yang Tse
d8f109176c
fallback to gettimeofday when monotonic clock is unavailable at run-time
2008-07-10 07:16:45 +00:00
Dan Fandrich
bbb1b99ce1
Added tests 1036 and 1037 to verify resumed ftp downloads with -C -
2008-07-10 06:09:03 +00:00
Daniel Stenberg
0cd8840dba
- Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I
...
edited it slightly. Now you should be able to use IPv6 addresses fine even
with libcurl built to use c-ares.
2008-07-09 18:39:49 +00:00
Dan Fandrich
d4b253ba3e
Fixed an OOM handling problem that cause test 11 to fail the torture test.
2008-07-09 18:33:35 +00:00
Yang Tse
aee7fc118b
since Jun 30 2008 MAXHOSTNAMELEN define is no longer used
2008-07-09 16:38:55 +00:00
Dan Fandrich
60f0b4fffe
Fixed test 554 to pass the torture test.
2008-07-08 21:16:18 +00:00
Gisle Vanem
a95e600eb0
Added libidn libs as needed. Added compilation of sendrecv.c
...
and cookie_interface.c.
2008-07-08 13:55:20 +00:00
Dan Fandrich
a25959184e
Added test cases 1034 & 1035 to test IDN name conversion failures.
2008-07-07 23:52:52 +00:00
Daniel Stenberg
0e5da5b8bc
- Scott Barrett provided a test case for a segfault in the FTP code and the
...
fix for it. It occured when you did a FTP transfer using
CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but
switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being
cleared properly. Scott's test case is now known as test 539 and it
verifies the fix.
2008-07-07 20:37:07 +00:00
Patrick Monnerat
ddfa4b8896
New options added to OS400 wrapper and ILERPG definitions.
...
Wrong defines (typos) for QSSL layer fixed.
2008-07-07 10:39:46 +00:00
Yang Tse
d816a11bca
fix c-ares version reported in generated libcares.pc file when building
...
from CVS tree.
2008-07-07 02:11:21 +00:00
Yang Tse
7820391cb9
fix compiler warning: empty body in an if-statement
2008-07-05 03:31:41 +00:00
Yang Tse
148866bc73
mention that egrep and ar are also mandatory
2008-07-05 03:12:47 +00:00
Yang Tse
0b57c47547
egrep and ar are also mandatory
2008-07-04 04:03:55 +00:00
Daniel Stenberg
02db4450df
just to clarify that c-ares actually have some ipv6 support
2008-07-03 11:41:11 +00:00
Daniel Stenberg
ed7af82bdf
ares_gethostbyname() fallback from AAA to A records with CNAME present
2008-07-03 11:34:34 +00:00
Daniel Stenberg
e3b5673e98
- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup and
...
the target host has only A records, it automatically falls back to an
AF_INET lookup and gives you the A results. However, if the target host has
a CNAME record, this behaviour is defeated since the original query does
return some data even though ares_parse_aaa_reply() doesn't consider it
relevant. Here's a small patch to make it behave the same with and without
the CNAME.
2008-07-03 11:32:35 +00:00
Daniel Stenberg
82412f218f
Phil Blundell provided a fix for libcurl's treatment of unexpected 1xx
...
response codes. Previously libcurl would hang on such occurances. I added
test case 1033 to verify.
2008-07-03 08:47:53 +00:00
Daniel Stenberg
7c648782bc
Introcuding a new timestamp for curl_easy_getinfo():
...
CURLINFO_APPCONNECT_TIME. This is set with the "application layer"
handshake/connection is completed (typically SSL, TLS or SSH). By using this
you can figure out the application layer's own connect time. You can extract
the time stamp using curl's -w option and the new variable named
'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
2008-07-03 06:56:03 +00:00
Dan Fandrich
ee64d14733
Support Open Watcom C on Linux (as well as Windows).
2008-07-02 18:34:00 +00:00
Yang Tse
bfaab6ed6b
The configure process will now halt when sed or grep are unavailable
2008-07-02 17:42:08 +00:00
Yang Tse
97333deb3f
fallback to gettimeofday when monotonic clock is unavailable at run-time
2008-07-02 03:04:56 +00:00
Daniel Stenberg
400d9d4205
- Rolland Dudemaine provided fixes to get libcurl to build for the INTEGRITY
...
operating system.
2008-07-01 21:53:47 +00:00
Daniel Stenberg
ad1145a201
CreateConnection collided with a function using the exact same name in the
...
INTEGRITY RTOS, so I renamed it to create_conn. It then made sense to also
rename SetupConnection to setup_conn to match it.
2008-07-01 21:53:18 +00:00
Yang Tse
513c22df3b
IBM C/C++ compiler predefined macro check
2008-07-01 10:29:25 +00:00
Yang Tse
b5afd53138
set earlier in configure process IBM compilers optimization flags
2008-07-01 00:30:44 +00:00
Yang Tse
72b4b3c7f8
make check message wording more precise
2008-06-30 14:10:27 +00:00
Daniel Stenberg
eb60ba23f5
- Stephen Collyer and Tor Arntsen helped identify a flaw in the range code
...
which output the range using a signed variable where it should rather use
unsigned.
2008-06-30 13:07:05 +00:00
Daniel Stenberg
69aac49f79
made %llu work for printing unsigned long longs, added the generic curl source
...
header
2008-06-30 12:58:15 +00:00
Daniel Stenberg
67f139e016
- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
...
not posix or anything and thus c-ares failed to build on hurd (and possibly
elsewhere). The define was also somewhat artificially used in the windows
port. Now, I instead rewrote the use of gethostbyname to enlarge the host
name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN
define. I thus also removed the defien from the namser.h file where it was
once added for the windows build.
I also fixed init_by_defaults() function to not leak memory in case if
error.
2008-06-30 12:48:25 +00:00
Daniel Stenberg
654f047302
minor language fix
2008-06-30 09:39:26 +00:00
Yang Tse
e6c23672b2
fix C style comment
2008-06-29 11:08:52 +00:00
Yang Tse
1058e5fdde
John Lightsey filed bug report #1999181 : "CLOCK_MONOTONIC always fails on
...
some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181 ). The problem was
that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test
macro when checking monotonic clock availability. This is now fixed and the
monotonic clock will not be used unless the feature test macro is defined
with a value greater than zero indicating always supported.
2008-06-29 03:19:20 +00:00
Daniel Stenberg
6929d9355f
let's try to maintain compatibility with NSS 3.11.x
2008-06-26 07:53:44 +00:00
Dan Fandrich
8c377ad965
Honour --stderr with the -v option.
...
Fixed a file handle leak in the command line client if more than one
--stderr option was given.
2008-06-26 01:43:53 +00:00
Daniel Stenberg
a81a16beac
Added README.NSS to describe the current NSS situation.
2008-06-24 08:52:35 +00:00
Daniel Stenberg
d92945bb8a
- Eduard Bloch filed the debian bug report #487567
...
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567 ) pointing out that
libcurl used Content-Range: instead of Range when doing a range request with
--head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to
verify.
2008-06-22 20:38:16 +00:00
Dan Fandrich
90a6a59a2f
Stopped using ranges in scanf character sequences (e.g. %[a-z]) since that
...
is not ANSI C, just a common extension. This caused problems on
at least Open Watcom C.
2008-06-22 06:57:00 +00:00
Daniel Stenberg
8bae3d9007
Oops, that was an experimental change not meant to be committed!
2008-06-21 21:21:29 +00:00
Daniel Stenberg
98042b858d
made Curl_nss_send() take const data to kill compiler warning
2008-06-21 21:19:42 +00:00
Dan Fandrich
a837bd08b0
Edited some test keywords for consistency
2008-06-21 17:56:48 +00:00
Yang Tse
2c61e9c76a
Modified configuration script to actually verify if the compiler is good
...
enough at detecting compilation errors or at least it has been properly
configured to do so. Configuration heavily depends on this capability, so
if this compiler sanity check fails the configuration process will now fail.
2008-06-20 18:09:48 +00:00
Daniel Stenberg
da97f78ae0
- Phil Pellouchoud found a case where libcurl built with NSS failed to
...
handshake with a SSLv2 server, and it turned out to be because it didn't
recognize the cipher named "rc4-md5". In our list that cipher was named
plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported
that it made things work for him again.
2008-06-20 11:15:54 +00:00
Daniel Stenberg
2e1a9da5e2
remove leftover proto that isn't used, I made it a macro instead
2008-06-20 10:45:26 +00:00
Daniel Stenberg
422fd933f5
- Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxy
...
crashed libcurl. This is now addressed by making sure we use "plain send"
internally when doing the socks handshake instead of the Curl_write()
function which is designed to use the "target" protocol. That's then SCP or
SFTP in this case. I also took the opportunity and cleaned up some ssh-
related #ifdefs in the code for readability.
2008-06-20 10:43:32 +00:00
Daniel Stenberg
2594124825
minor language fix
2008-06-19 22:24:21 +00:00
Daniel Stenberg
d09b6ecaa5
- Christopher Palow fixed a curl_multi_socket() issue which previous caused
...
libcurl to not tell the app properly when a socket was closed (when the name
resolve done by c-ares is done) and then immediately re-created and put to
use again (for the actual connection). Since the closure will make the
"watch status" get lost in several event-based systems libcurl will need to
tell the app about this close/re-create case.
2008-06-19 21:32:51 +00:00
Daniel Stenberg
fb2e71b9bd
- Dengminwen found a bug in the connection re-use function when using the
...
multi interface with pipelining enabled as it would wrongly check for,
detect and close "dead connections" even though that connection was already
in use!
2008-06-19 08:31:22 +00:00
Daniel Stenberg
68b67e24f2
Removed the #define of ciphernum since keeping a define updated to be the
...
number of entries in a provided table is doomed to fail in the long run. Now
we use the NUM_OF_CIPHERS define instead to figure out the amount.
2008-06-19 05:47:27 +00:00
Daniel Stenberg
c1e2341f0a
s/strcasecmp/strequal to make it more portable
2008-06-19 05:42:45 +00:00
Dan Fandrich
70d834c512
Always use $LOGDIR when referring to the log directory.
2008-06-19 01:12:02 +00:00
Dan Fandrich
65ee4e4555
Fixed a memory leak in the command-line tool that caused a valgrind error.
2008-06-19 00:30:02 +00:00
Dan Fandrich
5304b13365
Added SSH failure test cases 628-632
2008-06-19 00:18:58 +00:00
Daniel Stenberg
e547bfa933
- Rob Crittenden brought a fix for the NSS layer that makes libcurl no longer
...
always fire up a new connection rather than using the existing one when the
multi interface is used. Original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=450140
2008-06-18 22:01:55 +00:00
Daniel Stenberg
36ddb13d1f
removed warning about unused argument by simply removing that argument from
...
the check_issuer_cert() proto
2008-06-18 21:50:40 +00:00
Daniel Stenberg
74e3def5b3
check_issuer_cert() now builds and there's one warning less. Still one compiler
...
warning in the code though but we need NSS' base64.h header for that and we
don't currently have a suitable way to include it as our own base64.h header
kind of "blocks" it.
2008-06-18 21:48:51 +00:00
Yang Tse
24d41452b0
No longer break out of a shell "for" statement from inside
...
AC_FOO_IFELSE macros, otherwise temp files are not removed.
Identation adjustment.
2008-06-18 04:39:29 +00:00
Daniel Stenberg
2597020d22
In checkPendPipeline() we can't be setting the TIMER_CONNECT correctly as that
...
is for the TCP connect. I changed it to TIMER_PRETRANSFER which seems to be
what was intended here.
2008-06-13 21:16:10 +00:00
Daniel Stenberg
2d0fea2650
fixed the language somewhat
2008-06-13 20:45:34 +00:00
Dan Fandrich
c1a71ad14f
Fixed curl-config --ca which wasn't being exported by configure.
2008-06-13 00:03:12 +00:00
Dan Fandrich
024c7641a9
Added IPv6 keywords for some more tests that require IPv6 networking support
2008-06-12 23:50:57 +00:00
Daniel Stenberg
5c56bdf229
fixed bad infof() usage!
2008-06-12 22:00:35 +00:00
Daniel Stenberg
af779fa57c
added the versions of a range of build tools that we want to remain to work
2008-06-12 21:16:00 +00:00
Daniel Stenberg
9918541795
My first attempt at documenting what we try to support and make curl run with
...
in regard to C standard, third party libraries and operating systems etc.
2008-06-12 21:03:16 +00:00
Daniel Stenberg
04d5c8fb77
- I did a cleanup of the internal generic SSL layer and how the various SSL
...
libraries are supported. Starting now, each underlying SSL library support
code does a set of defines for the 16 functions the generic layer (sslgen.c)
uses (all these new function defines use the prefix "curlssl_"). This
greatly simplified the generic layer in readability by involving much less
#ifdefs and other preprocessor stuff and should make it easier for people to
make libcurl work with new SSL libraries.
Hopefully I can later on document these 16 functions somewhat as well.
I also made most of the internal SSL-dependent functions (using Curl_ssl_
prefix) #defined to nothing when no SSL support is requested - previously
they would unnecessarily call mostly empty functions.
2008-06-11 17:01:58 +00:00
Yang Tse
5980b3cbb0
fix compiler warning: conversion from pointer to void' to pointer to int
...
function(pointer to char,int,int,pointer to void)' is compiler dependent
2008-06-11 15:26:04 +00:00
Gunter Knauf
10074bfcc6
enable additional CFLAGS from commandline.
2008-06-11 00:07:08 +00:00
Daniel Stenberg
3940e69c91
fix warning in GnuTLS build by making sure Curl_gtls_send() takes a const
...
void *
2008-06-10 21:53:59 +00:00
Daniel Stenberg
0ace5f6553
- I made the OpenSSL code build again with OpenSSL 0.9.6. The CRLFILE
...
functionality killed it due to its unconditional use of
X509_STORE_set_flags...
2008-06-10 20:49:17 +00:00
Michal Marek
b8a9f19515
CURLOPT_CRLFILE and CURLOPT_ISSUERCERT are new string options
2008-06-09 11:13:19 +00:00
Yang Tse
6cd007838d
fix pkg-config reporting of private libraries needed for static linking
2008-06-09 01:06:48 +00:00
Gunter Knauf
72870e2c57
enable additional CFLAGS from commandline.
2008-06-08 22:29:34 +00:00
Daniel Stenberg
9c8997cbe4
7.19.0 is next
2008-06-08 22:00:42 +00:00
Daniel Stenberg
c6efb82526
the next release is now called 7.19.0
2008-06-08 21:04:46 +00:00
Daniel Stenberg
5abfdc0140
- curl the tool now deals with its command line options somewhat differently!
...
All boolean options (such as -O, -I, -v etc), both short and long versions,
now always switch on/enable the option named. Using the same option multiple
times thus make no difference. To switch off one of those options, you need
to use the long version of the option and type --no-OPTION. Like to disable
verbose mode you use --no-verbose!
- Added --remote-name-all to curl, which if used changes the default for all
given URLs to be dealt with as if -O is used. So if you want to disable that
for a specific URL after --remote-name-all has been used, you muse use -o -
or --no-remote-name.
2008-06-08 20:53:49 +00:00
Gunter Knauf
d8bc4a0e9a
use our *printf functions only.
2008-06-08 15:52:03 +00:00
Daniel Stenberg
8ad2fdd71e
Moved all changes from 2007 from CHANGES to CHANGES.0
2008-06-06 22:11:24 +00:00
Daniel Stenberg
a2e45a2211
code style cleanup
2008-06-06 20:57:32 +00:00
Daniel Stenberg
621c2b9015
- Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, for
...
OpenSSL, NSS and GnuTLS-built libcurls.
2008-06-06 20:52:32 +00:00
Yang Tse
b39d1e9b9d
MSVC does build Windows native targets
2008-06-06 18:44:39 +00:00
Daniel Stenberg
e1c456407e
mention added in 7.18.3
2008-06-06 18:40:58 +00:00
Daniel Stenberg
3fe8251dfb
- Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, for
...
OpenSSL, NSS and GnuTLS-built libcurls.
2008-06-06 18:40:21 +00:00
Daniel Stenberg
930a45e7a9
- Added CURLINFO_PRIMARY_IP as a new information retrievable with
...
curl_easy_getinfo. It returns a pointer to a string with the most recently
used IP address. Modified test case 500 to also verify this feature. The
implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
2008-06-06 17:33:35 +00:00
Daniel Stenberg
afc66554d7
7.18.2 is done now
2008-06-05 12:33:33 +00:00
Dan Fandrich
998ab15570
Mention the minimum Symbian OS version required.
2008-06-05 00:15:01 +00:00
Dan Fandrich
c0d258ca17
Mention a few options that require an argument in --help
2008-06-04 23:44:53 +00:00
Daniel Stenberg
230e4547e8
start working on 7.18.3!
2008-06-04 16:05:48 +00:00
Daniel Stenberg
4cf33909ee
new contributors from the 7.18.2 release
2008-06-04 16:03:54 +00:00
Daniel Stenberg
323273382c
7.18.2
2008-06-04 15:38:27 +00:00
Dan Fandrich
6f0a2608b4
Fixed a problem where telnet data would be lost if an EWOULDBLOCK
...
condition were encountered.
2008-06-03 18:03:11 +00:00
Dan Fandrich
ea86edbd82
Fixed typo in comment
2008-06-03 18:00:48 +00:00
Daniel Stenberg
e7b5a8e6cb
curl returns 0 for these options now
2008-06-01 22:10:21 +00:00
Daniel Stenberg
27eaf0cf02
now returns 0
2008-06-01 22:04:09 +00:00
Daniel Stenberg
c84904d8c8
(committed this for Marty Kuhrt:)
...
- Updated main.c to return CURLE_OK if PARAM_HELP_REQUESTED was returned
from getparameter instead of CURLE_FAILED_INIT. No point in returning
an error if --help or --version were requested.
2008-06-01 17:59:53 +00:00
Marty Kuhrt
01e1c85304
return CURLE_OK instead of CURLE_FAILED_INIT if PARAM_HEKP_REQUESTED returned by getparameter
2008-06-01 16:01:37 +00:00
Yang Tse
4774582dfb
Fix problem: 'result' may be used uninitialized.
...
Issue detected by Guenter Knauf's NetWare autobuild.
2008-05-31 01:37:21 +00:00
Marty Kuhrt
1ed09ff7a4
updated to match curlmsg.msg 1.7
2008-05-30 23:53:25 +00:00
Marty Kuhrt
d89cf27d65
resync with curl.h messages
2008-05-30 23:52:06 +00:00
Marty Kuhrt
35d5ba2626
resync with curl.h curle_ messages
2008-05-30 23:51:09 +00:00
Yang Tse
e5f0c38fa9
Brad House fixed a missing header file inclusion in adig sample program
2008-05-30 15:26:42 +00:00
Daniel Stenberg
47925f3dd7
Added a new "13. Web Login" chapter
2008-05-29 21:48:15 +00:00
Daniel Stenberg
82c5950c7e
start working on 1.5.3
2008-05-29 20:39:18 +00:00
Daniel Stenberg
1806879bb2
1.5.2
2008-05-29 20:10:40 +00:00
Daniel Stenberg
998b046d70
Fixed 142 and 143
...
Moved 144 to 7.18.3 instead
2008-05-28 20:57:03 +00:00
Daniel Stenberg
ec4f6e93c2
- Emil Romanus found a problem and helped me repeat it. It occured when using
...
the curl_multi_socket() API with HTTP pipelining enabled and could lead to
the pipeline basically stalling for a very long period of time until it took
off again.
2008-05-28 20:56:19 +00:00
Daniel Stenberg
b49dcfb52b
- Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and
...
provided excellent repeat recipes. I fixed the cases I managed to reproduce
but Jeff still got some (SCP) problems even after these fixes:
http://curl.haxx.se/mail/lib-2008-05/0342.html
2008-05-28 20:31:28 +00:00
Yang Tse
c62d55342d
Known bug #55 , libcurl fails to build with MIT Kerberos for Windows (KfW)
...
due to KfW's library header files exporting symbols/macros that should be
kept private to the KfW library. See ticket #5601 at http://krbdev.mit.edu/rt/
2008-05-27 16:10:51 +00:00
Daniel Stenberg
f7815fa93c
- Bug report #1973352 ( http://curl.haxx.se/bug/view.cgi?id=1973352 ) identified
...
how the HTTP redirect following code didn't properly follow to a new URL if
the new url was but a query string such as "Location: ?moo=foo". Test case
1031 was added to verify this fix.
2008-05-26 20:39:41 +00:00
Daniel Stenberg
6e305e11e3
I'd like to see this fixed for the 7.18,2:
...
144 - Help apps use 64bit/LFS libcurl
2008-05-26 16:05:29 +00:00
Daniel Stenberg
b97606f0b0
Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS
2008-05-26 15:09:28 +00:00
Daniel Stenberg
f26154bfa9
Added Haiku OS, sorted the list of i386 OSes
2008-05-26 15:06:51 +00:00
Yang Tse
d220ac8582
fix compiler warning: unreferenced formal parameter
2008-05-26 13:52:25 +00:00
Yang Tse
c57e748107
David Rosenstrauch reported that header files spnegohelp.h and
...
openssl/objects.h were needed to compile SPNEGO support.
2008-05-26 03:10:34 +00:00
Yang Tse
d6f8f16068
fix: preprocessor complaining about macro redefinition
2008-05-26 01:59:00 +00:00
Daniel Stenberg
466429efb0
summary of the current outstanding issues for upcoming and the subsequent
...
releases
2008-05-24 19:28:31 +00:00
Daniel Stenberg
89977c73d1
Christopher Palow's multi interface docs updates
2008-05-24 19:19:49 +00:00
Daniel Stenberg
a9a05a32bd
Nikolai Kondrashov for his man page update
2008-05-24 11:20:11 +00:00
Daniel Stenberg
2045c79e37
Nikolai Kondrashov provided a clarification for CURLOPT_HEADERFUNCTION
2008-05-24 11:19:51 +00:00
Daniel Stenberg
e60b5245d3
list all local sources the (demo) tools need, add a few missing scripts to
...
the dist tarball and remove a two duplicate file names from EXTRA_DIST
(most of it pointed out by Yang Tse)
2008-05-23 21:52:56 +00:00
Daniel Stenberg
90bbabce56
this is not used (anymore)
2008-05-23 21:46:29 +00:00
Dan Fandrich
ddfbe8b649
Added some more to do items and a known bug.
2008-05-23 20:52:46 +00:00
Daniel Stenberg
d001f6a396
Dan Fandrich pointed out that this is the way we should increase the number
...
for 7.18.2 since we have added functions in this release.
http://curl.haxx.se/mail/lib-2008-05/0240.html
2008-05-23 17:56:03 +00:00
Dan Fandrich
d31da176eb
Made sure to pass longs in to curl_easy_setopt where necessary in the
...
libtest code.
2008-05-22 21:49:52 +00:00
Dan Fandrich
e664cd5826
Fixed a surprising number of example programs that were passing int arguments
...
to curl_easy_setopt instead of long.
2008-05-22 21:20:07 +00:00
Daniel Stenberg
b8abeab6d3
we bump the SO "revision" for next release due to the new functions added
2008-05-22 20:34:47 +00:00
Dan Fandrich
4aa176c127
Fixed some include file problems on Windows reported by David Rosenstrauch
2008-05-22 19:44:10 +00:00
Daniel Stenberg
498e939f0e
make sure the configure.ac file with the correct version number is shipped
...
in the tarball
2008-05-22 17:41:29 +00:00
Yang Tse
9a22b893b6
MSVC6+ clean-up targets must also remove acountry.exe
2008-05-22 16:10:57 +00:00
Yang Tse
76d0d40946
sync with reality
2008-05-22 15:31:06 +00:00
Dan Fandrich
791ad1210e
Renamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS
2008-05-21 21:36:42 +00:00
Dan Fandrich
100945694a
Removed some duplicated #includes
2008-05-21 21:08:31 +00:00
Yang Tse
abe2e6ecf7
fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty
2008-05-21 18:24:09 +00:00
Yang Tse
d8efc99217
fix: remove need and definition of HAVE_SOCKLEN_T symbol
2008-05-21 14:04:14 +00:00
Yang Tse
0163b5b8be
fix: socklen_t definition comment
2008-05-21 13:57:50 +00:00
Yang Tse
baee3996ab
When unable to properly detect gethostbyname_r() usage, configure
...
script will simply issue a warning and gethostbyname() will be used.
2008-05-20 17:30:41 +00:00
Yang Tse
8ad1928d93
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
2008-05-20 15:55:31 +00:00
Patrick Monnerat
24bf52bc69
Adapting last changes to OS400:
...
_ Updated packages/OS400/curl.inc.in with new definitions.
_ New connect/bind/sendto/recvfrom wrappers to support AF_UNIX sockets.
_ Include files line length shortened below 100 chars.
_ Const parameter in lib/qssl.[ch].
_ Typos in packages/OS400/initscript.sh.
2008-05-20 10:21:50 +00:00
Yang Tse
862049c490
fix underquoting of AC_LANG_PROGRAM arguments
2008-05-20 04:23:30 +00:00
Yang Tse
a8fc98aa30
if'def out private function ares__tvdiff(), it is not in use yet.
2008-05-20 01:24:19 +00:00
Yang Tse
d70f33748c
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
2008-05-20 01:03:45 +00:00
Daniel Stenberg
b006c31b7b
- When trying to repeat a multi interface problem I fell over a few multi
...
interface problems:
o with pipelining disabled, the state should never be set to WAITDO but
rather go straight to DO
o we had multiple states for which the internal function returned no socket
at all to wait for, with the effect that libcurl calls the socket callback
(when curl_multi_socket() is used) with REMOVE prematurely (as it would be
added again within very shortly)
o when in DO and DOING states, the HTTP and HTTPS protocol handler functions
didn't return that the socket should be waited for writing, but instead it
was treated as if no socket was needing monitoring so again REMOVE was
called prematurely.
2008-05-19 20:58:12 +00:00
Daniel Stenberg
ae45a462e0
with pipelining disabled, the state should never be set to WAITDO but rather
...
go straight to DO
we had multiple states for which the internal function returned no socket at
all to wait for, with the effect that libcurl calls the socket callback (when
curl_multi_socket() is used) with REMOVE prematurely (as it would be added
again within very shortly)
2008-05-19 20:58:01 +00:00
Daniel Stenberg
3cb0dd6685
when the multi handle was in DO and DOING states, the HTTP and HTTPS protocol
...
handler functions didn't return that the socket should be waited for writing,
but instead it was treated as if no socket was needing monitoring so REMOVE
was called prematurely
2008-05-19 20:57:28 +00:00
Daniel Stenberg
c2a84aa6f0
change the code style to be more curlish, and changed some of the output
...
to be more descriptive and finally set VERBOSE mode to 1 by default
2008-05-19 20:40:53 +00:00
Yang Tse
9346e55d5a
better select() function detection that works
...
even when cross compiling a Windows target.
2008-05-19 16:57:56 +00:00
Yang Tse
8fc2f8ef62
fix socklen_t equivalent detection when cross compiling Windows target
2008-05-19 12:31:11 +00:00
Yang Tse
512b9ac194
if WINSOCK2 API is used link with 'ws2_32', else
...
if WINSOCK API is used under WinCE link with 'winsock', else
if WINSOCK API is used link with 'wsock32'.
2008-05-19 02:50:29 +00:00
Yang Tse
560a82aeaf
on winsock systems linking is done using library 'ws2_32' when
...
winsock2.h is available, and library 'winsock' is used when only
winsock.h is available.
2008-05-18 20:13:13 +00:00
Yang Tse
7358db5c27
minor change for wince-cegcc and wince-mingw32ce support
2008-05-17 01:20:56 +00:00
Daniel Stenberg
e059efda1b
removed lots of warnings
2008-05-16 21:14:50 +00:00
Yang Tse
164a985115
millisecond resolution support followup
2008-05-15 22:57:33 +00:00
Dan Fandrich
ade57a781c
Included stdint.h to get the intptr_t type (needed on OpenBSD at least).
2008-05-15 22:31:23 +00:00
Daniel Stenberg
9f12ed83f2
ten days with no further response or feedback, removing:
...
136 - adding easy handles when using curl_multi_socket* by
Markus Koetter
2008-05-15 22:02:47 +00:00
Gisle Vanem
8aabd9839b
Replaced "-DHAVE_FIONBIO" with "-DHAVE_IOCTLSOCKET".
...
Added "-DHAVE_GETTIMEOFDAY". Trimmed lines.
2008-05-15 20:47:45 +00:00
Yang Tse
882fbb0433
sync with reality
2008-05-15 10:04:15 +00:00
Yang Tse
15eee5dbbb
remove compilation time generated files
2008-05-15 09:18:05 +00:00
Yang Tse
cfc1d037ff
use same time source for timeout initialization and processing
2008-05-15 00:00:19 +00:00
Dan Fandrich
c24ed07596
Reduced the required stack size.
2008-05-14 23:38:21 +00:00
Dan Fandrich
08aab6a620
Move the CURLDEBUG check after setup.h so it can be set there if necessary.
2008-05-14 23:36:26 +00:00
Yang Tse
2748c64d60
Improve toolchain detection for WinCE cross compilation:
...
When cross compiling WinCE with the arm-wince-cegcc-gcc C compiler
symbol __CEGCC__ is defined and the unix-like compatibility layer
is used. For our purposes this is not a native Windows build.
When cross compiling WinCE with the arm-wince-mingw32ce-gcc C compiler
symbol __MINGW32CE__ is defined and the unix-like compatibility layer
is not used. For our purposes this _is_ a native Windows build.
2008-05-14 19:42:17 +00:00
Yang Tse
c4f1ab3cc5
remove duplicate check
2008-05-14 16:17:23 +00:00
Yang Tse
5e06ec8409
skip checks for Windows specific header files
...
when build target is not a native Windows one
2008-05-14 16:14:35 +00:00
Yang Tse
04d0a84ae5
WinCE cross compilation adjustments:
...
HAVE_WINSOCK2_H shall not be defined.
HAVE_WS2TCPIP_H shall not be defined.
2008-05-14 13:54:36 +00:00
Daniel Stenberg
c1dfe2c529
wait for all 129 bytes
2008-05-13 21:43:37 +00:00
Daniel Stenberg
7f88e8badb
Added test case 556 that uses curl_easy_send() and curl_easy_recv()
2008-05-13 21:42:07 +00:00
Daniel Stenberg
2f66ff2e4f
Three out of the four issues are now extinct.
2008-05-13 21:12:07 +00:00
Daniel Stenberg
76c251513e
- Introducing millisecond resolution support for the timeout option. See
...
ares_init_options()'s ARES_OPT_TIMEOUTMS.
2008-05-13 20:48:48 +00:00
Yang Tse
80afddacc8
also ignore this
2008-05-13 18:27:18 +00:00
Dan Fandrich
7543c9df50
Added curl_easy_recv & curl_easy_send Symbian exports.
...
Cleaned up Symbian files.
2008-05-13 17:50:03 +00:00
Yang Tse
83fb13329d
also ignore this
2008-05-13 17:23:01 +00:00
Yang Tse
e06c923605
ignore this compilation time generated files
2008-05-13 17:11:16 +00:00
Yang Tse
ab1169895f
don't keep in CVS this compilation time generated file
2008-05-13 17:03:28 +00:00
Yang Tse
01e81c7e10
add MSVC6 project for acountry sample program
2008-05-13 15:37:49 +00:00
Yang Tse
7bf1142ae0
update MSVC6 projects to use the multithreaded DLL runtime library
2008-05-13 15:34:22 +00:00
Yang Tse
af9f7a952b
add MSVC6 project for acountry sample program
2008-05-13 15:31:19 +00:00
Daniel Stenberg
514592b892
- Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
...
and receive data over a connection previously setup with curl_easy_perform()
and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
show how they can be used.
2008-05-12 21:43:24 +00:00
Yang Tse
d72efff878
skip libtool C++ preprocessor compiler and linker checks
2008-05-12 15:02:51 +00:00
Yang Tse
e4c60e2030
ignore libcares.pc
2008-05-12 12:22:23 +00:00
Yang Tse
ed80eb5b0f
configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
...
when function clock_gettime() is available and the monotonic timer is
also available. Otherwise, in some cases, librt or libposix4 could be used
for linking even when finally not using the clock_gettime() function due
to lack of the monotonic clock.
2008-05-12 02:04:21 +00:00
Yang Tse
60dd765b3d
fix syntax error: missing semicolon
2008-05-10 23:50:55 +00:00
Yang Tse
b380dd030f
Add library checking for clock_gettime() support
2008-05-10 15:46:08 +00:00
Yang Tse
19479ea021
Internal time differences now use monotonic time source if available.
...
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-09 16:31:51 +00:00
Yang Tse
d708ef6731
Use monotonic time source if available.
2008-05-09 16:30:24 +00:00
Daniel Stenberg
d1238baecb
Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is too
...
liberal for me. Also, autoconf 2.61 and earlier doesn't work with icc 10.1
for this macro. (2.62 confirmed to work though). See discusson on the mailing
list starting here:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2008-05/0001.shtml
2008-05-09 13:10:34 +00:00
Daniel Stenberg
0510759bc4
- Stefan Krause reported a busy-looping case when using the multi interface
...
and doing CONNECT to a proxy. The app would then busy-loop until the proxy
completed its response.
2008-05-09 12:59:24 +00:00
Daniel Stenberg
6d5cca5ed0
Removed an unused variable and one do-while loop that wasn't used either.
...
Added a few comments while at it.
2008-05-09 12:53:42 +00:00
Michal Marek
e2b82b4325
- Make Curl_write and it's callees accept a const pointer, in preparation
...
of tetetest's patch for curl_easy_send()
2008-05-09 11:27:54 +00:00
Daniel Stenberg
cf4570a06f
include strings.h (if available) for the strcasecmp() proto
2008-05-08 22:14:17 +00:00
Daniel Stenberg
6df5dddd90
check for strings.h in configure and use it for the strcasecmp() proto
2008-05-08 22:11:38 +00:00
Yang Tse
d4e9b141db
fix compiler warning: format '%ld' expects type 'long int'
2008-05-08 05:45:01 +00:00
Daniel Stenberg
ec0665a931
adjusted to work with the updated configure.ac
2008-05-07 21:27:35 +00:00
Daniel Stenberg
836fa69e2e
- Sebastian made c-ares able to return all PTR-records when doing reverse
...
lookups. It is not common practice to have multiple PTR-Records for a single
IP, but its perfectly legal and some sites have those.
2008-05-07 21:20:45 +00:00
Daniel Stenberg
9026dc2da4
- Doug Goldstein provided a configure patch: updates autoconf 2.13 usage to
...
autoconf 2.57 usage (which is the version you have specified as the minimum
version). It's a minor change but it does clean up some warnings with newer
autoconf (specifically 2.62).
2008-05-07 21:16:06 +00:00
Daniel Stenberg
98c9af4c59
-135 - Busy looping bug in multi_socket interface by
...
- Christopher Palow
2008-05-07 21:11:27 +00:00
Daniel Stenberg
e481d679b2
- Liam Healy filed the debian bug report #480044
...
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044 ) identifying a
segfault when using krb5 ftp, but the krb4 code had the same problem.
2008-05-07 21:02:21 +00:00
Yang Tse
eb68aa38e3
Christopher Palow provided the patch (edited by me) that introduces
...
the use of microsecond resolution keys for internal splay trees.
http://curl.haxx.se/mail/lib-2008-04/0513.html
2008-05-07 15:41:41 +00:00
Yang Tse
082237e2b5
fix compiler warning: enumerated type mixed with another type
2008-05-06 04:37:06 +00:00
Daniel Stenberg
dd08a7a4f6
mention four outstanding issues we should deal with before release
2008-05-05 22:27:28 +00:00
Yang Tse
a60c9ef88e
Improved parsing of resolver configuration files
2008-05-05 17:48:25 +00:00
Daniel Stenberg
4e3d235e04
- Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
...
built debug-enabled.
2008-05-03 22:04:39 +00:00
Daniel Stenberg
19da3606f9
minor spell and language fix of a comment
2008-05-03 21:49:16 +00:00
Daniel Stenberg
fc9e0d2249
- Ben Van Hof filed bug report #1945240 : "libcurl sometimes sends body twice
...
when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240 ).
The problem was that when libcurl rewound a stream meant for upload when it
would prepare for a second request, it could accidentally continue the
sending of the rewound data on the first request instead of on the second.
Ben also provided test case 1030 that verifies this fix.
2008-05-03 21:45:12 +00:00
Daniel Stenberg
21a0f09081
Added comments, check Curl_http_auth_act()'s return code and added a check
...
that closes the connection somewhat faster when perhapsrewind() has marked
the connection for closure.
2008-05-03 21:44:50 +00:00
Daniel Stenberg
b84b71f524
- Jean-Francois Bertrand reported a libcurl crash with CURLOPT_TCP_NODELAY
...
since libcurl used getprotobyname() and that isn't thread-safe. We now
switched to use IPPROTO_TCP unconditionally, but perhaps the proper fix is
to detect the thread-safe version of the function and use that.
http://curl.haxx.se/mail/lib-2008-05/0011.html
2008-05-03 13:43:35 +00:00
Daniel Stenberg
3d29bda9f8
- Bart Whiteley provided a patch that made libcurl work properly when an app
...
uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket
to a http server.
2008-05-01 21:34:34 +00:00
Daniel Stenberg
459c664043
53. SFTP busy-loop problem when doing SFTP uploads.
2008-05-01 20:58:38 +00:00
Dan Fandrich
45edad84cb
Document that variable replacement now takes place in the test file <stdout> section.
2008-05-01 17:48:00 +00:00
Daniel Stenberg
fd31f7e7e5
use variables to support other IPs and port numbers
2008-05-01 10:52:12 +00:00
Daniel Stenberg
7b2531da24
do variable replacement in the stdout data read from the test case
2008-05-01 10:51:16 +00:00
Dan Fandrich
848a13654d
Added precheck for hard-coded test server address and port
2008-05-01 00:20:01 +00:00
Dan Fandrich
1cca8f5a30
Made file XML compatible
2008-05-01 00:18:16 +00:00
Daniel Stenberg
12ffcf0b45
Christian Vogt told us about OS21 in
...
http://curl.haxx.se/mail/lib-2008-04/0443.html
2008-04-30 21:32:35 +00:00
Daniel Stenberg
852989856d
- To make it easier for applications that want lots of magic stuff done on
...
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
introduce the new CURLINFO_REDIRECT_URL option that lets applications
extract the URL libcurl would've redirected to if it had been told to. This
then enables the application to continue to that URL as it thinks is
suitable, without having to re-implement the magic of creating the new URL
from the Location: header etc. Test 1029 verifies it.
2008-04-30 21:20:08 +00:00
Yang Tse
7dfdbf8fbe
improved easy interface resolving timeout handling in c-ares enabled builds
2008-04-29 04:28:40 +00:00
Yang Tse
1eebb90030
improve easy interface resolving timeout handling in c-ares enabled builds
2008-04-29 04:18:02 +00:00
Dan Fandrich
ab71654078
Added test 1028 to test an HTTP redirect to a FTP URL.
2008-04-29 02:30:09 +00:00
Daniel Stenberg
7a6cff4b3a
- Norbert Frese filed bug report #1951588 : "Problem with curlftpfs and
...
libcurl" (http://curl.haxx.se/bug/view.cgi?id=1951588 ) which seems to be an
identical report to what Denis Golovan reported in
http://curl.haxx.se/mail/lib-2008-02/0108.html The FTP code didn't reset the
user/password pointers properly even though there might've been a new
struct/cconnection getting used.
2008-04-28 21:29:17 +00:00
Daniel Stenberg
c3ba2198b1
mention the automake problems and solution even though it doesn't strictly
...
caused any change in curl-related files
2008-04-26 22:02:07 +00:00
Dan Fandrich
ff748f1a41
Updated Symbian UIDs. Added .pkg files for creating .sis packages.
2008-04-25 22:49:18 +00:00
Yang Tse
b8193b6321
tests/libtest/delay.pl no longer used. The 'delay' attribute of the
...
test harness <command> subsection now provides this functionality.
2008-04-25 11:01:26 +00:00
Yang Tse
113d0937de
Add 'timeout' and 'delay' attributes support for the test harness <command> subsection
2008-04-25 04:19:50 +00:00
Dan Fandrich
d0a506661f
Made --stderr able to redirect all stderr messages.
2008-04-25 00:41:44 +00:00
Dan Fandrich
4e71173928
Reduced the requested Symbian capabilities.
...
Correctly noted what happens to stderr.
2008-04-24 23:24:57 +00:00
Yang Tse
e0f0a2ccee
<postcheck> delay no longer needed for this test.
...
http://curl.haxx.se/mail/lib-2008-04/0392.html
2008-04-23 23:58:00 +00:00
Yang Tse
96edebf4d9
improve synchronization between test harness runtests.pl script
...
and test harness servers to minimize risk of false test failures.
http://curl.haxx.se/mail/lib-2008-04/0392.html
2008-04-23 23:55:34 +00:00
Dan Fandrich
3783b455c0
Symbian OS is a.k.a. EPOC32
2008-04-23 18:29:44 +00:00
Dan Fandrich
7ee5238f5e
Mention that P.I.P.S. is needed for Symbian.
2008-04-23 18:14:25 +00:00
Dan Fandrich
b398169567
List extra files individually instead of by directory to avoid including
...
CVS directories.
2008-04-23 05:14:14 +00:00
Dan Fandrich
1960eebc2d
Added support for running on Symbian OS.
2008-04-22 22:53:53 +00:00
Yang Tse
ad1dd08693
fix minor memory leak triggered upon test failure
2008-04-22 13:07:27 +00:00
Yang Tse
95fd093c4a
Remove fflush() + fsync() previously introduced accelerated writing of
...
server input and response request files of the test harness sws server.
Reintroduce, for test # 1001, the <postcheck> small delay. The delay is
needed even with the accelerated writing of server input and response
request files in test harness sws server.
http://curl.haxx.se/mail/lib-2008-04/0385.html
2008-04-22 12:40:05 +00:00
Yang Tse
ed1ad28e29
Remove previously introduced small delay to verify if it can be avoided
...
with the accelerated writing of server input and response request files
in test harness sws server.
2008-04-22 00:23:18 +00:00
Dan Fandrich
7076505c24
Allocate the decompression buffer for the --manual option on the heap
...
instead of the stack.
2008-04-21 23:17:20 +00:00
Dan Fandrich
5825cf9457
Fixed typo in log message
2008-04-21 23:16:24 +00:00
Daniel Stenberg
ff40415aee
added Haskell binding, unified the formatting somewhat
2008-04-21 21:44:03 +00:00
Yang Tse
f48eb36f75
HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems
2008-04-21 19:17:42 +00:00
Dan Fandrich
768e3e796e
Ignore the result of the postcheck command in torture mode
2008-04-21 17:19:44 +00:00
Dan Fandrich
3869d4a3a7
Make the test work with nroffs that use special escaping for bold output.
2008-04-21 16:57:27 +00:00
Yang Tse
a87c468c5c
accelerate the writing of server input and response request files
...
to disk, trying to defeat file and disk write-behind algorithms
2008-04-20 19:15:08 +00:00
Dan Fandrich
7abf50a5c0
Added test cases 1026 and 1027 to do some rudimentary tests on the --manual
...
and --help options.
2008-04-18 22:31:52 +00:00
Yang Tse
d3f46eb61b
test 1001 needs a small delay between client part execution and test
...
result file verifications to allow the test server to completely write
out all files
2008-04-18 17:25:54 +00:00
Yang Tse
72c58b0d1d
test 1001 needs a small delay between client part execution and test
...
result file verifications to allow the test server to completely write
out all files
2008-04-18 17:17:14 +00:00
Yang Tse
6c89e1b311
fix compiler warning: enumerated type mixed with another type
2008-04-17 11:59:46 +00:00
Dan Fandrich
09777a4fc2
Some trivial changes
2008-04-17 00:45:33 +00:00
Daniel Stenberg
0331071346
Added test case 555, a variation of 547 but using multi interface instead of
...
easy. This was reported not working by Penugonda Chenna Reddy in
http://curl.haxx.se/mail/lib-2008-04/0046.html but I fail to repeat that
problem.
2008-04-16 21:11:46 +00:00
Daniel Stenberg
614ae7b2bc
Removed 129 and 130 due to lack of response on those issues
2008-04-16 14:48:01 +00:00
Michal Marek
af41ada7aa
allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as
...
discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html
2008-04-14 19:01:41 +00:00
Daniel Stenberg
6a33a4456e
- Stefan Krause reported a case where the OpenSSL handshake phase wasn't
...
properly acknowledging the timeout values, like if you pulled the network
plug in the midst of it.
2008-04-14 15:26:34 +00:00
Daniel Stenberg
e0c2a39ad4
- Andre Guibert de Bruet fixed a second case of not checking the malloc()
...
return code in the Negotiate code.
2008-04-14 15:22:45 +00:00
Daniel Stenberg
cda1f2be58
mention Sandor as contributor
2008-04-14 15:20:07 +00:00
Daniel Stenberg
79e06c4147
- Sandor Feldi reported bug #1942022
...
(http://curl.haxx.se/bug/view.cgi?id=1942022 ) pointing out a mistake in the
lib/Makefile.vc[68] makefiles' release-ssl-dll target.
2008-04-14 15:19:05 +00:00
Daniel Stenberg
ead2618c31
- Brock Noland reported that curl behaved differently depending on which order
...
you used -i and -I.
2008-04-14 14:42:06 +00:00
Daniel Stenberg
84eb9fee76
- Andre Guibert de Bruet found and fixed a case where malloc() was called but
...
was not checked for a NULL return, in the Negotiate code.
2008-04-12 11:50:51 +00:00
Daniel Stenberg
79300cdcd9
return 0 not -1 at end of data!
2008-04-12 08:35:04 +00:00
Dan Fandrich
a9591ad1b7
Added test case 1025 to test a command-line cookie with Location: following
2008-04-10 18:18:55 +00:00
Daniel Stenberg
098106b54c
mention what happens to the data when a write callback returns pause
2008-04-10 09:06:47 +00:00
Daniel Stenberg
74bb59fa57
clarify the COOKIE option a bit
2008-04-10 09:03:26 +00:00
Dan Fandrich
c97d112b30
Added test case 1024 to test a scenario similar to the one reported
...
by Ben Combee where libcurl would send the wrong cookie to a redirected
server. libcurl was doing the right thing in this test case.
2008-04-10 04:21:08 +00:00
Daniel Stenberg
2dc20b84c1
"tag" the function referals properly
2008-04-09 11:27:47 +00:00
Yang Tse
39b689f966
make previous compiler warning fix more portable
2008-04-07 19:12:35 +00:00
Yang Tse
6fd3ff4032
fix compiler warning: argument is incompatible with corresponding format string conversion
2008-04-07 15:40:49 +00:00
Yang Tse
ab8d1464a7
fix compiler warning: indirection to slightly different base types
2008-04-07 14:37:17 +00:00
Yang Tse
bf90d11a31
fix compiler warning: local variable may be used without having been initialized
2008-04-07 14:20:05 +00:00
Patrick Monnerat
a08b6ae813
Adapt OS400 SSL (qssl.h) to V5R4
...
Fix qssl.c wrong error message
Upgrade OS400 wrappers and makefiles to 7.18.1
2008-04-07 13:09:17 +00:00
Yang Tse
74c500b6ec
fix compiler warning: unreferenced formal parameter
2008-04-07 12:44:47 +00:00
Yang Tse
26aeadbc3e
fix compiler warning: assignment within conditional expression
2008-04-07 12:40:05 +00:00
Michal Marek
d0a4b50e19
- Fix the MIT / Heimdal check for good:
...
Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available.
Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if
GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should
avoid breakage in case we wrongly recognize Heimdal as MIT again.
2008-04-07 09:26:30 +00:00
Daniel Stenberg
ebaf06a741
- Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly
2008-04-05 21:13:44 +00:00
Daniel Stenberg
34d837c2dd
provide CURL_DEFAULT_PROXY_PORT set to 1080 for the default port libcurl
...
assumes proxies to use
2008-04-05 21:13:31 +00:00
Daniel Stenberg
7607d5145b
- Based on the Debian bug report #474224 that complained about the FTP error
...
message when libcurl doesn't get a 220 back immediately on connect, I now
changed it to be more specific on what the problem is. Also worth noticing:
while the bug report contains an example where the response is:
421 There are too many connected users, please try again later
we cannot assume that the error message will always be this readable nor
that it fits within a particular boundary etc.
2008-04-05 21:02:38 +00:00
Daniel Stenberg
12a90289ed
- Alexey Simak fixed the VC dsp file by adding the missing source file
...
ares_expand_string.c
2008-04-04 20:26:06 +00:00
Daniel Stenberg
592697583d
Alexey Simak made adig support NAPTR records
2008-04-04 20:24:41 +00:00
Daniel Stenberg
b50a96982e
Eino Tuominen improved the code when a file is used to seed the randomizer
2008-04-04 20:05:23 +00:00
Dan Fandrich
aa2a54c10a
Give a hint as to why a url_fopen failed.
2008-04-04 18:45:37 +00:00
Yang Tse
532d4b5106
SunSSH sshd ignores UsePrivilegeSeparation option
2008-04-04 14:47:32 +00:00
Yang Tse
5788719988
SunSSH 1.2 options sync
2008-04-04 14:08:36 +00:00
Daniel Stenberg
ac0b911eda
oops, forgot to add test554
2008-04-04 11:39:32 +00:00
Dan Fandrich
10232bfe9e
Added test627 to test SFTP with CURLOPT_NOBODY
2008-04-04 02:06:35 +00:00
Daniel Stenberg
a9c1ca9fc5
- Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to
...
GET simply because previously when you set CURLOPT_NOBODY to TRUE first and
then FALSE you'd end up in a broken state where a HTTP request would do a
HEAD by still act a lot like for a GET and hang waiting for the content etc.
2008-04-03 21:44:49 +00:00
Daniel Stenberg
d051dd8087
Scott Barrett added support for CURLOPT_NOBODY over SFTP
2008-04-03 20:56:59 +00:00
Dan Fandrich
bf52cef16f
Made sure that curl_global_init is called in all the multithreaded
...
example programs.
2008-04-03 20:28:32 +00:00
Gunter Knauf
16a9c5e02b
removed unused var.
2008-04-02 03:11:34 +00:00
Gunter Knauf
fef1a90938
removed double dependency.
2008-04-02 03:08:21 +00:00
Daniel Stenberg
27870d48ff
128 - Phil Blundell's ares and ipv6 fix (feedback lacking)
...
removed
133 - Setting CURLOPT_NOBODY to "false" causes cURL to wait for content if a
content-length header is read
added
2008-04-01 21:49:51 +00:00
Daniel Stenberg
2f66f3ce08
Eetu contributed back in 2000...
2008-04-01 13:54:49 +00:00
Daniel Stenberg
369df58a0d
132 - Xponaut's CURLFORM_STREAM option to curl_formadd()
...
done
2008-03-31 20:32:31 +00:00
Gunter Knauf
3d08b352a2
moved CURL_CA_BUNDLE define to generated config.h.
2008-03-31 12:51:44 +00:00
Michal Marek
d13be06aaa
Removed the generated ca-bundle.h file. The verbatim value of $ca and
...
$capath is known to configure, so it can be defined in config.h instead.
2008-03-31 12:09:43 +00:00
Daniel Stenberg
f1c69192da
expanded a comment around some of the new formpost callback usage
2008-03-31 10:16:34 +00:00
Daniel Stenberg
a2314225e0
- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an
...
application to provide data for a multipart with the read callback. Note
that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the
stream option is used. This feature is verified by the new test case
554. This feature was sponsored by Xponaut.
2008-03-31 10:02:23 +00:00
Dan Fandrich
1e482fe6a8
Changed the makefile so the doc/examples/ programs are never built in a
...
normal build/install (only with the 'make check' target), so that a
build failure in the examples isn't fatal.
2008-03-31 03:01:13 +00:00
Daniel Stenberg
80e7f9b9de
added people from the 7.18.1 release announcement
2008-03-30 09:30:15 +00:00
Daniel Stenberg
d219269f1b
back to a blank for 7.18.2
2008-03-30 09:22:45 +00:00
Daniel Stenberg
0ff0512aff
start working on 7.18.2
2008-03-30 09:22:22 +00:00
Daniel Stenberg
bdd731177e
7.18.1
2008-03-30 09:11:35 +00:00
Daniel Stenberg
abd1c526f0
132 - Xponaut's CURLFORM_STREAM option to curl_formadd()
2008-03-30 09:08:40 +00:00
Daniel Stenberg
a050a5fa9b
I'm officially pushing the two remaining issues to the next release instead,
...
since they're still not clear enough to be to sort about before 7.18.1
2008-03-30 09:07:08 +00:00
Dan Fandrich
7f7b643c0d
Made the test work on perl 5.00
2008-03-28 18:19:11 +00:00
Daniel Stenberg
cd2814725a
- Stephen Collyer pointed out that configure --with-libssh2 without a given
...
path didn't work properly but now it does!
2008-03-27 23:13:57 +00:00
Daniel Stenberg
342fa1cf06
fix --with-libssh2 when given without path
2008-03-27 23:10:24 +00:00
Daniel Stenberg
b425e851fb
- As found out and reported by Dan Petitt, libcurl didn't show progress/call
...
the progress callback for the first (potentially huge) piece of body data
sent together with the POST request headers in the initial send().
2008-03-27 13:07:12 +00:00
Daniel Stenberg
7c6a026230
spell!
2008-03-25 19:23:26 +00:00
Daniel Stenberg
2c9763da3e
- Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case
...
libcurl wasn't built to use OpenSSL as that is a prerequisite for this
option to function!
2008-03-25 19:19:49 +00:00
Daniel Stenberg
a782c3e368
spell it out loudly and clearly that CURLOPT_SSL_CTX_FUNCTION is only
...
functional if libcurl is built against OpenSSL
2008-03-25 19:17:26 +00:00
Daniel Stenberg
95bd901efe
- Fixed the problem with doing a zero byte SCP transfer, verified with test
...
case 617 (which was added by Daniel Fandrich 5 Mar 2008).
2008-03-22 22:00:21 +00:00
Daniel Stenberg
98c9a5b7f6
roadmap ahead
2008-03-21 11:53:59 +00:00
Dan Fandrich
516192e7f2
Jes reported the curl-config bug
2008-03-20 20:16:01 +00:00
Dan Fandrich
c37cdbe2cf
Fixed a problem where curl-config --protocols could erroneously show LDAPS
...
support when curl didn't even have regular LDAP support. It looks like
this could happen when the --enable-ldaps configure switch is given but
configure couldn't find the LDAP headers or libraries.
2008-03-20 20:08:44 +00:00
Gunter Knauf
c0a30b04c2
added --extvercmd parameter which can be used to specify an external command to display 'curl --version', f.e. with MinW32 crosscompile --extvercmd=/usr/bin/wine can be used.
2008-03-20 16:10:54 +00:00
Michal Marek
86cbb23282
- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
...
default instead of a ca bundle. The configure script will also look for a
ca path if no ca bundle is found and no option given.
- Fixed detection of previously installed curl-ca-bundle.crt
2008-03-20 08:09:23 +00:00
Dan Fandrich
e9a460411f
Fixed an infinite loop when given an invalid SFTP quote command.
2008-03-18 22:59:04 +00:00
Dan Fandrich
a57098ea9b
Added test 626 to reproduce an infinite loop when given an invalid
...
SFTP quote command reported by Vincent Le Normand, but left it disabled.
2008-03-18 17:05:29 +00:00
Michal Marek
6f3166c15b
- Added curl_easy_getinfo typechecker.
...
- Added macros for curl_share_setopt and curl_multi_setopt to check at least
the correct number of arguments.
2008-03-18 08:14:37 +00:00
Michal Marek
1380c9af9f
Mark the statement expr with __extension__ so that gcc -pedantic doesn't emit
...
any hard-to-grasp warnings in curl_easy_setopt() calls in applications.
Also delete superfluous semicolons.
2008-03-17 14:22:10 +00:00
Dan Fandrich
942daece00
Spell the commands right
2008-03-15 01:03:23 +00:00
Dan Fandrich
040a4443a1
Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
...
reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that
seems to need a call curl_easy_reset() which this test case doesn't do.
2008-03-13 22:51:39 +00:00
Daniel Stenberg
641d5c4111
- Brian Ulm figured out that if you did an SFTP upload with
...
CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
handle and uploaded another file to another directory that needed to be
created, the second upload would fail. Another case of a state variable that
wasn't properly reset between requests.
- I rewrote the 100-continue code to use a single state variable instead of
the previous two ones. I think it made the logic somewhat clearer.
2008-03-13 21:43:39 +00:00
Daniel Stenberg
ad4a9955c5
- Brian Ulm figured out that if you did an SFTP upload with
...
CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
handle and uploaded another file to another directory that needed to be
created, the second upload would fail. Another case of a state variable that
wasn't properly reset between requests.
2008-03-13 21:43:30 +00:00
Daniel Stenberg
553ed99e3b
Change the confusing two variables for the expect 100 continue stuff into
...
a single state variable to make the code easier to follow and understand.
2008-03-13 20:56:13 +00:00
Dan Fandrich
b74cdee6ab
--ftp-create-dirs works on SFTP as well
2008-03-13 20:49:06 +00:00
Daniel Stenberg
f3c0afa5b8
fix code that is normally #ifdef'ed out
2008-03-13 12:36:22 +00:00
Daniel Stenberg
a69ba639ba
Done: 125 - Michal Marek's typechecker-gcc work
2008-03-12 13:14:09 +00:00
Daniel Stenberg
fc9ad03e66
updated according to the name resolve race condition fix just committed
2008-03-11 22:58:52 +00:00
Daniel Stenberg
b9d66dca51
- Dmitry Popov filed bug report #1911069
...
(http://curl.haxx.se/bug/view.cgi?id=1911069 ) that identified a race
condition in the name resolver code when the DNS cache is shared between
multiple easy handles, each running in simultaneous threads that could cause
crashes.
2008-03-11 22:55:23 +00:00
Daniel Stenberg
ecf1c6ca5d
- Added a macro for curl_easy_setopt() that accepts three arguments and simply
...
does nothing with them, just to make sure libcurl users always use three
arguments to this function. Due to its use of ... for the third argument, it
is otherwise hard to detect abuse.
2008-03-11 13:14:16 +00:00
Daniel Stenberg
9b48991ebd
Recommend passing a 1 as parameter to CURLOPT_SSLENGINE_DEFAULT rather than
...
a "dummy" just to get things as fixed as possible in case we ever get the urge
to change this to actually mean something.
2008-03-11 12:18:00 +00:00
Michal Marek
7a8a20416f
- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
...
works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
http://curl.haxx.se/mail/lib-2008-02/0292.html )
2008-03-11 07:37:40 +00:00
Dan Fandrich
458925ae0b
Added tests 618-621 to test SFTP/SCP transfers of more than one file
...
(test 620 tests the just-fixed problem reported by Brian Ulm).
2008-03-10 19:40:27 +00:00
Michal Marek
e44dc92197
fixed typo
2008-03-10 14:32:19 +00:00
Michal Marek
9bb51d767e
(try to) use LIBS for libraries (-l) and LDFLAGS for paths (-L) in the
...
gssapi check. Cleans up curl-config --libs output when REQUIRE_LIB_DEPS=no
2008-03-10 09:56:49 +00:00
Daniel Stenberg
82e095a275
- Brian Ulm reported a crash when doing a second SFTP transfer on a re-used
...
easy handle if curl_easy_reset() was used between them. I fixed it and Brian
verified that it cured his problem.
- Brian Ulm reported that if you first tried to download a non-existing SFTP
file and then fetched an existing one and re-used the handle, libcurl would
still report the second one as non-existing as well! I fixed it abd Brian
verified that it cured his problem.
2008-03-09 11:37:48 +00:00
Daniel Stenberg
0e40261a11
Done: 123 - Mike Protts' SFTP resume download
2008-03-08 22:19:11 +00:00
Yang Tse
8e9e33ae52
VS2005 and later dafault size for time_t is 64-bit, unless
...
_USE_32BIT_TIME_T has been defined to get a 32-bit time_t
2008-03-07 02:49:14 +00:00
Michal Marek
40e1a016f9
Fix the gssapi configure check to detect newer MIT Kerberos (patch by
...
Michael Calmer)
2008-03-06 17:22:45 +00:00
Daniel Stenberg
1cf559492a
spellchecked
2008-03-06 12:43:47 +00:00
Daniel Stenberg
4957a838ef
curl_multi_timeout() is really not recommended with curl_multi_socket()-based
...
usage
2008-03-06 12:37:07 +00:00
Yang Tse
91aeebed26
Regression fix:
...
select/poll calls will only be retried upon EINTR failures as
it previously was in lib/select.c revision 1.29
In this way Curl_socket_ready() and Curl_poll() will again fail
on any select/poll errors different than EINTR.
2008-03-06 03:48:33 +00:00
Dan Fandrich
b16ea66cec
Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
...
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
so test 617 is disabled for now.
2008-03-06 01:15:28 +00:00
Dan Fandrich
80cec5a62a
Fixed the test harness so it will write out zero-length data files.
2008-03-06 01:11:43 +00:00
Yang Tse
6c2c281a7e
fix log message used when unable to connect to destination port
2008-03-05 18:27:31 +00:00
Daniel Stenberg
0836893335
Mike Protts brought a patch that makes resumed transfers work with SFTP.
2008-03-04 11:53:15 +00:00
Daniel Stenberg
590f0358d8
- Anatoli Tubman found and fixed a crash with Negotiate authentication used on
...
a re-used connection where both requests used Negotiate.
2008-03-01 22:32:03 +00:00
Yang Tse
115446be37
Force AIX xlc to fail and not generate object code if the source code has
...
compiled with errors. This behaviour is needed for autoconf macros which
rely on the ability to compile with or without errors, and is safer than
xlc's default of failing only upon severe errors.
2008-02-29 17:13:39 +00:00
Daniel Stenberg
d83606ee3a
Removed:
...
121 - Kaspar Brand's and Guenter Knauf's work on the TLS extension Server Name
Indication is now committed
122 - Progress callback not called during failed socket connect with the multi
interface, is now simply pending a closure since no feedback has been
received lately.
Added:
123 - Mike Protts' SFTP resume download
124 - Anatoli Tubman's fix for a Negotiate: crash
125 - Michal Marek's typechecker-gcc work
2008-02-28 21:25:00 +00:00
Gunter Knauf
8f4fda1d6f
fixed commented define for SSPI.
2008-02-28 11:34:08 +00:00
Yang Tse
18cbb4d7d6
signal handling to properly cleanup on SIGINT and SIGTERM
2008-02-28 10:15:21 +00:00
Yang Tse
22e84d92b7
when terminating do it falling through cleanup code
2008-02-28 10:13:07 +00:00
Yang Tse
3d74649908
avoid inclusion of setup.h in util.h
2008-02-28 09:38:32 +00:00
Yang Tse
ed63d9d4de
header inclusion cleanup
2008-02-28 00:55:06 +00:00
Yang Tse
8adc7038fe
make comment more precise
2008-02-27 14:54:18 +00:00
Daniel Stenberg
b12fef3f31
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
...
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-27 09:06:15 +00:00
Gunter Knauf
6cc8df95dd
added get_ver.awk since c-ares is a standalone project, and should therefore also compile when cURL is absent.
2008-02-27 01:51:40 +00:00
Gunter Knauf
f105e23444
a couple of small fixes to the makefile:
...
fixed comments; fixed INSTDIR define, simplified rules;
changed to use get_ver.awk in current dir rather than the curl one.
2008-02-27 01:43:12 +00:00
Gunter Knauf
7513d29a48
another small change to the makefiles to simplify rules.
2008-02-27 01:36:01 +00:00
Gunter Knauf
97a41f3646
trial to fix the HP-UX breakage...
2008-02-26 23:06:15 +00:00
Gunter Knauf
84de433e62
added curl.html to install package.
2008-02-26 21:42:38 +00:00
Gunter Knauf
724ad15dad
some more minor makefile changes; removed useless dist target.
2008-02-26 21:41:19 +00:00
Gunter Knauf
79aa6c841e
fixed install target to create a ca-bundle.crt since we have no longer one in the project.
2008-02-26 21:24:03 +00:00
Yang Tse
058e764af8
all reads from stdin and writes to stdout will be retried until the
...
whole operation completes or an unrecoverable condition is detected
2008-02-26 18:13:59 +00:00
Yang Tse
0d09f342c4
refactor some code out to write_pidfile() in util.c
2008-02-26 15:06:44 +00:00
Gunter Knauf
9682c2037e
Added support for server name indication (RFC 4366).
...
Patch submitted by Kaspar Brand.
2008-02-26 10:30:13 +00:00
Daniel Stenberg
74241e7d85
- Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
...
forces it to prefer SSLv3.
2008-02-25 07:51:39 +00:00
Daniel Stenberg
3154f04fb9
now builds and runs with GnuTLS-built libcurls too
2008-02-23 23:00:24 +00:00
Daniel Stenberg
6982ed4db7
- Sam Listopad provided a patch in feature-request #1900014
...
http://curl.haxx.se/bug/feature.cgi?id=1900014 that makes libcurl (built to
use OpenSSL) support a full chain of certificates in a given PKCS12
certificate.
2008-02-23 12:27:45 +00:00
Daniel Stenberg
9dd3e4d481
- Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
...
options as the lib/Makefile.vc6 already did.
2008-02-22 22:53:01 +00:00
Yang Tse
1d95109ffa
Revert sockfilt.c back to revision 1.42
...
Changes introduced in revision 1.43 were useless
2008-02-22 09:31:18 +00:00
Daniel Stenberg
e9bb7b7712
- Zmey Petroff found a crash when libcurl accessed a NULL pointer, which
...
happened if you set the connection cache size to 1 and for example failed to
login to an FTP site. Bug report #1896698
(http://curl.haxx.se/bug/view.cgi?id=1896698 )
2008-02-21 17:52:16 +00:00
Gunter Knauf
5e9c564883
fixed missing header; changed bail out from exit() to return().
...
Mentioned on the list by Michal Marek.
2008-02-21 15:02:14 +00:00
Daniel Stenberg
3bb4602227
assert that the *connp is a non-NULL pointer when Curl_done() is called
2008-02-21 12:28:45 +00:00
Yang Tse
064eebeaf1
Avoid timeout restart when signal caught while awaiting socket and stdin events
2008-02-20 17:17:18 +00:00
Gunter Knauf
4ae644e427
reformatted comment.
2008-02-20 12:36:35 +00:00
Gunter Knauf
d208e56b16
added read callback function in order to prevent crashs on Win32 when linked against DLL:
2008-02-20 12:33:45 +00:00
Daniel Stenberg
e6170eb20d
- Fixed test case 405 to not fail when libcurl is built with GnuTLS
2008-02-20 12:18:08 +00:00
Daniel Stenberg
2c80bcbc81
made the non-matching error code output nicer since we know it is a number
...
and the string contains a newline...
2008-02-20 12:14:31 +00:00
Gunter Knauf
b60dbfa9e9
mention removal of SSLv2 by default.
2008-02-20 11:58:20 +00:00
Daniel Stenberg
9019fc5671
oops, fixed to build
2008-02-20 10:01:28 +00:00
Daniel Stenberg
5db0f70491
"118 - Gautam Kachroo's issue with proxies and ssl" is now in CVS
2008-02-20 09:58:42 +00:00
Daniel Stenberg
53a549000c
- Based on initial work done by Gautam Kachroo to address a bug, we now keep
...
better control at the exact state of the connection's SSL status so that we
know exactly when it has completed the SSL negotiation or not so that there
won't be accidental re-uses of connections that are wrongly believed to be
in SSL-completed-negotiate state.
2008-02-20 09:56:26 +00:00
Daniel Stenberg
55700cb01f
- We no longer support setting the CURLOPT_URL option from inside a callback
...
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
following. The patch that introduced this feature was done for 7.11.0, but
this code and functionality has been broken since about 7.15.4 (March 2006)
with the introduction of non-blocking OpenSSL "connects".
It was a hack to begin with and since it doesn't work and hasn't worked
correctly for a long time and nobody has even noticed, I consider it a very
suitable subject for plain removal. And so it was done.
2008-02-20 08:28:02 +00:00
Gunter Knauf
f9a6062081
applied patch to disable SSLv2 by default; discussion:
...
http://sourceforge.net/tracker/index.php?func=detail&aid=1767276&group_id=976&atid=350976
Submitted by Kaspar Brand.
2008-02-19 23:10:07 +00:00
Dan Fandrich
0cae201044
Added test309 to test HTTP redirect to HTTPS URL
2008-02-19 21:57:41 +00:00
Yang Tse
9df37b93df
juggle() actually returns bool.
...
Remove redundant and unreachable log message.
2008-02-19 18:51:08 +00:00
Yang Tse
7b5c86033a
fix compiler warnings: 'statement is unreachable'
2008-02-19 17:25:19 +00:00
Gunter Knauf
ade0890746
fix for new codestyle.
2008-02-19 16:23:03 +00:00
Gunter Knauf
7a5596bf02
made changes to work with Win32;
...
replaced fstat() with stat() call and bail out if local file not found.
2008-02-19 16:13:52 +00:00
Yang Tse
d2125cf501
fix compiler warnings: 'enumerated type mixed with another type'
2008-02-19 15:07:50 +00:00
Yang Tse
c9eb41c056
Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt listener socket.
...
Log some more error descriptions.
2008-02-18 20:13:30 +00:00
Daniel Stenberg
0d722204c3
https_getsock() should be static all over (and did some fixed indenting)
2008-02-18 19:53:31 +00:00
Daniel Stenberg
e829d5643f
the ca-bundle is now removed
2008-02-18 16:55:27 +00:00
Gunter Knauf
1093287494
added makefile for MingW32 to build most of the samples.
2008-02-18 15:43:23 +00:00
Gunter Knauf
6398f71cc4
moved sample program defines into separate Makefile.inc so that other makefiles can pick up the defines from there.
2008-02-18 15:32:34 +00:00
Gunter Knauf
e2b50b203d
added check symbol for linking with POSIX prelude.
2008-02-18 15:30:11 +00:00
Yang Tse
ab0de23d83
fix compiler warnings:
...
'enumerated type mixed with another type'
and
'variable was set but never used'
2008-02-18 13:05:46 +00:00
Daniel Stenberg
ec54fbd9ed
just mention in --cacert that curl normally has a default ca cert path built-in
2008-02-18 11:40:52 +00:00
Daniel Stenberg
074bd2a19b
the ca-bundle is no longer shipped
2008-02-18 11:39:11 +00:00
Daniel Stenberg
fb23b85770
- We're no longer providing a very old ca-bundle in the curl tarball. You can
...
get a fresh one downloaded and created with 'make ca-bundle' or you can get
one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh
new one extracted from Mozilla's recent list of ca certs.
The configure option --with-ca-bundle now lets you specify what file to use
as default ca bundle for your build. If not specified, the configure script
will check a few known standard places for a global ca cert to use.
2008-02-18 11:35:12 +00:00
Daniel Stenberg
3458ce9ae5
- Jerome Muffat-Meridol helped me fix Curl_done() to close the current
...
connection by force when it was called before the entire request is
completed, simply because we can't know if the connection really can be
re-used safely at that point.
2008-02-17 13:49:58 +00:00
Daniel Stenberg
ba3e7a8656
rephrased comment
2008-02-17 13:49:01 +00:00
Daniel Stenberg
240bae4eb2
In Curl_done() if premature is TRUE, it means this connection was said to be
...
DONE before the entire request operation is complete and thus we can't know in
what state it is for re-using, so we're forced to close it. In a perfect world
we can add code that keep track of if we really must close it here or not, but
currently we have no such detail knowledge.
Jerome Muffat-Meridol helped us work this out.
2008-02-17 13:43:32 +00:00
Daniel Stenberg
4180ca7638
don't do the GOT_NOTHING error check if the DONE function was called with
...
premature set TRUE, which means it was done before the request comleted. It
could then very well not have received any data.
2008-02-17 13:40:35 +00:00
Daniel Stenberg
0e73361a06
added a comment about the ignoring of the Curl_done() return code
2008-02-17 13:38:19 +00:00
Yang Tse
23547fa2a0
sockfilt will quit when orphaned
2008-02-17 04:36:08 +00:00
Daniel Stenberg
550d6f74b9
oops, that was debug code not meant to be committed like this...
2008-02-16 13:44:23 +00:00
Daniel Stenberg
f7b71c2abe
fix warnings about shadowing
2008-02-16 13:41:55 +00:00
Gunter Knauf
0da90b5d91
seems that curently we dont need the imports from (l)ldapx.imp.
2008-02-16 00:44:14 +00:00
Gunter Knauf
f20c94ced9
fixed linker def file for tools when compiled with gcc/nlmconv.
2008-02-16 00:21:58 +00:00
Gunter Knauf
3e635a2334
re-ordered the module dependency list;
...
removed unsused ldap module dependency since the module didnt autounload from protected address space.
2008-02-16 00:15:30 +00:00
Daniel Stenberg
e78652d850
- Made the gnutls code path not even try to get the server cert if no peer
...
verification is requested. Previously it would even return failure if gnutls
failed to get the server cert even though no verification was asked for.
- Fix my Curl_timeleft() leftover mistake in the gnutls code
2008-02-15 22:37:00 +00:00
Daniel Stenberg
48918c3047
mention that we explicitly ignore the return code
2008-02-15 21:38:54 +00:00
Yang Tse
dc42d6fb8d
log SSH public key authentication failure and reason
2008-02-15 17:00:56 +00:00
Daniel Stenberg
d2ad98d8c5
new mirror and mirror recount after cleansing
2008-02-15 09:29:57 +00:00
Daniel Stenberg
d25aab2704
- Pooyan McSporran found and fixed a flaw where you first would do a normal
...
http request and then you'd reuse the handle and replace the Accept: header,
as then libcurl would send two Accept: headers!
2008-02-15 08:56:06 +00:00
Gunter Knauf
cfaf88aab4
fixed version var.
2008-02-15 00:41:54 +00:00
Gunter Knauf
ecc75be6f3
moved info block up before help block so that it can also be displayed before help option; trial to add a version number.
2008-02-15 00:26:26 +00:00
Gunter Knauf
13ebf61850
added some files which were missing in release tarballs.
2008-02-14 21:24:59 +00:00
Daniel Stenberg
b3fafe9b3a
five current issues we should deal with somehow before the next release
2008-02-14 10:14:23 +00:00
Dan Fandrich
c66943bd89
Updated some out-of-date information.
2008-02-13 23:06:21 +00:00
Daniel Stenberg
11fae450fa
make this test disabled properly when built with yassl
2008-02-13 21:36:24 +00:00
Yang Tse
cf9259dd92
verifyserver() actually returns the pid of the unsecure http and ftp servers
...
when verifying the https and ftps servers
2008-02-13 06:06:57 +00:00
Yang Tse
6634e3c3a3
On heavily loaded systems any test server start up can take longer than the
...
timeout passed to startnew, when this happens startnew completes without being
able to read the pidfile and consequently returns a zero pid2.
To fix the above posibility the server pid is recovered from the verification
stage which will actually return the server pid when verification is valid.
2008-02-12 13:47:56 +00:00
Yang Tse
533ae704a1
fix grammatical issues
2008-02-12 01:11:55 +00:00
Daniel Stenberg
fcc320ee40
Yang Tse pointed out a few remaining quirks from my timeout refactoring from
...
Feb 7 that didn't abort properly on timeouts. These are actually old
problems but now they should be fixed.
2008-02-11 22:03:31 +00:00
Yang Tse
dc9fe9c361
shell startup scripts and possible influence in scp/sftp/socks tests
2008-02-11 20:21:06 +00:00
Dan Fandrich
75c369dcca
Disable test due to keyword before disabling due to bad server.
2008-02-11 20:10:36 +00:00
Gunter Knauf
019f6a1926
open pipe to openssl commandline instead of writing into temp file.
2008-02-11 18:52:45 +00:00
Dan Fandrich
44fba11b34
Fixed unused variable warning.
2008-02-11 18:27:36 +00:00
Gunter Knauf
df07c87b89
added strict to make sure all vars are properly defined;
...
added -t switch to make text info of CAs optional;
added -q switch to be really quiet.
2008-02-11 15:00:00 +00:00
Yang Tse
8f9e0357dd
Additional SunSSH 1.1 ssh server options
2008-02-11 14:28:48 +00:00
Yang Tse
736af32b49
Bug report #1888932 ( http://curl.haxx.se/bug/view.cgi?id=1888932 ) points
...
out and provides test program that demonstrates that libcurl might not set
error description message for error CURLE_COULDNT_RESOLVE_HOST for Windows
threaded name resolver builds. Fixed now.
2008-02-10 04:20:09 +00:00
Yang Tse
6942d313ff
Verify only once test harness sftp server connectivity and functionality.
...
Make sure that the sftp client tool uses the ssh client binary that we have
used to generate the configuration files, otherwise sftp might be using one
located in the preferred path compiled into sftp.
2008-02-10 02:52:17 +00:00
Gunter Knauf
940c075bd8
removed 'mv' call and changed to use new backup feature of mk-ca-bundle.pl.
2008-02-10 01:32:43 +00:00
Gunter Knauf
08e5c0812f
added -b switch to provide a backup functionality for existing ca-bundle.crt file.
2008-02-10 01:29:24 +00:00
Gunter Knauf
a8c71961e0
fixed another wrong var in error message.
2008-02-09 15:32:54 +00:00
Gunter Knauf
d6f47cc60c
make use of mv's backup feature so that calling the ca-bundle target more than once will never fail; ignore error which can occure if for whatever reason there's no orignial ca-bundle.crt to rename.
2008-02-09 15:07:35 +00:00
Gunter Knauf
63d595a047
fixed wrong var in error message.
2008-02-09 15:00:07 +00:00
Dan Fandrich
15e56c3284
Fixed some XML parsing problems.
2008-02-09 02:37:31 +00:00
Dan Fandrich
fc1443dcfc
Added key words to all SSL-using tests so they can be skipped if necessary.
...
Removed a few unnecessary requires SSL statements.
2008-02-09 02:08:34 +00:00
Dan Fandrich
59e3651af3
Fixed test to use HTTPS as documented.
2008-02-09 02:01:36 +00:00
Daniel Stenberg
4c841a1f0c
- Mike Hommey filed and fixed bug report #1889856
...
(http://curl.haxx.se/bug/view.cgi?id=1889856 ): When using the gnutls ssl
layer, cleaning-up and reinitializing curl ends up with https requests
failing with "ASN1 parser: Element was not found" errors. Obviously a
regression added in 7.16.3.
2008-02-08 22:02:00 +00:00
Gunter Knauf
339ebdf08b
fixed a typo.
2008-02-08 21:04:24 +00:00
Dan Fandrich
f01d324c83
Missed checking in these test data files.
2008-02-08 18:42:12 +00:00
Yang Tse
405e192b8c
Get rid of sftp subsystem additional parameters, they aren't widely supported
2008-02-08 17:32:58 +00:00
Yang Tse
1a340de0e5
To verify that the sftp server is actually running, responsive and that
...
all curl's tests generated configuration and key files are fine, a real
connection is established to the test harness sftp server authenticating
and running a simple sftp remote pwd command.
The verification is done using OpenSSH's or SunSSH's sftp client tool with
a configuration file with the same options as the test harness socks server
with the exception that dynamic forwarding is not used for sftp.
2008-02-08 13:54:02 +00:00
Daniel Stenberg
05c191199d
and mention make ca-bundle in the 1.11 faq entry as well
2008-02-08 11:20:20 +00:00
Daniel Stenberg
1fd7085ef1
for step 5, mention that we can now generate an own version locally if wanted
...
instead of downloading it from the curl site
2008-02-08 11:18:23 +00:00
Daniel Stenberg
c3a7a757f7
Gnter Knauf added lib/mk-ca-bundle.pl which gets the Firefox ca bundle and
...
creates a suitable ca-bundle.crt file in PEM format for use with curl. The
recommended way to run it is to use 'make ca-bundle' in the build tree root.
2008-02-08 11:16:44 +00:00
Daniel Stenberg
dca46e6470
oops, we make the copyright year ranges the simple style
2008-02-08 11:12:54 +00:00
Daniel Stenberg
7edd13822c
provide the ca-bundle target the same way as the Makefile.dist does it so that
...
it works the same way for configure-based platforms as for non-configure ones
2008-02-08 11:11:59 +00:00
Daniel Stenberg
a2bff51ede
include mk-ca-bundle.pl in the tarballs
2008-02-08 09:56:23 +00:00
Gunter Knauf
5dc1240c49
added ca-bundle target to main makefile;
...
for now this does rename the existing ca-bundle.crt to ca-bundle.crt.old;
maybe we can remove this once we are 100% sure that the new script works properly, and just overwrite the shipping one?
2008-02-08 02:57:27 +00:00
Gunter Knauf
c764331dd9
use argument to specify output filename if present.
2008-02-08 02:38:12 +00:00
Gunter Knauf
586444b6b8
fixed regex to fetch certdata.txt version since it was replaced by CVS (argh!)
...
added a switch to display certdata.txt version header.
2008-02-08 01:58:11 +00:00
Dan Fandrich
ce1649564c
Added tests 1022 and 1023 to validate output of curl-config --version and
...
--vernum
2008-02-08 01:21:03 +00:00
Gunter Knauf
d76a74cc5e
added Perl script to create a fresh ca-bundle.crt.
2008-02-08 01:08:25 +00:00
Daniel Stenberg
1b701c746f
- Refactored a lot of timeout code into a few functions in an attempt to make
...
them all use the same (hopefully correct) logic to make it less error-prone
and easier to introduce library-wide where it should be used.
2008-02-07 22:25:04 +00:00
Daniel Stenberg
15bf168527
ca-bundle.crt documentational updates that more clearly describe the bundle
...
ca-bundle.crt file as outdated and in need for replacement by anyone who wants
to verify modern peers as the one we have is from year 2000!
2008-02-07 15:43:36 +00:00
Yang Tse
20e9fc73e2
Fix problem in strdup replacement when dealing with absolutely huge strings.
2008-02-06 19:01:13 +00:00
Yang Tse
bad6410d08
Don't try to compare more than strlen chars
2008-02-06 17:35:17 +00:00
Yang Tse
fecb67b246
Use a long int data type to handle getpid() result
2008-02-06 16:54:01 +00:00
Yang Tse
2c0956200f
Fix buffer size specification.
...
Improve handling of boundary conditions for huge requests.
2008-02-05 18:37:53 +00:00
Yang Tse
acd9d72466
Minor variable type cleanups.
...
Disable "swsbounce" mode when the received request
isn't for the same test and part number.
2008-02-05 14:43:16 +00:00
Yang Tse
cd63a461d7
proper initialization of httprequest, no longer zeroing out twice
...
the whole 150000+ bytes struct, and also removing an equally big
additional buffer for pipelining treatment.
2008-02-05 02:21:38 +00:00
Gunter Knauf
7bd098f670
fixed entry symbols when linked with posix prelude.
2008-02-04 22:40:59 +00:00
Gunter Knauf
4b5c504bd4
added makefile flag to link with NLM POSIX semantics.
2008-02-04 22:29:52 +00:00
Daniel Stenberg
ffae4f6b48
- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
...
use of the "is_in_pipeline" struct field.
2008-02-03 12:31:35 +00:00
Daniel Stenberg
454e840590
threaded-ssl.c is a little example that does multi-threaded downloads from
...
HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the
thread-locking and things openssl-style.
2008-02-03 12:28:48 +00:00
Daniel Stenberg
ed0a413711
it is stable now...
2008-02-03 10:10:00 +00:00
Dan Fandrich
ff812ccdc9
Make mkinstalldirs ignore umask, for consistency with the rest of the
...
install process. Note that mkinstalldirs appears to be used only
in some configurations.
2008-02-01 20:34:27 +00:00
Yang Tse
03bbf4de48
When possible, use additional config options for test harness ssh server,
...
which are deprecated in recent OpenSSH versions but are current for SunSSH.
2008-01-31 16:37:16 +00:00
Daniel Stenberg
a62e155ca4
- Niklas Angebrand made the cookie support in libcurl properly deal with the
...
"HttpOnly" feature introduced by Microsoft and apparently also supported by
Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
is now supported when received from servers in HTTP headers, when written to
cookie jars and when read from existing cookie jars.
2008-01-31 12:21:57 +00:00
Daniel Stenberg
b620e62f0f
- Dmitry Kurochkin moved several struct fields from the connectdata struct to
...
the SingleRequest one to make pipelining better. It is a bit tricky to keep
them in the right place, to keep things related to the actual request or to
the actual connection in the right place.
2008-01-31 12:04:33 +00:00
Daniel Stenberg
b3186dee17
bug 51 may possibly be fixed, and as such it is not a known bug anymore:
...
51.Kevin Reed's reported problem with a proxy when doing CONNECT and it
wants NTLM and close the connection to the initial CONNECT response:
http://curl.haxx.se/bug/view.cgi?id=1879375
2008-01-31 11:36:05 +00:00
Gunter Knauf
ea3f63281c
silent stupid 'del' message when no files to delete found;
...
added curl.res to clean target.
2008-01-29 23:46:41 +00:00
Daniel Stenberg
7b9435890d
add verbose output to test 509 for easier debugging
2008-01-29 23:10:25 +00:00
Daniel Stenberg
1bfbd25027
- Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously
...
crash!
2008-01-29 12:58:25 +00:00
Daniel Stenberg
ceb5a8ca7b
- Michal Marek fixed minor mistake in test case 553 that prevented it from
...
working on other IP-addresses or port numbers.
2008-01-29 12:31:11 +00:00
Daniel Stenberg
ddc98c6fc9
start over on 7.18.1
2008-01-28 21:19:15 +00:00
Daniel Stenberg
ff6ff66e50
Added peeps from the 7.18.0 release annoucement
2008-01-28 19:25:40 +00:00
Daniel Stenberg
a7b98f5f6b
7.18.0
2008-01-28 17:28:21 +00:00
Daniel Stenberg
6bae091c1b
Add the three currently discussed bugs that won't make it into the 7.18.0
...
release but hopefully they'll all be fixed in 7.18.1...
2008-01-28 16:04:52 +00:00
Daniel Stenberg
33d68653f0
this was modified this year so we bump the copyright year
2008-01-28 11:56:13 +00:00
Daniel Stenberg
267836e83c
updated copyright year in the generated configure
2008-01-28 11:48:41 +00:00
Daniel Stenberg
87fdfe770d
Dmitry Kurochkin: In "real world" testing I found more bugs in
...
pipelining. Broken connection is not restored and we get into infinite
loop. It happens because of wrong is_in_pipeline values.
2008-01-27 22:53:09 +00:00
Yang Tse
8fca5c2e69
Dont rely on PAMAuthenticationViaKbdInt default being 'no'
2008-01-27 02:35:20 +00:00
Daniel Stenberg
5f2055729e
added test 1021 to verify my fix for bug report #1879375
2008-01-26 00:13:38 +00:00
Daniel Stenberg
c6df788866
- Kevin Reed filed bug report #1879375
...
(http://curl.haxx.se/bug/view.cgi?id=1879375 ) which describes how libcurl
got lost in this scenario: proxy tunnel (or HTTPS over proxy), ask to do any
proxy authentication and the proxy replies with an auth (like NTLM) and then
closes the connection after that initial informational response.
libcurl would not properly re-initialize the connection to the proxy and
continue the auth negotiation like supposed. It does now however, as it will
now detect if one or more authentication methods were available and asked
for, and will thus retry the connection and continue from there.
- I made the progress callback get called properly during proxy CONNECT.
2008-01-25 23:33:45 +00:00
Daniel Stenberg
e67b2524d1
using anyauth isn't unconditionally an extra roundtrip
2008-01-25 22:35:06 +00:00
Daniel Stenberg
d7bcc26179
just wanted to mention two uclinux archs I've tried libcurl builds on myself
2008-01-25 22:10:10 +00:00
Yang Tse
69e540dfa6
improve request initialization for test harness HTTP server
2008-01-25 05:08:53 +00:00
Yang Tse
2198869eb1
Dmitry Kurochkin's test harness HTTP server pipelining fix fot test 530
2008-01-25 05:07:04 +00:00
Daniel Stenberg
fb07259e0d
and Igor Franchuk is his name!
2008-01-24 17:17:18 +00:00
Gunter Knauf
9d28a0252c
fixed link to latest native awk.
2008-01-24 15:39:51 +00:00
Gunter Knauf
d54c14ccf9
updated makefiles to use global copyright define.
2008-01-24 15:28:47 +00:00
Gunter Knauf
41def4be6e
updated awk script to fetch copyright from header.
2008-01-24 15:27:06 +00:00
Gunter Knauf
2d38d0d515
minor makefile tweaks.
2008-01-24 15:05:56 +00:00
Gunter Knauf
e796c79d18
happy new year
2008-01-24 14:15:49 +00:00
Gunter Knauf
c93ba48da2
use more correctly named define.
2008-01-24 14:14:34 +00:00
Gunter Knauf
e322513698
use copyright define instead of hardcoded string.
2008-01-24 14:10:59 +00:00
Gunter Knauf
6fa72e6417
added copyright define to curlver.h.
2008-01-24 14:05:56 +00:00
Daniel Stenberg
c914e6ea5d
"Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so
...
did "SESS". Fixed now.
2008-01-23 22:22:12 +00:00
Daniel Stenberg
79cb74f03a
Dmitry Kurochkin's pipelining close-down segfault fix
2008-01-23 12:22:04 +00:00
Yang Tse
34cf35051a
update openssl version
2008-01-23 07:27:40 +00:00
Yang Tse
9bd28a021f
STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO clone macros
2008-01-23 06:11:11 +00:00
Gunter Knauf
5ee3f41e0d
happy new year
2008-01-23 02:12:13 +00:00
Gunter Knauf
64e88ff6a7
removed inclusion of libcurl memory debug headers since this lib stub is a well proofed method suggested by Novell. This enables usage of the stub with language bindings.
2008-01-23 02:10:40 +00:00
Yang Tse
acd7c94598
when unable to initialize sftp session, also log failure reason
2008-01-22 17:26:42 +00:00
Yang Tse
bdb2beb8e4
check availability of poll.h header at configuration time, and include
...
it when sys/poll.h is unavailable
2008-01-22 14:52:54 +00:00
Yang Tse
727e23322f
update copyright year
2008-01-22 03:48:16 +00:00
Daniel Stenberg
ef0ed9b720
Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed
...
that it is bad anyway. Starting now, removing a handle that is in used in a
pipeline will break the pipeline - it'll be set back up again but still...
2008-01-21 23:48:58 +00:00
Yang Tse
a674654f83
Disable ldap support for cygwin builds, since it breaks whole build process.
2008-01-21 20:22:33 +00:00
Yang Tse
3caeb0a91f
undo using internal *printf() clones for test #530
2008-01-21 05:35:08 +00:00
Yang Tse
a4eddf0d0d
use internal *printf() clones since snprintf() not available on all platforms
2008-01-20 22:53:56 +00:00
Daniel Stenberg
fcf9029179
Judson provided an example, and the added mirror adds the count
2008-01-20 11:29:30 +00:00
Daniel Stenberg
e40327ba00
This is a multi threaded application that uses a progress bar to show
...
status. It uses Gtk+ to make a smooth pulse. Written by Jud Bishop
2008-01-20 11:12:11 +00:00
Daniel Stenberg
bdd0e3d3f5
http://curl.very-clever.com/ is a new mirror in Nuremberg, Germany
2008-01-20 11:07:43 +00:00
Yang Tse
e9490fdbd9
Also disable GSSAPIAuthentication for the test harness ssh client
2008-01-20 04:05:25 +00:00
Daniel Stenberg
bd40b3ff3f
added a (sample) target for 64bit msvc builds
2008-01-19 11:33:06 +00:00
Daniel Stenberg
8c66811e09
rephrased the --socks5-hostname help output somewhat
2008-01-19 10:30:15 +00:00
Daniel Stenberg
daadcfd1de
Dmitry Kurochkin fixed test case 530 (pipelining)
2008-01-19 10:14:45 +00:00
Daniel Stenberg
62df0ff025
Lau Hang Kin found and fixed a problem with the multi interface when doing
...
CONNECT over a proxy. curl_multi_fdset() didn't report back the socket
properly during that state, due to a missing case in the switch in the
multi_getsock() function.
2008-01-18 21:51:10 +00:00
Yang Tse
01d95b56a0
fix failure to properly detect SSH and SOCKS servers start up on loaded systems
2008-01-18 09:18:59 +00:00
Yang Tse
f6adae8d35
to actually allow really big HTTP POSTs curl's postfieldsize type is changed to
...
curl_off_t and CURLOPT_POSTFIELDSIZE_LARGE is used to pass value to libcurl
2008-01-18 05:58:00 +00:00
Daniel Stenberg
bcaadb4284
curl-java 0.2.1
2008-01-17 22:43:29 +00:00
Daniel Stenberg
8d963aa0e2
the java binding is not really maintained
2008-01-17 21:46:21 +00:00
Yang Tse
0530b0a5ca
Don't abort tests 518 and 537 when unable to raise the open-file soft limit
2008-01-17 18:57:50 +00:00
Yang Tse
5396121595
fix compiler warning
2008-01-17 18:03:07 +00:00
Dan Fandrich
bcfc7d90d1
Put the comments in an XML-valid location.
2008-01-17 04:10:28 +00:00
Gunter Knauf
47246eb401
updated lib versions.
2008-01-17 01:25:46 +00:00
Gunter Knauf
3620e71010
updated copyright for new year.
2008-01-17 01:20:03 +00:00
Daniel Stenberg
c522f349fe
Added test 553. This test case and code is based on the bug recipe Joe Malicki
...
provided for bug report #1871269 , fixed on Jan 14 2008 before the 7.18.0
release.
2008-01-16 22:54:54 +00:00
Daniel Stenberg
6893fcaa9b
remove trailing comma too, even though I don't think it does any harm
2008-01-16 22:09:51 +00:00
Daniel Stenberg
301ae1ae1b
Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring
...
out what valgrind to run.
2008-01-16 22:08:37 +00:00
Daniel Stenberg
ddaa78f08b
Dmitry Kurochkin's additional pipelining bugfix
2008-01-16 21:33:52 +00:00
Yang Tse
3d55877764
fix handling of out of memory in the command line tool that afected
...
data url encoded HTTP POSTs when reading it from a file.
2008-01-16 21:01:30 +00:00
Patrick Monnerat
3ee32d7920
OS/400 update:
...
New declarations in curl.h reported to curl.inc.in.
Copyrights extended to 2008.
SONAME handling introduced in build scripts.
2008-01-16 16:04:47 +00:00
Daniel Stenberg
b3de497d83
Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that
...
previously had a number of flaws, perhaps most notably when an application
fired up N transfers at once as then they wouldn't pipeline at all that
nicely as anyone would think... Test case 530 was also updated to take the
improved functionality into account.
2008-01-16 12:24:00 +00:00
Daniel Stenberg
ed6466d176
Calls to Curl_failf() are not supposed to provide a trailing newline as the
...
function itself adds that. Fixed on 50 or something strings!
2008-01-15 23:19:02 +00:00
Daniel Stenberg
991505e077
Woops, partly revert my previous commit and do it slightly differently instead.
...
The signalling of that a global DNS cache is wanted is done by setting the
option but the setting of the internal variable that it is in use must not be
done until it finally actually gets used!
NOTE and WARNING: I noticed that you can't actually switch off the global dns
cache with CURLOPT_DNS_USE_GLOBAL_CACHE but you couldn't do that previously
either and the option is very clearly and loudly documented as DO NOTE USE so
I won't bother to fix this bug now.
2008-01-15 22:44:12 +00:00
Daniel Stenberg
56f17d2c9f
I made the torture test on test 530 go through. This was actually due to
...
silly code left from when we switched to let the multi handle "hold" the dns
cache when using the multi interface... Of course this only triggered when a
certain function call returned error at the correct moment.
2008-01-15 22:15:55 +00:00
Daniel Stenberg
19ae96f4d0
Michal Marek's improved .curlrc syntax description
2008-01-15 08:45:22 +00:00
Daniel Stenberg
53108806af
Joe Malicki filed bug report #1871269
...
(http://curl.haxx.se/bug/view.cgi?id=1871269 ) and we could fix his hang-
problem that occurred when doing a large HTTP POST request with the
response-body read from a callback.
2008-01-14 22:02:14 +00:00
Yang Tse
1d620a3df4
fix compiler warning
2008-01-14 19:40:10 +00:00
Yang Tse
69f685056d
startnew() shouldn't return a positive pid as reported in the pidfile
...
by the spawned server itself unless it is actually alive
2008-01-14 19:28:54 +00:00
Daniel Stenberg
9c7d4394f9
5.3 support FF3 sqlite cookie files
2008-01-14 17:49:06 +00:00
Gisle Vanem
bcc3c9279a
Trying GnuTLS and OpenSSL together fails to compile in not so
...
obvious ways. Give an explicit error.
2008-01-14 16:51:32 +00:00
Yang Tse
5d63404966
#115 is done
2008-01-14 01:53:17 +00:00
Yang Tse
a8ae8087c4
fix compiler warning
2008-01-13 04:39:32 +00:00
Yang Tse
502da27d65
add client features part
2008-01-13 03:27:14 +00:00
Daniel Stenberg
4ab8ebb232
I re-arranged the curl --help output. All the options are now sorted on
...
their long option names and all descriptions are one-liners.
2008-01-12 22:56:12 +00:00
Daniel Stenberg
f866af912d
Eric Landes provided the patch (edited by me) that introduces the
...
--keepalive-time to curl to set the keepalive probe interval. I also took
the opportunity to rename the recently added no-keep-alive option to
no-keepalive to keep a consistent naming and to avoid getting two dashes in
these option names. Eric also provided an update to the man page for the new
option.
2008-01-12 22:10:53 +00:00
Daniel Stenberg
4f00a8db73
added release dates for four very old releases
2008-01-12 10:31:07 +00:00
Yang Tse
5004529685
Remove hardcoded verbosity
2008-01-12 04:32:03 +00:00
Yang Tse
2b63eb8511
Ooops
2008-01-12 00:12:16 +00:00
Yang Tse
f09fe4b49f
Ooops
2008-01-11 21:59:05 +00:00
Daniel Stenberg
22c76df44d
new year
2008-01-11 21:23:57 +00:00
Yang Tse
35be09cf58
When verifying that test harness's SSH and SOCKS servers have been
...
started check also that the process is actually alive, since they
could have died once the pidfile was written out
2008-01-11 20:17:33 +00:00
Yang Tse
3564aec388
fix compiler warning
2008-01-11 17:35:10 +00:00
Yang Tse
a042090467
fix compiler warning
2008-01-11 16:49:35 +00:00
Daniel Stenberg
148d727525
"114 - Ranged downloads on file:// URLs" done
2008-01-11 15:21:21 +00:00
Daniel Stenberg
08adf67969
Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
...
already worked for FTP:// URLs
2008-01-11 14:20:41 +00:00
Daniel Stenberg
e2c817731a
I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
...
spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved
performance for the upload resume cases where you want to upload the last
few bytes of a very large file. To implement this decently, I had to switch
the client code for uploading from fopen()/fread() to plain open()/read() so
that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that)
on systems that offer support for that.
2008-01-11 14:00:47 +00:00
Daniel Stenberg
8df7e0bdba
Michal Marek made curl-config --libs not include /usr/lib64 in the output
...
(it already before skipped /usr/lib). /usr/lib64 is the default library
directory on many 64bit systems and it's unlikely that anyone would use the
path privately on systems where it's not.
2008-01-10 22:14:02 +00:00
Yang Tse
14ff7e75e0
Temporary change to help debugging SSH server verification failures
2008-01-10 16:19:14 +00:00
Daniel Stenberg
d270d6518a
Two more items done:
...
109 - curl_easy_pause
110 - seekfunction
2008-01-10 10:31:01 +00:00
Daniel Stenberg
18faa50940
Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow
...
libcurl to seek in a given input stream. This is particularly important when
doing upload resumes when there's already a huge part of the file present
remotely. Before, and still if this callback isn't used, libcurl will read
and through away the entire file up to the point to where the resuming
begins (which of course can be a slow opereration depending on file size,
I/O bandwidth and more). This new function will also be preferred to get
used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when
doing multi-stage HTTP auth with POST/PUT.
2008-01-10 10:30:19 +00:00
Daniel Stenberg
0ce484eed9
Nikitinskit Dmitriy filed bug report #1868255
...
(http://curl.haxx.se/bug/view.cgi?id=1868255 ) with a patch. It identifies
and fixes a problem with parsing WWW-Authenticate: headers with additional
spaces in the line that the parser wasn't written to deal with.
2008-01-10 09:17:07 +00:00
Daniel Stenberg
bce5ae9a07
corrected comment
2008-01-10 09:16:21 +00:00
Yang Tse
15f832d1c2
fix compiler warning
2008-01-09 19:11:56 +00:00
Yang Tse
c249a8aa1b
Fix file Id
2008-01-09 01:11:59 +00:00
Yang Tse
fc794ae012
Add /usr/freeware/sbin and /usr/freeware/libexec to the ssh binaries
...
locations search list.
2008-01-09 00:58:48 +00:00
Daniel Stenberg
07227e8089
added the --retry problems mention on the curl-library list today
2008-01-08 22:15:19 +00:00
Yang Tse
32cc75d6cb
Partially cleanup debugging messages in test harness, introduced for
...
new minimum SSH version support for SCP, SFTP and SOCKS tests.
Some verbosity which still remains, will go out before next release.
2008-01-08 20:12:43 +00:00
Yang Tse
1c0a19ad53
Remove increased loglevel intended to debug autobuild's publickey
...
authentication failures when using OpenSSH 2.9.9 or SunSSH.
Verified fact: Even when only using publickey authentication,
OpenSSH and SunSSH first validate the user, this implies that
if the user validation fails, 'invalid user', the publickey
authentication will not be allowed to complete.
2008-01-08 19:18:25 +00:00
Daniel Stenberg
de23b98522
Introducing curl_easy_pause() and new magic return codes for both the read
...
and the write callbacks that now can make a connection's reading and/or
writing get paused.
2008-01-08 14:52:05 +00:00
Daniel Stenberg
5e1c9e90d9
removed 113, both bugs #1850730 and #1854175 are fixed in CVS
2008-01-08 11:11:20 +00:00
Yang Tse
59b4bdf78d
Change typecast due to http://cool.haxx.se/cvs.cgi/curl/include/curl/curl.h.diff?r1=1.336&r2=1.337
2008-01-08 01:05:50 +00:00
Yang Tse
34d02d1969
Increase loglevel to debug autobuild's publickey authentication
...
failures when using OpenSSH 2.9.9 or SunSSH
2008-01-08 00:40:02 +00:00
Yang Tse
2408b236ca
Display ssh server log and configuration upon socks server failure
2008-01-08 00:39:31 +00:00
Dan Fandrich
4acd437952
Fixed test description
2008-01-07 19:54:40 +00:00
Patrick Monnerat
314f62958d
ILE RPG support update (from include/curl/curl.h)
2008-01-07 16:32:49 +00:00
Daniel Stenberg
c616d56e96
updated URLs and moved down two issues to the new "less likely" section
2008-01-06 23:22:06 +00:00
Daniel Stenberg
f111c9edae
more SOCKS5_HOSTNAME adjustments from Richard Atterer
2008-01-06 21:41:38 +00:00
Daniel Stenberg
7138296633
make sure we deal with SOCKS5_HOSTNAME as a proxy type as well
2008-01-06 12:56:34 +00:00
Daniel Stenberg
195e94c0fa
Richard Atterer reverted back what I missed in my previous revert ;-)
2008-01-06 12:56:19 +00:00
Daniel Stenberg
cadd08f36a
make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well
2008-01-06 12:54:16 +00:00
Daniel Stenberg
7306b7829b
fixed: 116 - bug #1863171 , curl_getdate() bug
...
added: 117 - Eric Landes patch for introducing the --tcp-keep* options
2008-01-06 11:10:35 +00:00
Daniel Stenberg
423309541a
Jeff Johnson filed bug report #1863171
...
(http://curl.haxx.se/bug/view.cgi?id=1863171 ) where he pointed out that
libcurl's date parser didn't accept a +1300 time zone which actually is used
fairly often (like New Zealand's Dailight Savings Time), so I modified the
parser to now accept up to and including -1400 to +1400.
2008-01-06 10:50:57 +00:00
Yang Tse
9c6533d287
Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictive
2008-01-06 02:02:55 +00:00
Daniel Stenberg
b430576436
Based on further discussion on curl-library, I reverted yesterday's SOCKS5
...
code to instead introduce support for a new proxy type called
CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy
instead of IP address and there's thus no longer any need for a new
curl_easy_setopt() option.
The default SOCKS5 proxy is again back to sending the IP address to the
proxy. The new curl command line option for enabling sending host name to a
SOCKS5 proxy is now --socks5-hostname.
2008-01-05 22:04:18 +00:00
Daniel Stenberg
65008a4e55
Added Daniel Egger and extended the --no-keep-alive description
2008-01-05 21:04:18 +00:00
Daniel Stenberg
3df484088f
added keyword
2008-01-05 12:15:41 +00:00
Yang Tse
2912189875
Don't abort operation when attempting to set SO_KEEPALIVE
...
fails, just issue a warning and ignore the failure.
2008-01-05 01:39:07 +00:00
Dan Fandrich
fcb2595ed6
"yes" must be in quotes to be XML compatible
2008-01-04 23:57:39 +00:00
Daniel Stenberg
0878af3ec0
111 - DNS resolve over socks5 is done
...
added 116 - bug #1863171 , curl_getdate() bug
2008-01-04 23:55:22 +00:00
Daniel Stenberg
fe0d7aee49
Daniel Egger provided 'nonewline=yes' support for the <stdout> section
2008-01-04 23:31:04 +00:00
Daniel Stenberg
2e42b0a252
Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let the
...
proxy do the host name resolving and only if --socks5ip (or
CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and
pass on the IP address only to the proxy.
2008-01-04 23:01:00 +00:00
Daniel Stenberg
fcc485092a
14.3 extend CURLOPT_SOCKOPTFUNCTION prototype
...
(for next SONAME bump)
2008-01-04 22:16:16 +00:00
Yang Tse
a4945fe687
Missing newline at end of message
2008-01-04 19:56:56 +00:00
Yang Tse
88d89b2177
Fix 'format string' compiler warning
2008-01-04 15:39:06 +00:00
Yang Tse
61a2d5ea75
'ControlPath' ssh client configuration file option requires OpenSSH 4.2 or
...
later to accept 'none' as an indication to disable connection multiplexing
2008-01-04 14:12:10 +00:00
Yang Tse
c479c64333
SunSSH 1.1 ssh client does not support config file options:
...
ConnectTimeout
ForwardX11Trusted
HashKnownHosts
RekeyLimit
ServerAliveCountMax
ServerAliveInterval
2008-01-04 13:24:17 +00:00
Yang Tse
7a2177dc42
- Display curl_ssh_config when socks server fails to start.
...
- Capability of running socks5 tests must be based on ssh daemon version
and not on ssh client version.
2008-01-04 13:00:40 +00:00
Yang Tse
bf6e2f28ba
Make sure @INC is modified before 'using' the sshhelp module.
2008-01-04 03:05:33 +00:00
Yang Tse
f5da1e5484
'LocalCommand' no longer used for ssh client config file. When used it
...
requires a non blank argument.
2008-01-04 03:04:30 +00:00
Yang Tse
fd8d862c37
Modify test harness so that the minimum SSH version required to run
...
SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0
For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0
2008-01-03 20:48:22 +00:00
Gisle Vanem
083d3190e5
'false' and 'true' are not built-ins on most compilers.
...
Use TRUE/FALSE from setup_once.h.
2008-01-03 15:18:27 +00:00
Daniel Stenberg
6787d1ed35
one gone, one added
2008-01-02 22:46:15 +00:00
Daniel Stenberg
d9023c16ab
- I fixed two cases of missing return code checks when handling chunked
...
decoding where a write error (or abort return from a callback) didn't stop
libcurl's processing.
2008-01-02 22:30:34 +00:00
Daniel Stenberg
193d33fd4a
I removed the socklen_t use from the public curl/curl.h header and instead
...
made it an unsigned int. The type was only used in the curl_sockaddr struct
definition (only used by the curl_opensocket_callback). On all platforms I
could find information about, socklen_t is 32 unsigned bits large so I don't
think this will break the API or ABI. The main reason for this change is of
course for all the platforms that don't have a socklen_t definition in their
headers to build fine again. Providing our own configure magic and custom
definition of socklen_t on those systems proved to work but was a lot of
cruft, code and extra magic needed - when this very small change of type seems
harmless and still solves the missing socklen_t problem.
2008-01-02 22:23:27 +00:00
Daniel Stenberg
a46b40b7fd
Richard Atterer brought a patch that added support for SOCKS4a proxies, which
...
is an inofficial PROXY4 variant that sends the hostname to the proxy instead
of the resolved address (which is already supported by SOCKS5). --socks4a is
the curl command line option for it and CURLOPT_PROXYTYPE can now be set to
CURLPROXY_SOCKS4A as well.
2008-01-02 21:40:11 +00:00
Daniel Stenberg
0b9b8acb08
updated
2008-01-02 21:39:46 +00:00
Gisle Vanem
bf98b635cd
Added '-d' option for Watt-32 debugging.
2008-01-02 05:30:52 +00:00
Daniel Stenberg
7795eb6db8
Mohun Biswas pointed out that --libcurl generated a source code with an int
...
function but without a return statement. While fixing that, I also took care
about adding some better comments for the generated code.
2008-01-01 21:11:26 +00:00
Daniel Stenberg
31674559d3
--libcurl was added in 7.16.1, a useful information
2007-12-27 21:44:21 +00:00
Daniel Stenberg
04e4d9a0b3
Dmitry Kurochkin mentioned a flaw
...
(http://curl.haxx.se/mail/lib-2007-12/0252.html ) in detect_proxy() which
failed to set the bits.proxy variable properly when an environment variable
told libcurl to use a http proxy.
2007-12-26 23:29:35 +00:00
Daniel Stenberg
f277124a0f
In an attempt to repeat the problem in bug report #1850730
...
(http://curl.haxx.se/bug/view.cgi?id=1850730 ) I wrote up test case 552. The
test is doing a 70K POST with a read callback and an ioctl callback over a
proxy requiring Digest auth. The test case code is more or less identical to
the test recipe code provided by Spacen Jasset (who submitted the bug report).
2007-12-26 21:48:52 +00:00
Daniel Stenberg
6adf5880f5
what we're having atm
2007-12-26 21:46:51 +00:00
Gunter Knauf
4e8c4fc80b
added missing semicolon fromn last commit.
2007-12-25 13:26:01 +00:00
Daniel Stenberg
fc1d1ea934
Gary Maxwell filed bug report #1856628
...
(http://curl.haxx.se/bug/view.cgi?id=1856628 ) and provided a fix for the
(small) memory leak in the SSL session ID caching code. It happened when a
previous entry in the cache was re-used.
2007-12-24 23:45:48 +00:00
Dan Fandrich
9cd30c2012
Use getcwd() to get the directory, which works even if one of the directory
...
components doesn't have read permission set.
2007-12-22 18:25:43 +00:00
Dan Fandrich
d639ed1aaf
Use getcwd() to get the directory, which works even if one of the
...
directory components doesn't have read permission set.
2007-12-20 21:21:43 +00:00
Dan Fandrich
c3a02f5407
Ensure that nroff doesn't put anything but ASCII characters into the
...
--manual text.
2007-12-19 21:19:01 +00:00
Yang Tse
674845f239
( http://curl.haxx.se/mail/archive-2007-12/0039.html ) reported and fixed
...
a file truncation problem on Windows build targets triggered when retrying
a download with curl.
2007-12-18 18:33:24 +00:00
Yang Tse
07a1857d59
MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,
...
and makes wrong asumptions of build target when it isn't specified. So,
if no build target has been defined we will target WinXP when building
with MSVC 9.0 (VS2008).
2007-12-18 18:08:19 +00:00
Yang Tse
f4ffa85f60
pollfd struct and WSA_poll fixes for Windows Vista already present in CVS
2007-12-18 10:36:32 +00:00
Daniel Stenberg
bcd7d03b3b
Mateusz Loskot pointed out that VC++ 9.0 (2008) has the pollfd struct and
...
defines in the SDK somehow differently so we have to add a define to the
config-win32.h file to make select.h compile nicely.
2007-12-17 21:19:42 +00:00
Daniel Stenberg
82c9379b6c
spell!
2007-12-15 22:19:08 +00:00
Daniel Stenberg
c1730dc50a
Add test 551 that tests callback-post over a proxy that requires Digest auth.
...
A failed attempt to repeat bug report #1850730 (ie the test works fine).
2007-12-15 22:13:07 +00:00
Daniel Stenberg
20695098c8
remove mistaken "-d" from here
2007-12-14 22:09:15 +00:00
Daniel Stenberg
ee52ae001c
-u addition: If you just give the user name (without entering a colon) curl
...
will prompt for a password. Denis Bredelet pointed out!
2007-12-14 11:19:56 +00:00
Dan Fandrich
26115aac5d
Added missing <features>
2007-12-14 01:09:45 +00:00
Dan Fandrich
ca6b27aed2
Fixed typo in test title
2007-12-14 01:05:30 +00:00
Yang Tse
4fabe22173
Fix compiler warning
2007-12-13 14:39:51 +00:00
Daniel Stenberg
7b1a22147e
David Wright filed bug report #1849764
...
(http://curl.haxx.se/bug/view.cgi?id=1849764 ) with an included fix. He
identified a problem for re-used connections that previously had sent
Expect: 100-continue and in some situations the subsequent POST (that didn't
use Expect:) still had the internal flag set for its use. David's fix (that
makes the setting of the flag in every single request unconditionally) is
fine and is now used!
2007-12-13 10:00:06 +00:00
Daniel Stenberg
dc24540ed1
Gilles Blanc made the curl tool enable SO_KEEPALIVE for the connections and
...
added the --no-keep-alive option that can disable that on demand.
2007-12-12 11:22:15 +00:00
Daniel Stenberg
92eae30f4d
clarify that the CURLMOPT_TIMERFUNCTION callback can pass in 0 and -1 as legal
...
values and what they mean
2007-12-11 21:19:38 +00:00
Daniel Stenberg
79ef08f631
build acountry too
2007-12-11 19:34:31 +00:00
Gisle Vanem
e3c5f8374b
Added acountry.c.
2007-12-11 17:26:07 +00:00
Gisle Vanem
6dc68b4193
Added build of acountry.nlm.
2007-12-11 17:24:43 +00:00
Gisle Vanem
afab4d888f
Added build of acountry.exe.
2007-12-11 17:23:18 +00:00
Gisle Vanem
c751dfd65d
Build acountry.exe. Added 'socklen_t' define.
2007-12-11 17:22:20 +00:00
Gisle Vanem
dbca1347f1
Another sample application that returns country-code and
...
name from an IPv4-address or host-name. Using the service of
countries.nerd.dk.
2007-12-11 17:21:12 +00:00
Daniel Stenberg
3b6315ce1f
grrr, the previous commit was meant to properly make sure that we don't
...
link any executables when doing debug builds since they kind of assume
symbols provided by libcurl, but it also wrongly included acountry.c
2007-12-10 22:20:26 +00:00
Daniel Stenberg
3c1db5f250
when building
2007-12-10 22:19:06 +00:00
Daniel Stenberg
562e9b7bf3
build ahost and adig by default but don't install them
2007-12-10 21:42:04 +00:00
Patrick Monnerat
a83e72692f
Define new options in OS400 RPG interface
...
Port OS400 compilation scripts to >= V5R2M0
2007-12-10 17:09:09 +00:00
Gisle Vanem
bd99a7dc8c
Fix for targets that do have 'struct in6_addr', but which doesn't
...
define 's6_addr' as a macro.
2007-12-10 16:14:02 +00:00
Daniel Stenberg
db2d52a792
cut out the number of contributors from this file since it'll always be wrong
2007-12-10 11:33:46 +00:00
Daniel Stenberg
24602edc17
5.13 How do I stop an ongoing transfer?
2007-12-10 10:28:56 +00:00
Daniel Stenberg
b0b40d9a00
Andrew Moise filed bug report #1847501
...
(http://curl.haxx.se/bug/view.cgi?id=1847501 ) and pointed out a memcpy()
that should be memmove() in the convert_lineends() function.
2007-12-09 22:31:53 +00:00
Daniel Stenberg
71b105ceb1
add in toc too
2007-12-09 12:26:05 +00:00
Daniel Stenberg
ccb4956145
RTMP support?
2007-12-09 12:22:22 +00:00
Daniel Stenberg
3d09cb0a88
oops another bad numbering
2007-12-09 12:20:06 +00:00
Daniel Stenberg
a03c2d825b
oops duplicate numbering
2007-12-09 12:12:52 +00:00
Daniel Stenberg
06fb242e23
slightly rephrased
2007-12-09 12:00:54 +00:00
Gisle Vanem
a086952244
Removed use of '..\lib\libcurl_wc.lib' as this is not really
...
a static-lib. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
2007-12-09 09:58:56 +00:00
Gisle Vanem
2b314064ae
Removed building 'libcurl_wc.lib' as this isn't a static-library
...
in the common sense. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
2007-12-09 09:44:05 +00:00
Daniel Stenberg
439990be88
Travelling some 500km by train back and forth on the same day gives you time
...
to do things you don't otherwise do, but here's the summary of today's work...
2007-12-08 23:01:46 +00:00
Daniel Stenberg
41d8186c7e
reformat to FAQ/CONTRIBUTE style, for nicer web-look when I apply the magic
...
script(s) on it online
2007-12-08 23:00:00 +00:00
Daniel Stenberg
6e9276229f
cleanup
2007-12-08 22:58:12 +00:00
Daniel Stenberg
636f5eb882
fix a crash in oom situations (thanks runtests.pl -t!)
2007-12-08 22:57:17 +00:00
Daniel Stenberg
963ef5414c
add keywords
2007-12-08 22:56:17 +00:00
Daniel Stenberg
975812d246
add missing files
2007-12-08 22:56:05 +00:00
Daniel Stenberg
089668ec73
correct the comment about size
2007-12-08 22:53:49 +00:00
Daniel Stenberg
cc0ce38acc
add test 549 and 550
2007-12-08 22:53:28 +00:00
Daniel Stenberg
8cdff55b80
mention how to enable chunked encoding for POSTs
2007-12-08 22:52:39 +00:00
Daniel Stenberg
662bee7193
All static functions that were previously name Curl_* something no longer
...
use that prefix as we use that prefix only for library-wide internal global
symbols.
2007-12-08 22:50:55 +00:00
Daniel Stenberg
f8172f85b1
clarify that when curl_multi_timeout() returns -1 it just means that there
...
is no current timeout. It does not mean wait forever and it does not mean
do not wait at all. It means there is no timeout value known at this point in
time.
2007-12-06 22:36:52 +00:00
Daniel Stenberg
7d3ea12b62
Spacen Jasset reported a problem with doing POST (with data read with a
...
callback) over a proxy when NTLM is used as auth with the proxy. The bug
also concerned Digest and was limited to using callback only. Spacen worked
with us to provide a useful patch. I added the test case 547 and 548 to
verify two variations of POST over proxy with NTLM.
2007-12-05 21:20:14 +00:00
Daniel Stenberg
59dc9085d1
fix compiler warning
2007-12-05 11:10:24 +00:00
Daniel Stenberg
4e4f33a297
added test548 which uses the lib547 source file, preparing for test547 which
...
is supposed to repeat the bug report "NTLM proxy authentication with
CURLOPT_READDATA seems broken." posted on the curl-library mailing list on dec
3 2007.
2007-12-05 11:08:56 +00:00
Yang Tse
8fa599215b
Fix compiler warning: variable may be used uninitialized
2007-12-04 00:15:03 +00:00
Daniel Stenberg
31e2409d6b
Ray Pekowski filed bug report #1842029
2007-12-03 22:44:47 +00:00
Yang Tse
15c304225f
Fix three issues previous cleanup introduces.
2007-12-03 19:57:18 +00:00
Daniel Stenberg
e1998e3b58
SSL session id caching bugfix
2007-12-03 11:49:20 +00:00
Daniel Stenberg
5c447f2499
Bug report #1842029 ( http://curl.haxx.se/bug/view.cgi?id=1842029 ) identified
...
a problem with SSL session caching that prevent it from working, and the
associated fix!
2007-12-03 11:48:09 +00:00
Daniel Stenberg
9d0ffb9cc6
mention "no longer default-appends ;type= on FTP URLs thru proxies" as a bug
...
fix even if kind of implied by the new option
2007-12-03 11:41:36 +00:00
Daniel Stenberg
2be50baf97
Now libcurl (built with OpenSSL) doesn't return error anymore if the remote
...
SSL-based server doesn't present a certificate when the request is told to
ignore certificate verification anyway.
2007-12-03 11:39:27 +00:00
Daniel Stenberg
a1772ca406
Erik Kline cleaned up ares_gethostbyaddr.c:next_lookup() somewhat
2007-12-03 10:25:05 +00:00
Daniel Stenberg
30eda92a53
Brad Spencer fixed the configure script to assume that there's no
...
/dev/urandom when built cross-compiled as then the script cannot check for
it.
2007-12-03 10:22:29 +00:00
Daniel Stenberg
1f058f1014
removed the ;type= thing for FTP urls through proxy, since that's now only
...
present when enabled by on option which isn't done by default (and isn't even
available for the curl app atm)
2007-12-03 09:50:32 +00:00
Daniel Stenberg
84d0477cb9
107 - resolve the type= thing for FTP URLs over HTTP proxies, is solved
2007-12-02 23:39:39 +00:00
Daniel Stenberg
1c93e75375
Michal Marek introduced CURLOPT_PROXY_TRANSFER_MODE which is used to control
...
the appending of the "type=" thing on FTP URLs when they are passed to a
HTTP proxy. Some proxies just don't like that appending (which is done
unconditionally in 7.17.1), and some proxies treat binary/ascii transfers
better with the appending done!
2007-12-02 23:38:23 +00:00
Dan Fandrich
380ed8bebf
Upped copyright year
2007-11-30 02:31:07 +00:00
Daniel Stenberg
98e8978857
uh, corrected pretty major write error!
2007-11-29 22:27:51 +00:00
Daniel Stenberg
56ddfbea6e
ftp resumed upload and long Digest nonces
2007-11-29 22:15:22 +00:00
Daniel Stenberg
45a2240ead
A bug report on the curl-library list showed a HTTP Digest session going on
...
with a 700+ letter nonce. Previously libcurl only support 127 letter ones
and now I bumped it to 1023.
2007-11-29 22:14:48 +00:00
Daniel Stenberg
f75ba55b51
Fixed the resumed FTP upload loop to not require that the read callback
...
returns a full buffer on each invoke.
2007-11-29 22:14:33 +00:00
Daniel Stenberg
46e6115d72
include the libssh2 return code in the output for these failures to ease
...
debugging
2007-11-29 11:25:10 +00:00
Daniel Stenberg
800a72878a
the gethostbyname fix applied here as well
2007-11-28 15:18:27 +00:00
Daniel Stenberg
649f7b7fd3
fix next_lookup() to continue searching even if c-ares failed to load the
...
/etc/hosts file, pointed out by Erik Kline:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2007-11/0027.shtml
2007-11-28 10:46:40 +00:00
Daniel Stenberg
c1b734a3e1
When --with-gssapi (without given path) is used, we must use krb5-config to
...
get the libs as well and not only the include path like we used to.
2007-11-28 10:33:47 +00:00
Yang Tse
cf806748ec
To allow remote log inspection avoid redirecting messages to stderr.
...
Cleanup some debugging messages. Unlink log file on exit.
2007-11-28 01:46:28 +00:00
Daniel Stenberg
b28dc011e0
Remove the check for libdl since that isn't actually used and it causes
...
warnings. Pointed out by Robin Cornelius.
2007-11-27 22:41:53 +00:00
Daniel Stenberg
ee4fef3768
pkgconfig fix by Andreas Schuldei
2007-11-27 22:38:11 +00:00
Daniel Stenberg
058a023fae
spellfix
2007-11-27 22:37:55 +00:00
Yang Tse
0c367fef94
ConnectTimeout requires OpenSSH 3.7 or later
2007-11-27 20:57:22 +00:00
Yang Tse
a418d290f1
Explicitly disallow remote hosts to connect to local forwarded ports,
...
the socks server port in the test suite. This is the default setting
unless a tinkered built ssh is being used.
2007-11-27 00:52:30 +00:00
Yang Tse
08cb30801c
Stop ssh and socks servers when verification fails
2007-11-26 14:26:40 +00:00
Yang Tse
788de4f7ba
Providing an explicit bind address besides the port for dynamic application-level
...
port forwarding, our socks port, prevents ssh from running on some systems.
By default, ssh binds local port forwardings to the loopback address, since this
was the address being given as the explicit bind address, now it isn't given.
2007-11-26 14:07:09 +00:00
Daniel Stenberg
ebce0a16f6
more blurb
2007-11-26 12:26:58 +00:00
Daniel Stenberg
df546bd58c
Added recent changes and spellchecked
2007-11-26 11:04:51 +00:00
Daniel Stenberg
05221e9056
test1015 --data-urlencode
2007-11-26 11:04:21 +00:00
Daniel Stenberg
e963714de6
#1 fixed --data-urlencode when no = or @ was used
...
#2 extended the user-agent buffer since I hit the 128 byte boundary!
2007-11-26 11:03:32 +00:00
Daniel Stenberg
dc11239ff1
slightly less outdated
2007-11-26 11:02:45 +00:00
Yang Tse
d59841618d
Temporary change to better debug startup failures
...
of test suite ssh and socks servers.
2007-11-26 02:45:24 +00:00
Yang Tse
8d3964782a
Allow different start timeout specification for each server
2007-11-25 03:55:53 +00:00
Daniel Stenberg
162c039e9d
reqdata doesn't exist anymore and the path moved to the UrlState struct
2007-11-24 23:18:21 +00:00
Daniel Stenberg
13648f8ccd
struct HandleData is now called struct SingleRequest, and is only for data that
...
is inited at the start of the DO action. I removed the Curl_transfer_keeper
struct completely, and I had to move out a few struct members (that had to
be set before DO or used after DONE) to the UrlState struct. The SingleRequest
struct is accessed with SessionHandle->req.
One of the biggest reasons for doing this was the bunch of duplicate struct
members in HandleData and Curl_transfer_keeper since it was really messy to
keep track of two variables with the same name and basically the same purpose!
2007-11-24 23:16:55 +00:00
Yang Tse
5b809a3104
make 'checkdied' in runtests.pl more robust
2007-11-23 12:18:45 +00:00
Yang Tse
3daa54d636
Revert last change since it breaks running the test suite
...
when builddir is different from srcdir.
2007-11-23 09:50:44 +00:00
Yang Tse
8f1829d1d2
Improve chance of running runtests.pl from outside the
...
source tree 'tests' directory
2007-11-23 04:03:46 +00:00
Yang Tse
6efb6addf2
Debugging messages to trace startnew failures
2007-11-22 19:56:38 +00:00
Yang Tse
d789097af0
Provide a socklen_t definition in curl.h for Win32 API build targets
...
which don't have one.
2007-11-22 16:35:07 +00:00
Daniel Stenberg
4bd2d49ca1
make nlen a size_t to better hold diffs between pointers etc
2007-11-22 09:39:04 +00:00
Daniel Stenberg
ecfede9b3c
Alessandro Vesely helped me improve the --data-urlencode's syntax, parser
...
and documentation.
2007-11-22 09:36:28 +00:00
Daniel Stenberg
cb04619de2
Make the do_complete() function not get called until the DO actually is
...
compelete, which bascially means when used with the multi interface
2007-11-21 22:37:55 +00:00
Yang Tse
61e2e86aef
Temporary change adding additional debugging messages to better pinpoint
...
startup failures of test suite ssh and socks servers.
2007-11-21 19:33:09 +00:00
Yang Tse
9b86eecb94
Fix trying to return outside of a subroutine
2007-11-21 17:50:30 +00:00
Daniel Stenberg
35212da048
and we start on 1.5.2!
2007-11-21 10:16:44 +00:00
Daniel Stenberg
755e743cdd
change
2007-11-21 10:12:20 +00:00
Daniel Stenberg
1a323390ec
oops
2007-11-21 10:12:06 +00:00
Daniel Stenberg
23559fd118
start working on 1.5.1 now
2007-11-21 09:31:56 +00:00
Daniel Stenberg
d994a873a4
this is what 1.5.0 is
2007-11-21 09:24:03 +00:00
Daniel Stenberg
b6575ce0b0
While inspecting the Negotiate code, I noticed how the proxy auth was using
...
the same state struct as the host auth, so both could never be used at the
same time! I fixed it (without being able to check) to use two separate
structs to allow authentication using Negotiate on host and proxy
simultanouesly.
2007-11-20 23:17:08 +00:00
Daniel Stenberg
e2b2a84497
clarify somewhat what happens to some data when a share is set to be used
2007-11-20 23:16:19 +00:00
Daniel Stenberg
86956c2261
white space changes only to clean up indent and source width
2007-11-20 23:02:58 +00:00
Daniel Stenberg
ef6dfdc7fd
remove the unconditional enabling of cookies if you set a share to use!
2007-11-20 22:59:10 +00:00
Daniel Stenberg
f3b85ef79d
a bunch of new comments
2007-11-20 22:57:24 +00:00
Daniel Stenberg
1d7e42ee9f
rephrased
2007-11-20 22:01:05 +00:00
Yang Tse
6dfb5b4e1f
Don't gather additional debug info unless sshd actually fails
2007-11-20 16:47:56 +00:00
Patrick Monnerat
930085751c
ILE RPG binding: OS/400 specific and contained in source distribution
2007-11-20 14:23:13 +00:00
Yang Tse
258c4686b2
Improve detection of sshd un/supported options.
...
Gather additional debug info when the test suite ssh server fails to start.
2007-11-20 14:10:09 +00:00
Daniel Stenberg
600d0b1303
Introuced --data-urlencode to the curl tool for easier url encoding of the
...
data sent in a post.
2007-11-20 10:08:42 +00:00
Daniel Stenberg
2f928797cf
fix the treatment of the parameter-based precision, as in "%.*s%s" as
...
previously the second %s would wrongly get the numerical argument that is used
for the variable precision for the first %s...
2007-11-20 10:03:33 +00:00
Daniel Stenberg
f3f06e823c
107 - resolve the type= thing for FTP URLs over HTTP proxies
2007-11-20 09:44:37 +00:00
Daniel Stenberg
58292f49c5
106 - Share interface force-enable the cookie parser
2007-11-19 23:20:15 +00:00
Yang Tse
5376d1047c
This is a temporary change to test if OpenSSH 3.6 and SunSSH 1.1
...
are good/compatible enough to run the test suite ssh server and
socks tests
2007-11-19 17:20:32 +00:00
Daniel Stenberg
1746b57161
fill in missing copyrights
2007-11-19 15:47:01 +00:00
Daniel Stenberg
0561bffab3
I think this is the right fix for other non-OpenSSL libs, based on the NSS fix
...
from the other day. It is time to setup the internal SSL libs and treat them
with a "handler" struct similar to how we deal with the protocols these days...
2007-11-19 09:24:24 +00:00
Yang Tse
968e943eac
Temporary change to help debugging string(s) returned by sshd -V
...
when sshd is not being identified as an OpenSSH daemon
2007-11-19 01:49:28 +00:00
Gunter Knauf
5be00c95a7
removed now obsolete defines;
...
updated external library versions to latest.
2007-11-18 22:48:39 +00:00
Daniel Stenberg
c80b9c3778
Rob Crittenden fixed SSL connections with NSS done with the multi-interface
2007-11-18 09:45:05 +00:00
Yang Tse
536f98a766
Add /opt/ssh/sbin and /opt/ssh/libexec to the sshd locations search list.
...
Improve wording of a couple of debug messages.
2007-11-18 01:16:44 +00:00
Yang Tse
c4e5613a7d
When unable to start test suite sshserver, log if OpenSSH has not been
...
found or the OpenSSH version found
2007-11-17 17:43:33 +00:00
Daniel Stenberg
bff962398d
Andres Garcia made the examples build fine on Windows (mingw + msys) when
...
the lib was built staticly.
2007-11-17 10:22:44 +00:00
Yang Tse
2b15823dab
Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search list
2007-11-17 02:28:54 +00:00
Daniel Stenberg
59dcc7e191
Michal Marek made the test suite remember what test servers that fail to
...
start so that subsequent tries are simply skipped.
2007-11-16 23:06:53 +00:00
Steinar H. Gunderson
ea3fe98867
Fix a double free.
2007-11-16 09:36:00 +00:00
Yang Tse
4f05613fbb
Fix unsigned integral math check in add_buffer_send()
2007-11-16 01:19:46 +00:00
Daniel Stenberg
22e52ddd6e
Ates Goral identified a problem in http.c:add_buffer_send() when a debug
...
callback was used, as it could wrongly pass on a bad size for the outgoing
HTTP header. The bad size would be a very large value as it was a wrapped
size_t content. This happened when the whole HTTP request failed to get sent
in one single send. http://curl.haxx.se/mail/lib-2007-11/0165.html
2007-11-15 23:42:21 +00:00
Daniel Stenberg
1125d45397
removed unnecessary check from add_buffer_send() that only was made within
...
#ifdef CURL_DOES_CONVERSIONS anyway! I turned it into a DEBUGASSERT() instead.
2007-11-15 23:30:59 +00:00
Daniel Stenberg
44d408204a
Michal Marek fixed the test suite to better deal with the case when the HTTP
...
ipv6 server can't run.
2007-11-15 22:41:31 +00:00
Daniel Stenberg
50feea3eef
Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into
...
do_init() and do_complete() which now are called first and last in the DO
function. It simplified the flow in multi.c and the functions got more
sensible names!
2007-11-15 21:45:45 +00:00
Yang Tse
ca95f58ac0
Needed now that in6_addr is referenced in ares.h
2007-11-15 19:44:01 +00:00
Yang Tse
ed636cbe44
Replace isupper with our uppercase macro version
2007-11-15 13:20:18 +00:00
Yang Tse
738e4f410c
Replace isgraph with our uppercase macro version
2007-11-15 13:12:35 +00:00
Daniel Stenberg
4e731a0189
Make the Transfer() function return earlier without doing any initializations
...
for the cases where there's nothing to do in here, like for SFTP directory
listings that already is complete when this function gets called. The init
stuff clears byte counters which isn't really desired.
2007-11-15 11:03:02 +00:00
Steinar H. Gunderson
5cf6a539fe
When looking up in DNS and then in the hosts file, return the error code from DNS if both fail, instead of returning the error code from the hosts file, as today. Patch from the Google tree.
2007-11-15 09:16:48 +00:00
Steinar H. Gunderson
17fde12fb8
Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. Patch from the Google tree.
2007-11-15 08:36:25 +00:00
Daniel Stenberg
5c8b973d4f
use the existing variable instead
2007-11-14 22:44:30 +00:00
Daniel Stenberg
b22e03b2b2
Fix how TFTP connections are treated when re-used, if the SessionHandle has
...
been used for other protocols in between. I found this when test 2004 started
to fail for me!
2007-11-14 22:41:42 +00:00
Yang Tse
a2926ebe7c
Fix a variable potential wrapping in add_buffer() when using absolutely
...
huge send buffer sizes
2007-11-14 00:48:11 +00:00
Daniel Stenberg
c508d70258
Fixed a remaining problem with doing SFTP directory listings on a re-used
...
persistent connection. Mentioned by Immanuel Gregoire on the mailing list.
2007-11-12 23:04:44 +00:00
Daniel Stenberg
f5971f54ff
comment language
2007-11-12 21:42:20 +00:00
Daniel Stenberg
c5b16d4468
Bug report #1830637 ( http://curl.haxx.se/bug/view.cgi?id=1830637 ), which was
...
forwarded from the Gentoo bug tracker by Daniel Black and was originally
submitted by Robin Johnson, pointed out that libcurl would do bad memory
references when it failed and bailed out before the handler thing was
setup. My fix is not done like the provided patch does it, but instead I
make sure that there's never any chance for a NULL pointer in that struct
member.
2007-11-12 21:38:43 +00:00
Daniel Stenberg
3c71a1bab7
oops, fixed build when CURL_LIBSSH2_DEBUG is defined
2007-11-12 09:24:05 +00:00
Daniel Stenberg
3ec322685b
new ruby binding, curl-multi version 0.1
2007-11-11 14:20:15 +00:00
Yang Tse
9a39839a43
Some versions of winsock2.h have pollfd struct and constants
2007-11-10 04:23:15 +00:00
Yang Tse
e87c996fe0
Fix compiler warning: integral size mismatch in argument
2007-11-08 19:28:25 +00:00
Yang Tse
32195c673d
Define WIN32 when build target is Win32 API.
...
This also defines it for WinCE even though it is a subset of WIN32.
2007-11-08 18:13:54 +00:00
Yang Tse
b99a61c5b0
Fix compiler warning: may be used uninitialized
2007-11-08 16:43:01 +00:00
Yang Tse
c960cd41e8
Fix comment
2007-11-08 16:32:31 +00:00
Daniel Stenberg
a29471d0f7
spell!
2007-11-08 10:25:23 +00:00
Daniel Stenberg
ba6f20a244
Bug report #1823487 ( http://curl.haxx.se/bug/view.cgi?id=1823487 ) pointed
...
out that SFTP requests didn't use persistent connections. Neither did SCP
ones. I gave the SSH code a good beating and now both SCP and SFTP should
use persistent connections fine. I also did a bunch for indent changes as
well as a bug fix for the "keyboard interactive" auth.
2007-11-08 10:22:49 +00:00
Yang Tse
61572a1f97
The only libraries actually needed for sample programs adig and
...
ahost are ws2_32.lib and advapi32.lib
2007-11-08 01:33:28 +00:00
Yang Tse
dee3844f13
MSVC versions prior to VS2005 do not complain about portable C functions
2007-11-07 18:18:42 +00:00
Daniel Stenberg
cbd1a77ec2
if () => if()
...
while () => while()
and some other minor re-indentings
2007-11-07 09:21:35 +00:00
Dan Fandrich
33f7ac06c3
Improved telnet support by drastically reducing the number of write
...
callbacks needed to pass a buffer to the user. Instead one per byte it
is now as little as one per segment.
2007-11-07 05:52:03 +00:00
Dan Fandrich
70f10f1ac9
Add a call to curl_global_cleanup to show how to do a proper shutdown.
2007-11-07 04:53:37 +00:00
Yang Tse
775b60fa09
Bug report #1824894 ( http://curl.haxx.se/bug/view.cgi?id=1824894 ) pointed
...
out a problem in curl.h when building C++ apps with MSVC. To fix it, the
inclusion of header files in curl.h is moved outside of the C++ extern "C"
linkage block.
2007-11-06 17:18:27 +00:00
Gisle Vanem
66e4d391d3
Added prototype for _strtoi64().
2007-11-06 16:20:54 +00:00
Gisle Vanem
caf880be18
Constified from arguments.
2007-11-06 16:20:04 +00:00
Dan Fandrich
c8355c27e9
Sort the directory listing because the server doesn't always do it.
2007-11-05 20:54:35 +00:00
Dan Fandrich
c2d7e2ae17
Added some keywords
2007-11-05 20:53:15 +00:00
Daniel Stenberg
98ecad0da6
tclcurl and a mirror recount when bad ones have been cut out
2007-11-05 15:43:41 +00:00
Daniel Stenberg
bbc4e05434
Andres Garcia made it build and run on windows
2007-11-05 10:07:34 +00:00
Daniel Stenberg
ad6e28073c
removed space after if and while before the parenthesis for better source code
...
consistency
2007-11-05 09:45:09 +00:00
Daniel Stenberg
af29dcbafb
I check the code right now and while() and if() are in majority over while ()
...
and if () so the rule is from now on => no space before the parenthesis.
2007-11-05 09:31:30 +00:00
Daniel Stenberg
b9a7f4e502
Move connection-oriented variables from the SessionHandle struct to the
...
connectdata struct. This will in theory enable us to do persistent connections
with SCP+SFTP, but currently the state machine always (and wrongly) cleanup
everything in the 'done' action instead of in 'disconnect'. Also did a bunch
of indent fixes, if () => if() and a few other source cleanups like added
comments etc.
2007-11-05 09:30:45 +00:00
Daniel Stenberg
51009a40b4
make sure the code deals with failures on the DO_MORE state properly
2007-11-03 14:44:38 +00:00
Daniel Stenberg
2ec8f77f21
avoid setting up a transfer when the state machine failed previously
2007-11-02 23:34:00 +00:00
Daniel Stenberg
7f62028d66
Toby Peterson patched a memory problem in the command line tool that
...
happened when a user had a home dir as an empty string. curl would then do
free() on a wrong area.
2007-11-01 21:49:59 +00:00
Daniel Stenberg
d34fe06fb0
minor re-indent
2007-11-01 21:43:56 +00:00
Dan Fandrich
2f3d520571
Ignore more features that curl-config is not expected to know about
2007-11-01 21:20:24 +00:00
Dan Fandrich
48dd0c5673
Fixed curl-config --features to not display libz when it wasn't used
...
due to a missing header file.
2007-11-01 18:55:00 +00:00
Dan Fandrich
8be493296d
Make postcheck failure message more like the others
2007-11-01 17:42:39 +00:00
Dan Fandrich
6f33531861
Added test case 1014 to compare curl-config --features with curl --version
2007-11-01 03:09:27 +00:00
Dan Fandrich
16897354bc
Added test case 1013 to check that curl-config --protocols matches the
...
protocols listed in curl --version
2007-11-01 00:36:55 +00:00
Dan Fandrich
823a0454a6
Fixed the output of curl-config --protocols which showed SCP and SFTP
...
always, except when --without-libssh2 was given
2007-10-31 23:33:58 +00:00
Dan Fandrich
6790c559af
Detect curl source when valgrind provides an absolute source file name
2007-10-31 18:32:06 +00:00
Gisle Vanem
c56c4a0a47
Add support for LDAP urls. Allthough the OpenWatcom
...
headers <winlap.h> and <winber.h> defines wrong calling convention.
2007-10-31 10:58:51 +00:00
Gisle Vanem
45064c5778
Added optional use of zlib (USE_ZLIB=1).
...
Use a response-file for the C-compiler.
2007-10-31 10:20:48 +00:00
Daniel Stenberg
7aba59f577
contributor re-count (we'll break the 600 limit very very soon now) and I made
...
all the numericals at the top phrased "shorter" and I cut out the "number of
releases since the very beginning" since that's just the number curl releases
+ 26 and not a very interesting number anyway.
2007-10-31 09:21:31 +00:00
Dan Fandrich
59b05ac383
Fixed an OOM problem with file: URLs
...
Moved Curl_file_connect into the protocol handler struct.
2007-10-30 23:00:40 +00:00
Daniel Stenberg
9b15f1be26
added new people from the 7.17.1 announcement
2007-10-30 22:48:08 +00:00
Dan Fandrich
38cd2d781f
Added test case 546 to check that subsequent FTP transfers work after a
...
failed one using the multi interface
2007-10-29 22:57:31 +00:00
Daniel Stenberg
2f285b3f16
curl-config --features and --protocols show the correct output when built
...
with NSS
2007-10-29 22:13:09 +00:00
Daniel Stenberg
57d2fb41d0
Based on one of those bug reports that are intercepted by a distro's bug
...
tracker (https://bugzilla.redhat.com/show_bug.cgi?id=316191 ), I now made
curl-config --features and --protocols show the correct output when built
with NSS.
2007-10-29 22:13:00 +00:00
Dan Fandrich
0f77fe55b6
Reverted the const change--what was I thinking?
2007-10-29 20:57:03 +00:00
Dan Fandrich
68ee002ad0
Made some pointers const
2007-10-29 18:32:20 +00:00
Daniel Stenberg
1fc3b18592
7.17.2
2007-10-29 15:06:04 +00:00
Daniel Stenberg
5a5287ef2a
start working on 7.17.2
2007-10-29 15:05:47 +00:00
Daniel Stenberg
30c85c327b
7.17.1!
2007-10-29 14:49:11 +00:00
Daniel Stenberg
ed3cc86390
correct mirror count
2007-10-29 14:48:37 +00:00
Daniel Stenberg
e5f1499f62
let 7.17.1 be version-info 4:1:0
2007-10-29 10:19:07 +00:00
Gisle Vanem
848f40fd65
OpenWatcom cannot use wldap32.lib (wrong calling convention?).
...
Added generation of dummy ca-bundle.h. Sorted objects.
2007-10-28 12:02:20 +00:00
Daniel Stenberg
5adf53dc01
http://curl.wetzlmayr.at/ is a new web mirror in Nuremberg, Germany
2007-10-28 09:33:03 +00:00
Dan Fandrich
15feb8217f
Fixed the 2000-series tests so that the downloaded data is actually checked
2007-10-27 01:04:36 +00:00
Dan Fandrich
59dccb34b0
Made the magic testnumber > 10000 support actually work
2007-10-27 01:02:57 +00:00
Dan Fandrich
e8057241c6
Fixed the test case to create only a single test file, which is all the
...
test harness supports.
2007-10-26 20:19:49 +00:00
Dan Fandrich
d3ee83747c
Fixed a valgrind uninitialized variable error.
2007-10-26 19:26:41 +00:00
Dan Fandrich
3f55ed0ef7
Check that all servers in the <server> section are supported, not just
...
the first.
2007-10-26 19:26:04 +00:00
Daniel Stenberg
f9cfef3599
mention --static-libs as added in 7.17.1
2007-10-26 07:46:02 +00:00
Yang Tse
07dbfa25a0
typecast to prevent compiler warning
2007-10-26 01:12:33 +00:00
Yang Tse
1d49c04545
Detect, log and avoid storing a request with a negative size.
2007-10-26 00:36:36 +00:00
Dan Fandrich
faaaf62655
Added the --static-libs option to curl-config
2007-10-25 22:30:35 +00:00
Dan Fandrich
43885493ea
Disable valgrind for this test to avoid the rlimit = soft rlimit problem
...
found by Michal Marek.
2007-10-25 21:49:45 +00:00
Daniel Stenberg
1230422181
oops
2007-10-25 21:14:15 +00:00
Daniel Stenberg
6a17cae4f6
Made libcurl built with NSS possible to ignore the peer verification.
...
Previously it would fail if the ca bundle wasn't present, even if the code
ignored the verification results.
2007-10-25 21:08:55 +00:00
Dan Fandrich
1eac702c1a
Added test case 2004.
...
Disable valgrind in test case 1004 due to a libtool bug.
2007-10-25 21:04:51 +00:00
Daniel Stenberg
4b96ac504c
prevent compiler warnings about shadowing and one case of unused variable
2007-10-25 20:54:46 +00:00
Patrick Monnerat
0678a51d3b
Allow test server to handle binary POSTs.
...
Tests 35, 544 545 added: binary data POSTs.
2007-10-25 19:40:05 +00:00
Dan Fandrich
b7dd186d36
When valgrind is disabled in the test file, don't run it at all (as opposed
...
to running it and ignoring its output).
2007-10-25 19:39:52 +00:00
Yang Tse
26c1c8b2ad
Don't show valgrind log files of other tests
2007-10-25 18:07:13 +00:00
Daniel Stenberg
824aa5f918
Michal Marek fixed the test script to be able to use valgrind even when the
...
lib is built shared with libtool.
2007-10-25 14:30:51 +00:00
Daniel Stenberg
ca67dcbc05
Don't assume there's a sessionhandle around when a connection is disconnected,
...
so do the data->reqdata.current_conn assignment when we know there is an easy
handle existing! Fixes the valgrind report on test 509.
2007-10-25 09:41:35 +00:00
Daniel Stenberg
9dbc2c827d
fix the check
2007-10-25 09:34:16 +00:00
Daniel Stenberg
91e27ce755
Fixed a TFTP memory leak. Enabled test 2003 to verify this.
2007-10-25 07:47:38 +00:00
Dan Fandrich
65ed696625
Fixed the test TFTP server to support the >10000 test number notation
...
Added test cases 2002 and 2003 (the latter disabled for now)
2007-10-24 22:48:23 +00:00
Daniel Stenberg
3e3eaaada7
enable 2000 and 2001
2007-10-24 21:27:25 +00:00
Daniel Stenberg
8997d258f7
Curl_ftp_disconnect() no longer relies on anything in the reqdata struct. That
...
was even mentioned to be bad in a comment! Should make test 2000 and 2001 work
fine.
Also, freedirs() now take a ftp_conn struct pointer which saves some extra
unnecessary variable assignments.
2007-10-24 21:14:11 +00:00
Daniel Stenberg
a3f958aaaa
added clarifying comment
2007-10-24 21:09:59 +00:00
Dan Fandrich
38649d1362
Added test cases 2000 and 2001 which test multiple protocols using the
...
same easy handle
Fixed the filecheck: make target to work outside the source tree
2007-10-24 19:40:07 +00:00
Dan Fandrich
4f00a02ba3
Fixed the test FTP server to support the >10000 test number notation
2007-10-24 19:39:29 +00:00
Yang Tse
edef367e9c
Missing double quotes
2007-10-24 16:40:59 +00:00
Yang Tse
08c5e2a194
Windows build targets have socklen_t definition in ws2tcpip.h but some
...
versions of ws2tcpip.h do not have the definition. It seems that when
the socklen_t definition is missing from ws2tcpip.h the definition for
INET_ADDRSTRLEN is also missing, and that when one definition is present
the other one also is available.
2007-10-24 14:39:07 +00:00
Patrick Monnerat
c67c54d4b3
Close log/server.input ASAP to avoid lengthy file lock on cygwin
2007-10-24 13:03:08 +00:00
Daniel Stenberg
23b05e8473
Vladimir Lazarenko pointed out that we should do some 'mt' magic when
...
building with VC8 to get the "manifest" embedded to make fine stand-alone
binaries. The maketgz and the src/Makefile.vc6 files were adjusted
accordingly.
2007-10-24 09:28:36 +00:00
Daniel Stenberg
949ff9715a
Bug report #1812190 ( http://curl.haxx.se/bug/view.cgi?id=1812190 ) points out
...
that libcurl tried to re-use connections a bit too much when using non-SSL
protocols tunneled over a HTTP proxy.
2007-10-23 21:00:51 +00:00
Yang Tse
b9a305983f
File is not a protocol that can deal with "persistancy"
2007-10-23 15:16:46 +00:00
Yang Tse
8e7da9464a
Read callback should return 0 when no more data left
2007-10-23 15:10:48 +00:00
Yang Tse
e550df675a
Fix compiler warning: subscript has type `char'
2007-10-23 10:14:24 +00:00
Gunter Knauf
f614fe4946
removed dependency on gettimeofday() since we use only 1 sec resolution here.
2007-10-22 23:31:40 +00:00
Daniel Stenberg
e6ad066ed1
removed 105, it is now assumed to be fixed!
...
105 - "invalid free after an http redirect to ftp"
2007-10-22 15:07:29 +00:00
Daniel Stenberg
5b358603bd
Michal Marek forwarded the bug report
...
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to
FTP that caused memory havoc. His work together with my efforts created two
fixes:
#1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with
at connection cleanup, at which time the struct HandleData could be
used by another connection.
Also, the unused char *urlpath member is removed from struct FTP.
#2 - provide a Curl_reset_reqproto() function that frees
data->reqdata.proto.* on connection setup if needed (that is if the
SessionHandle was used by a different connection).
2007-10-22 15:05:35 +00:00
Daniel Stenberg
3910a61b61
Removed 93 and 100, there's no work on these and they're not critical in any
...
way:
93 - Digest for IIS fix (subject for removal)
100 - icc segmentation faults (subject for removal)
2007-10-22 14:48:25 +00:00
Daniel Stenberg
45d9772667
#103 is fixed
2007-10-22 10:23:25 +00:00
Daniel Stenberg
268eebca01
mention Patrick Monnerat's recent work on the postfields problems
2007-10-22 09:28:42 +00:00
Daniel Stenberg
1056dc9a26
Bug report #1815530 ( http://curl.haxx.se/bug/view.cgi?id=1815530 ) points out
...
that specifying a proxy with a trailing slash didn't work (unless it also
contained a port number).
2007-10-22 09:25:45 +00:00
Gunter Knauf
053654dc4d
Mohun Biswas sent a patch to fix generated MSVC8 makefiles.
2007-10-20 21:06:24 +00:00
Yang Tse
7fe89c5d29
We use this ZERO_NULL to avoid picky compiler warnings,
...
when assigning a NULL pointer to a function pointer var.
2007-10-20 15:47:16 +00:00
Yang Tse
5c8fc7dce9
Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits
2007-10-20 15:11:51 +00:00
Yang Tse
e8d3710aff
Add custom check for WINLDAP libraries.
...
In CURL_CHECK_LIBS_WINLDAP and CURL_CHECK_LIBS_LDAP, check first with no
additional library even when the optional list of libraries has been given.
2007-10-19 16:15:42 +00:00
Yang Tse
d0fe681a28
Fix message shown when detecting icc version
2007-10-19 12:15:00 +00:00
Yang Tse
9a70a6d0c0
Avoid shadowing a global declaration
2007-10-19 10:52:28 +00:00
Yang Tse
ee19b44fe0
Renamed a variable to avoid shadowing a global declaration
2007-10-18 17:31:19 +00:00
Yang Tse
8f0bef2fa0
Renamed internal function to avoid a variable shadowing it
2007-10-18 17:17:18 +00:00
Yang Tse
33ddeb6dcc
Fix compiler warning: feupdateenv is not implemented and will always fail.
...
Specifically for linux x86-64 with Intel's icc.
2007-10-18 16:24:14 +00:00
Yang Tse
e0dc7d6fc8
Sync PLATFORM_AIX_V3 detection and CURL_CC_DEBUG_OPTS()
...
icc warning level with libcurl's
2007-10-18 15:11:51 +00:00
Patrick Monnerat
8f5909b664
Allow CURLOPT_COPYPOSTFIELDS with explicit data size = 0
2007-10-18 10:54:49 +00:00
Dan Fandrich
bef2e7f2ff
Avoid a NULL pointer dereference in an OOM condition.
2007-10-18 01:04:57 +00:00
Yang Tse
8cfb0e26bb
Fix compiler warning: conversion from "int" to "unsigned char"
...
may lose significant bits
2007-10-18 01:01:20 +00:00
Yang Tse
0164f0cf81
Fix overflow detection, take four. Avoiding zero size malloc.
2007-10-17 19:29:06 +00:00
Yang Tse
420ea83ef3
Fix CURL_CHECK_LIBS_LDAP failure when no parameter is given
2007-10-17 18:47:01 +00:00
Yang Tse
223e470e93
actually sync with lib/setup_once.h
2007-10-17 18:18:27 +00:00
Yang Tse
e7387f7557
Fix overflow detection, thanks to Patrick Monnerat detecting test
...
failure condition: http://curl.haxx.se/mail/lib-2007-10/0152.html
2007-10-17 18:06:32 +00:00
Yang Tse
582bad89ef
sync with lib/setup_once.h
2007-10-17 16:59:24 +00:00
Yang Tse
92433e596b
We use this ZERO_NULL to avoid picky compiler warnings,
...
when assigning a NULL pointer to a function pointer var.
2007-10-17 16:58:32 +00:00
Yang Tse
5360f88393
Default check for more libraries in CURL_CHECK_LIBS_LDAP,
...
and allow parameter specification of libraries to check.
2007-10-17 13:08:10 +00:00
Yang Tse
949073d448
Fix compiler warning: signed and unsigned type in conditional expression
2007-10-17 00:44:48 +00:00
Yang Tse
85877dae9a
Fix compiler warning: comparison between signed and unsigned
2007-10-17 00:10:00 +00:00
Yang Tse
c6ef31955a
ANSI C compliant overflow check
2007-10-16 23:32:02 +00:00
Steinar H. Gunderson
92aaff009d
Fix a bug where fallback from AF_INET6 to AF_INET would not work properly together with relative search; if you had a search path of .a.com and .b.com, and foo.a.com would return ARES_ENODATA and foo.b.com would return ARES_ENOTFOUND, the lookup would not properly retry with AF_INET as it forgot the first ARES_ENODATA.
2007-10-16 21:27:51 +00:00
Dan Fandrich
65ba6e3337
Fixed compiler warning re: unused variable `bigsize'
2007-10-16 18:09:57 +00:00
Yang Tse
fbb5518ab6
Avoid depending on a header file for the definition of NULL
2007-10-15 23:58:11 +00:00
Dan Fandrich
a83b5d1b67
Mention first version with CURLOPT_COPYPOSTFIELDS.
...
Don't confuse NUL with NULL.
2007-10-15 21:19:40 +00:00
Dan Fandrich
add90abfa4
Updated minimum libcurl size
2007-10-15 21:03:40 +00:00
Patrick Monnerat
a005243908
Fix dynamic CURLOPT_POSTFIELDS bug: back to static.
...
CURLOPT_COPYPOSTFIELDS option added for dynamic.
Fix some OS400 features.
2007-10-15 18:32:01 +00:00
Dan Fandrich
001a2d9b67
Fix LDAP compile error when LDAP is not available.
...
Fixed a typo in the LDAP configure code and made sure NULL is defined
in a test programs that need it.
2007-10-15 16:24:46 +00:00
Yang Tse
95446f694b
Fix custom check for LDAP libraries
2007-10-14 23:47:15 +00:00
Yang Tse
4db954f802
Add custom check for LDAP libraries
2007-10-14 21:25:10 +00:00
Yang Tse
a171f60bf7
Add custom checks for lber, ldap, ldapssl and ldap_ssl header files
2007-10-14 02:37:04 +00:00
Daniel Stenberg
887e8f9265
Chris Leighton:
...
My understanding is that we use "number" for discrete variables and
"amount" for continuous variables.
So you can say "The amount of flour required depends on..." or, "Last
night I consumed a large amount of beer!".
And, "That tank contains a large number of fish" or, "Over the week I
consumed a number of cases of beer."
I think that features are discrete, so the man page would read "...the
number of features will make your head spin!".
2007-10-13 20:49:51 +00:00
Yang Tse
07625fe243
Add check for winldap and winber header files
2007-10-13 14:23:15 +00:00
Dan Fandrich
61ffcd7815
Made a few more functions static with the protocol handler table in place.
2007-10-13 00:47:53 +00:00
Daniel Stenberg
a9f47b9364
another Curl_handler fix, the #ifdefs got a bit mixed up...
2007-10-12 20:53:43 +00:00
Dan Fandrich
7831c1ae44
Fixed a few compile errors and warnings.
2007-10-12 18:49:14 +00:00
Daniel Stenberg
5ce3eb066e
added three serious bugs to fix before release, and marked the previous two
...
as subject for removal from this list (without any fix)
2007-10-12 15:26:33 +00:00
Patrick Monnerat
07b6e7363d
Added per-protocol callback static tables, replacing callback ptr storage
...
in the connectdata structure by a single handler table ptr.
2007-10-12 13:36:37 +00:00
Dan Fandrich
2741f97a69
Fixed a couple of typos that messed up the tests.
2007-10-12 02:09:45 +00:00
Dan Fandrich
d7fbe07ee2
Added some <keywords> sections and use some key words more consistently.
2007-10-12 01:44:22 +00:00
Dan Fandrich
2fce1f3e97
Fixed the -l option of runtests.pl
...
Added support for skipping tests based on key words.
2007-10-11 21:15:09 +00:00
Yang Tse
d09bac137a
improve checking for ldap.h and ldap_ssl.h header files
2007-10-10 13:00:11 +00:00
Yang Tse
43e8f00861
lber.h needs to be included since ldap.h might not include it
2007-10-09 23:51:55 +00:00
Yang Tse
3337be81c8
Add check for lber.h and ldap.h header files
2007-10-09 23:44:14 +00:00
Gunter Knauf
0cc9122093
added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code.
2007-10-09 23:25:58 +00:00
Yang Tse
54bcde0a14
also log error message string
2007-10-09 23:24:28 +00:00
Yang Tse
660c86ce95
logmsg already appends '\n'
2007-10-09 23:21:29 +00:00
Gunter Knauf
50b3545ada
fix socklen_t for MSVC6 & 7.
2007-10-09 22:10:17 +00:00
Gunter Knauf
baac8065cf
added two more module dependencies for LDAPS.
2007-10-09 20:15:27 +00:00
Dan Fandrich
257e38d5c5
Documented error codes 77-80, and fixed the one for 60.
2007-10-09 16:49:41 +00:00
Daniel Stenberg
fc70b2f916
Add a paragraph about CURLOPT_CUSTOMREQUEST not actually changing libcurl's
...
behavior, it only changes the actual request method keyword and this is not
always what the user/app wants.
2007-10-09 14:53:50 +00:00
Daniel Stenberg
33a8e6c30c
Michal Marek removed the no longer existing return codes from the curl.1
...
man page.
2007-10-09 08:42:50 +00:00
Gisle Vanem
3c875e0112
Added needed 'HAVE_*' defines.
2007-10-08 14:39:52 +00:00
Gisle Vanem
59136ece19
'FD_CLOXEC' is meaningless on MSDOS/Watt-32.
2007-10-08 14:38:51 +00:00
Daniel Stenberg
08fd1829e0
Known bug #47 , which confused libcurl if doing NTLM auth over a proxy with
...
a response that was larger than 16KB is now improved slightly so that now
the restriction at 16KB is for the headers only and it should be a rare
situation where the response-headers exceed 16KB. Thus, I consider #47 fixed
and the header limitation is now known as known bug #48 .
2007-10-07 08:28:03 +00:00
Gisle Vanem
43a4604639
<ws2tcpip.h> needed for 'socklen_t' typedef.
2007-10-06 17:20:06 +00:00
Daniel Stenberg
83f385acf3
add url to the wikipedia article for a longer description
2007-10-05 15:18:34 +00:00
Daniel Stenberg
606af3024b
Alexey Pesternikov documented CURLOPT_OPENSOCKETDATA and
...
CURLOPT_OPENSOCKETFUNCTION
2007-10-05 15:16:18 +00:00
Daniel Stenberg
4449bd9b4d
Michael Wallner made the CULROPT_COOKIELIST option support a new magic
...
string: "FLUSH". Using that will cause libcurl to flush its cookies to the
CURLOPT_COOKIEJAR file.
2007-10-05 14:37:33 +00:00
Daniel Stenberg
bffa835573
The new file docs/libcurl/ABI describes how we view ABI breakages, soname
...
bumps and what the version number's significance to all that is.
2007-10-04 22:05:25 +00:00
Daniel Stenberg
6dd6b4d1fa
I enabled test 1009 and made the --local-port use a wide range to reduce the
...
risk of failures.
2007-10-04 21:26:26 +00:00
Daniel Stenberg
67d94514b0
Kim Rinnewitz reported that --local-port didn't work with TFTP transfers.
...
This happened because the tftp code always uncondionally did a bind()
without caring if one already had been done and then it failed. I wrote a
test case (1009) to verify this, but it is a bit error-prone since it will
have to pick a fixed local port number and since the tests are run on so
many different hosts in different situations I add it in disabled state.
2007-10-04 10:01:41 +00:00
Steinar H. Gunderson
91b38857ef
Removed a piece of redundant code (process_answer already takes care of it).
2007-10-04 08:12:12 +00:00
Steinar H. Gunderson
6d5f899761
Another timeout fix in ares_getnameinfo().
2007-10-04 08:09:52 +00:00
Steinar H. Gunderson
77a3e3c7f7
Send the timeout count in ares_getnameinfo().
2007-10-04 08:09:04 +00:00
Steinar H. Gunderson
81249965f7
Moved the NULL check for channel upwards in ares_destroy().
2007-10-04 08:07:47 +00:00
Steinar H. Gunderson
45c6db9ac4
Clarified the comment over ares_cancel.
2007-10-04 08:06:25 +00:00
Yang Tse
06be8bc389
On error, close "log/server.response"
2007-10-04 02:09:33 +00:00
Yang Tse
0ac5fd354b
If TCP_NODELAY is not defined we can't disable the Nagle algorithm
2007-10-03 23:38:07 +00:00
Yang Tse
a11c8a6ea0
Cleanup no longer used macros
2007-10-03 16:58:10 +00:00
Yang Tse
2858935187
Fix compiler warning: local variable may be used without having been initialized
2007-10-03 16:26:56 +00:00
Patrick Monnerat
43b10339ab
Upgrade OS400 wrappers and RPG copy file according to latest code updates
2007-10-03 15:09:21 +00:00
Yang Tse
3f3a38f9c6
Fix issue related with the use of ares_timeout() result.
2007-10-03 13:19:34 +00:00
Daniel Stenberg
4bf28cb904
exported symbols must use lowercase "curl_", and I also fixed two compiler
...
warnings, one C99 thing and the bad pointer sent to the callback
2007-10-03 08:58:40 +00:00
Daniel Stenberg
1abde9009a
recount contributors after the 7.17.0 release
2007-10-03 08:54:35 +00:00
Daniel Stenberg
db85a941d0
people from the 7.17.0 announcement
2007-10-03 08:51:36 +00:00
Daniel Stenberg
1bfb0fc5da
"97 - check ip callback", check
2007-10-03 08:46:45 +00:00
Daniel Stenberg
ce1cfcb7a6
Alexey Pesternikov introduced CURLOPT_OPENSOCKETFUNCTION and
...
CURLOPT_OPENSOCKETDATA to set a callback that allows an application to replace
the socket() call used by libcurl. It basically allows the app to change
address, protocol or whatever of the socket. (I also did some whitespace
indent/cleanups in lib/url.c which kind of hides some of these changes, sorry
for mixing those in.)
2007-10-03 08:45:00 +00:00
Daniel Stenberg
ce81cd21d3
I renamed the CURLE_SSL_PEER_CERTIFICATE error code to
...
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this
return code get used by the previous SSH MD5 fingerprint check in case it
fails.
2007-10-03 08:07:50 +00:00
Daniel Stenberg
51c6a5d43b
Based on a patch brought by Johnny Luong, libcurl now offers
...
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make
the SCP or SFTP connection verify the remote host's md5 checksum of the public
key before doing a connect, to reduce the risk of a man-in-the-middle attack.
2007-10-03 08:00:42 +00:00
Daniel Stenberg
15b8da1980
"99 - curl_easy_close()" seems to have gone uninteresting
2007-10-02 22:00:03 +00:00
Daniel Stenberg
c1c257d19a
102, check
2007-10-02 21:59:06 +00:00
Yang Tse
08b9f73219
Fix memory leak under low memory conditions.
2007-10-02 19:19:47 +00:00
Yang Tse
94162d62ac
Avoid a segfault when generating a DNS "Transaction ID" in internal
...
function init_id_key() under low memory conditions.
2007-10-02 18:26:48 +00:00
Yang Tse
059707be32
Renamed a couple of global variables to avoid shadowing warnings
2007-10-02 16:05:28 +00:00
Yang Tse
048bfeaaef
Fix compiler warning
2007-10-02 15:26:30 +00:00
Yang Tse
a137109a0c
<winber.h> needed for Windows LDAP client 32 API support
2007-10-02 14:48:38 +00:00
Yang Tse
17c01d21a9
Linking with wldap32.lib needed for Windows LDAP client 32 API support
2007-10-02 14:26:04 +00:00
Yang Tse
f5cad68d22
Add ares_llist.c and ares_llist.h to MSCV project file.
2007-10-02 11:13:58 +00:00
Daniel Stenberg
119364741e
known bug #46 : chunked-encoded CONNECT responses from a http proxy now works.
...
Added test case 1008 to verify. Note that #47 is still there.
2007-10-02 10:21:36 +00:00
Daniel Stenberg
8d1239c091
Disable the Nagle algorithm and send back responses in small chunks in an
...
attempt to force smaller bits to get read by clients.
2007-10-02 10:13:37 +00:00
Daniel Stenberg
30a39fe877
document --post301, based on the phrasing in curl_easy_setopt.3 for
...
CURLOPT_POST301 written by Philip Langdale
2007-10-02 09:57:48 +00:00
Daniel Stenberg
0489081d3f
CURLOPT_POST301 section, added by Philip Langdale
2007-10-02 09:56:52 +00:00
Daniel Stenberg
19c8da85d8
Fixed the problem where next_lookup would use 'status' uninitialized. Now
...
it gets passed the initial value as an argument.
2007-10-02 08:12:30 +00:00
Yang Tse
b03abddb28
Avoid inline C99ism, and move c-ares routines for managing doubly-linked lists.
2007-10-02 02:18:01 +00:00
Daniel Stenberg
ccf083e26d
ares_strerror() segfaulted if the input error number was out of the currently
...
supported range.
2007-10-01 22:52:31 +00:00
Daniel Stenberg
dbd4abf0ff
Prevent ares_strerror() from segfaulting if an invalid error code is passed
...
in as argument!
2007-10-01 22:51:38 +00:00
Daniel Stenberg
9ca2644429
Added test536 that was accidentally missing. I also wrote up a new makefile
...
target called 'filecheck' so that if you run 'make filecheck' in this directory
it'll check if the local files are also mentioned in the Makefile.am so that
they are properly included in release archives!
2007-09-30 22:58:24 +00:00
Daniel Stenberg
ec08e2f9f2
Alex Fishman reported a curl_easy_escape() problem that was made the
...
function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a
signed / unsigned mistake in the code. I fixed it and added test case 543 to
verify.
2007-09-30 22:40:24 +00:00
Yang Tse
38dd0ede9d
Fix compiler warning
2007-09-30 19:43:23 +00:00
Yang Tse
62c264bcdb
check availability of <netinet/tcp.h>
2007-09-30 02:12:11 +00:00
Yang Tse
b108c664ac
Fix missing right parenthesis
2007-09-30 01:27:39 +00:00
Yang Tse
64db60397b
Fix comparison between signed and unsigned
2007-09-30 01:01:43 +00:00
Yang Tse
d243908a01
improve portability, defining MAXDNAME and MAXCDNAME
2007-09-30 00:37:47 +00:00
Steinar H. Gunderson
c145fbea49
Fix a memory leak that I recently inadvertedly introduced.
2007-09-30 00:08:01 +00:00
Steinar H. Gunderson
84fcff79f4
Use ISDIGIT instead of isdigit; fixes a gcc warning.
2007-09-29 21:57:05 +00:00
Daniel Stenberg
f58ba5ab1c
Immanuel Gregoire fixed a problem with persistent transfers over SFTP - the
...
previous proto struct was kept.
2007-09-29 21:34:34 +00:00
Steinar H. Gunderson
2694b970e8
Port the TCP socket fix made in ares_fds() to ares_getsock() as well.
2007-09-29 19:26:59 +00:00
Steinar H. Gunderson
23f5d145ec
Previously, processing a large batch of timeouts was O(n^2) in the number of
...
outstanding queries, and processing a DNS response packet was O(n) in the
number of outstanding queries. To speed things up in Google, we added a few circular,
doubly-linked lists of queries that are hash-bucketed based on
the attributes we care about, so most important operations are now O(1).
It might be that the number of buckets are higher than most people would need,
but on a quick calculation it should only be 100kB or so even on a 64-bit
system, so I've let it stay as-is.
2007-09-29 18:18:47 +00:00
Gisle Vanem
b01ab65225
We should standarise on C comments.
2007-09-29 14:37:47 +00:00
Gisle Vanem
7a7f490efa
Fix compiler warning in setsockopt().
2007-09-29 14:34:59 +00:00
Steinar H. Gunderson
95c15fce0c
TCP queries can time out too, not just UDP queries. (Patch from the Google tree.)
2007-09-29 14:25:14 +00:00
Steinar H. Gunderson
c788efffd4
Read and process as many packets as possible in read_udp_packets, to avoid having to run the entire event loop once per packet. (Patch from the Google tree.)
2007-09-29 14:21:47 +00:00
Steinar H. Gunderson
c1a475e708
There are two different places in write_tcp_data() that advance the send_queue; however, they are slightly different and only the first one properly uses a while loop. Consolidate both into a single function that DTTR. (Patch from the Google tree.)
2007-09-29 14:09:14 +00:00
Steinar H. Gunderson
d0de9663e2
Reject names that are longer than 255 characters, to avoid problems with strict or buggy DNS server implementations. (Patch from the Google tree)
2007-09-29 13:58:23 +00:00
Steinar H. Gunderson
d6dd848523
In ares_mkquery, make sure we set buflen and buf to reasonable values if there's an error. (Patch from the Google tree)
2007-09-29 13:56:36 +00:00
Steinar H. Gunderson
9fc66e4dd9
Be stricter about what's a valid IP address in fake_hostent. (Patch from the Google tree.)
2007-09-29 13:52:14 +00:00
Steinar H. Gunderson
6ecea9453b
Handle the root of the DNS tree correctly in ares_expand_name.
2007-09-29 13:38:17 +00:00
Daniel Stenberg
2c105af910
Adapted the c-ares code to the API change c-ares 1.5.0 brings in the
...
notifier callback(s).
2007-09-28 21:48:28 +00:00
Daniel Stenberg
bb667c8ac6
rename variable to prevent shadow warning
2007-09-28 21:45:05 +00:00
Daniel Stenberg
8179743cee
today's modifications by Steinar and me
2007-09-28 20:28:20 +00:00
Daniel Stenberg
3d59a3855a
Bumped version to 1.5.0 for next release and soname bumped to 2 due to ABI
...
and API changes in the progress callback (and possibly more coming up from
Steinar)
2007-09-28 20:28:06 +00:00
Dan Fandrich
8388366849
Renamed a variable to avoid shadowing a global declarations.
2007-09-28 18:47:59 +00:00
Steinar H. Gunderson
ef3b425b11
Unrevert previous 'missing' hunks. They were missing since the patch is still in for review :-)
2007-09-28 15:56:28 +00:00
Steinar H. Gunderson
026d93b4f6
Yet more missing hunks... Nggh.
2007-09-28 15:55:11 +00:00
Steinar H. Gunderson
36710c4586
Always register for TCP events even if there are no outstanding queries, as the other side could always close the connection, which is a valid event which should be responded to.
2007-09-28 15:53:10 +00:00
Steinar H. Gunderson
63ac6156aa
Forgot to include a few hunks from ares_process.c earlier. Fixing now.
2007-09-28 15:51:00 +00:00
Steinar H. Gunderson
08a70d117c
Support a few more socket options, and refactor the option setting a bit. (Patch from the Google tree.)
2007-09-28 15:15:39 +00:00
Steinar H. Gunderson
6ce589c3ee
Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
2007-09-28 14:46:51 +00:00
Steinar H. Gunderson
d426c20c0a
Three fixes in one commit (sorry): a) Take care of the tcpbuf if it ends while queued for transmission, note broken servers and close them in the main loop, and store TCP socket generation number in order not to send the same query twice over the same socket.
2007-09-28 14:28:14 +00:00
Steinar H. Gunderson
54ca7d8cb2
Don't skip a server if it's the only one. (Bugfix from the Google tree.)
2007-09-28 14:26:11 +00:00
Dan Fandrich
0819c3a8cf
Don't strdup an empty string
2007-09-27 18:39:10 +00:00
Dan Fandrich
ad05b22de3
Renamed a few variables to avoid shadowing global declarations.
2007-09-27 18:12:03 +00:00
Dan Fandrich
9fc8800b6d
Removed cut-and-paste cruft leading to fclose() of an unopened file
2007-09-27 17:22:10 +00:00
Daniel Stenberg
a4d6611d26
a name resolve that times out is still a failed name resolve
2007-09-27 12:05:39 +00:00
Daniel Stenberg
015fc6aa17
wrong, revert the previous "fix" and instead check that the fd_set pointer
...
is non-NULL before we FD_CLR
2007-09-27 12:04:56 +00:00
Daniel Stenberg
a739b9bc45
eek, fix the conditions to return on either problem instead of requiring
...
both to occur
2007-09-27 12:02:15 +00:00
Dan Fandrich
0bd2d54814
Renamed a few variables to avoid shadowing global declarations.
2007-09-27 02:45:58 +00:00
Dan Fandrich
16b95fc773
Enabled a few more gcc warnings with --enable-debug. Renamed a few
...
variables to avoid shadowing global declarations.
2007-09-27 01:45:22 +00:00
Yang Tse
9c5cd6c413
Fix compiler warning: the address of 'env' will always evaluate as 'true'
2007-09-27 00:58:41 +00:00
Daniel Stenberg
9b55056423
we added a curl_easy_setopt() option too
2007-09-26 12:46:03 +00:00
Daniel Stenberg
fd4cf78f36
Philip Langdale provided the new CURLOPT_POST301 option for
...
curl_easy_setopt() that alters how libcurl functions when following
redirects. It makes libcurl obey the RFC2616 when a 301 response is received
after a non-GET request is made. Default libcurl behaviour is to change
method to GET in the subsequent request (like it does for response code 302
- because that's what many/most browsers do), but with this CURLOPT_POST301
option enabled it will do what the spec says and do the next request using
the same method again. I.e keep POST after 301.
The curl tool got this option as --post301
Test case 1011 and 1012 were added to verify.
2007-09-26 12:44:59 +00:00
Daniel Stenberg
a6315359d7
Max Katsev reported that when doing a libcurl FTP request with
...
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE
before it does SIZE which makes it less useful. I walked over the code and
made it do this properly, and added test case 542 to verify it.
2007-09-26 12:00:01 +00:00
Dan Fandrich
966130132f
Make glibc define the prototype for strcasestr
2007-09-25 17:33:56 +00:00
Daniel Stenberg
a19de6e9ac
a new Lua binding and I shortened the wording on several bindings by cutting
...
out "written"
2007-09-25 08:46:49 +00:00
Dan Fandrich
bdfeaa0f95
#ifdef out a few more functions when SSL is disabled.
2007-09-25 06:45:05 +00:00
Dan Fandrich
c478200766
Use a native strcasestr() if found.
2007-09-25 06:43:58 +00:00
Daniel Stenberg
775f86cb5a
Immanuel Gregoire fixed KNOWN_BUGS #44 : --ftp-method nocwd did not handle
...
URLs ending with a slash properly (it should list the contents of that
directory). Test case 351 brought back and also test 1010 was added.
2007-09-24 21:47:35 +00:00
Daniel Stenberg
db1c92ceac
Bad use of "its" replaceed with a rephrase. I noticed this flaw thanks to the
...
Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443734
2007-09-24 10:56:26 +00:00
Daniel Stenberg
0f4664d27f
Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on in
...
several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that
if it fails and the socket is closed the following code doesn't try to use
the file descriptor.
2007-09-22 21:23:10 +00:00
Daniel Stenberg
0f89a2e639
Steinar H. Gunderson modified c-ares to now also do to DNS retries even when
...
TCP is used since there are several edge cases where it still makes sense.
2007-09-22 21:04:16 +00:00
Daniel Stenberg
05b26e7566
Brad House provided a fix for ares_save_options(): Apparently I overlooked
...
something with the ares_save_options() where it would try to do a malloc(0)
when no options of that type needed to be saved. On most platforms, this was
fine because malloc(0) doesn't actually return NULL, but on AIX it does, so
ares_save_options would return ARES_ENOMEM.
2007-09-22 20:45:50 +00:00
Daniel Stenberg
6c511abf43
--proxy-negotiate is added in 7.17.1
2007-09-21 11:53:56 +00:00
Daniel Stenberg
bb6d0771c2
the NSS patch has been committed
2007-09-21 11:19:13 +00:00
Daniel Stenberg
75f6c36e51
Available command line options: 119
2007-09-21 11:08:03 +00:00
Daniel Stenberg
015d5869d7
Mark Davies fixed Negotiate authentication over proxy, and also introduced
...
the --proxy-negotiate command line option to allow a user to explicitly
select it.
2007-09-21 11:05:31 +00:00
Dan Fandrich
4686adb433
Added variable substitution to the <verify><file> section.
...
Made a few more tests work remotely.
2007-09-20 20:39:17 +00:00
Daniel Stenberg
785a4899f5
reformatted to be similar to the FAQ to make it look nicer on the site:
...
http://curl.haxx.se/docs/contribute.html
2007-09-20 14:43:31 +00:00
Daniel Stenberg
da62aff6bb
Achint Mehta pointed out this dead link
2007-09-20 14:19:57 +00:00
Daniel Stenberg
322308e298
the winsock stuff is made by curl_global_init
2007-09-20 14:05:53 +00:00
Daniel Stenberg
b53e326828
fix bad link
2007-09-20 14:05:11 +00:00
Daniel Stenberg
0885d787ab
Immanuel Gregoire is the man
2007-09-20 14:02:34 +00:00
Dan Fandrich
2620d78e94
Fixed typo in error message.
2007-09-20 00:37:08 +00:00
Daniel Stenberg
8c3f40ee32
Rob Crittenden provided an NSS update with the following highlights:
...
o It looks for the NSS database first in the environment variable SSL_DIR,
then in /etc/pki/nssdb, then it initializes with no database if neither of
those exist.
o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be
loaded, including the ca-bundle. If it is not available then only
certificates already in the NSS database are used.
o Tries to detect whether a file or nickname is being passed in so the right
thing is done
o Added a bit of code to make the output more like the OpenSSL module,
including displaying the certificate information when connecting in
verbose mode
o Improved handling of certificate errors (expired, untrusted, etc)
The libnsspem.so PKCS#11 module is currently only available in Fedora
8/rawhide. Work will be done soon to upstream it. The NSS module will work
with or without it, all that changes is the source of the certificates and
keys.
2007-09-18 22:21:54 +00:00
Daniel Stenberg
b1aafbd957
mention the prefered source code line length to be less than 80 columns
2007-09-18 21:33:05 +00:00
Daniel Stenberg
45fd6685bd
Immanuel pointed out that public key SSH auth failed if no public/private
...
key was specified and there was no HOME environment variable, and then it
didn't continue to try the other auth methods. Now it will instead try to
get the files id_dsa.pub and id_dsa from the current directory if none of
the two conditions were met.
2007-09-18 21:14:28 +00:00
Dan Fandrich
0159636373
Use double quotes in command lines for consistency.
2007-09-18 20:41:20 +00:00
Gunter Knauf
7ac7c119be
added a define for Win32 to detect already defined ssize_t.
2007-09-18 18:18:34 +00:00
Dan Fandrich
4f067b1d1c
IPv6 is a required feature for these two tests, even if it's not obvious.
2007-09-18 17:41:04 +00:00
Dan Fandrich
ae60745e3e
Fixed the required server entry
2007-09-17 23:23:13 +00:00
Dan Fandrich
7f496d8c3f
Changed some FTP tests to validate the format of the PORT and EPRT commands
...
sent by curl, if not the addresses themselves.
2007-09-17 21:44:57 +00:00
Dan Fandrich
048c74f2fa
Added %CLIENTIP and %CLIENT6IP data file substitution variables.
...
Added hooks to the test suite to make it possible to test a curl running
on a remote host.
2007-09-17 21:42:01 +00:00
Dan Fandrich
0ed57d370d
Allow setting the IP address on which to listen for connections.
2007-09-17 21:39:34 +00:00
Daniel Stenberg
551abba277
Gnter's ldap fixes
2007-09-17 20:43:05 +00:00
Dan Fandrich
9b11a84e74
Make the ftp server connect to the address given by curl in the PORT/EPRT
...
instead of hard-coding it to 127.0.0.1
2007-09-17 18:12:11 +00:00
Dan Fandrich
26f8de459a
Made the directory postprocessor more forgiving of input directory format
2007-09-17 17:22:46 +00:00
Daniel Stenberg
ceff98fd49
three done, seven to go
2007-09-15 22:05:20 +00:00
Daniel Stenberg
e04151ed76
Michal Marek made libcurl automatically append ";type=<a|i>" when using HTTP
...
proxies for FTP urls.
2007-09-15 21:14:12 +00:00
Daniel Stenberg
cdb2552424
offer a friendlier single-line command
2007-09-15 21:06:11 +00:00
Gunter Knauf
b41e65a8e3
fixed ldap support for winldap.
2007-09-15 20:03:03 +00:00
Gunter Knauf
be8c219ec2
fixed VC6 makefiles for new ldap linkage.
2007-09-15 20:02:22 +00:00
Daniel Stenberg
099c011059
I want these CONNECT problems fixed too
2007-09-15 08:51:42 +00:00
Daniel Stenberg
245a780711
7.17.1 planned release in November 2007, and a bunch of things to deal with
2007-09-15 08:50:04 +00:00
Dan Fandrich
05e4a3026d
Replaced 127.0.0.1 with %HOSTIP where possible
2007-09-14 19:32:31 +00:00
Dan Fandrich
39a416f12a
Added LDAPS, SCP and SFTP to curl-config --protocols. Removed and
...
fixed some AC_SUBST configure entries.
2007-09-14 01:56:08 +00:00
Dan Fandrich
9b23b31071
Added LDAPS, SCP and SFTP to curl-config --protocols.
...
Removed and fixed some AC_SUBST configure entries.
2007-09-14 01:24:59 +00:00
Dan Fandrich
8412d1e493
Compile samples with -DCURL_NO_OLDIES
2007-09-13 22:20:35 +00:00
Daniel Stenberg
2ee41a5ffc
7.17.1-CVS is now the dev version
2007-09-13 21:06:19 +00:00
Daniel Stenberg
a18f599482
start over on 7.17.1
2007-09-13 21:05:56 +00:00
Dan Fandrich
6d27647b61
Remove remaining traces of ftp3rdparty.c and mention htmltidy.c
2007-09-13 20:36:52 +00:00
Daniel Stenberg
3bc11344de
Version 7.17.0 (13 September 2007)
2007-09-13 20:22:14 +00:00
Daniel Stenberg
3dbe708308
added some further stuff from the feature-requests tracker, and a bunch of URLs
...
to the specific tracker entries
2007-09-13 09:02:15 +00:00
Dan Fandrich
621709c623
TFTP error 0 is no longer treated as success
2007-09-12 18:20:52 +00:00
Daniel Stenberg
9e241864e3
Extracting the CURLINFO_PRIVATE pointer makes no point since nothing set
...
it. This caused a segfault in some fprintf() implementations. Like on Solaris.
2007-09-12 10:46:14 +00:00
Daniel Stenberg
cf613fdba4
rephrased to mention ftp
2007-09-11 22:37:47 +00:00
Daniel Stenberg
e6addcf624
curl.digimirror.nl is a new mirror in Amsterdam, the Netherlands
2007-09-11 22:36:39 +00:00
Daniel Stenberg
9e88343a17
Daniel S (12 September 2007)
...
- Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649 ) pointed
out a problem with doing an empty upload over FTP on a re-used connection.
I added test case 541 to reproduce it and to verify the fix.
- I noticed while writing test 541 that the FTP code wrongly did a CWD on the
second transfer as it didn't store and remember the "" path from the
previous transfer so it would instead CWD to the entry path as stored. This
worked, but did a superfluous command. Thus, test case 541 now also verifies
this fix.
2007-09-11 22:23:57 +00:00
Daniel Stenberg
1ce732e9d6
- I noticed while writing test 541 that the FTP code wrongly did a CWD on the
...
second transfer as it didn't store and remember the "" path from the
previous transfer so it would instead CWD to the entry path as stored. This
worked, but did a superfluous command. Thus, test case 541 now also verifies
this fix.
2007-09-11 22:21:39 +00:00
Daniel Stenberg
cc618e761c
- Bug report #1792649 ( http://curl.haxx.se/bug/view.cgi?id=1792649 ) pointed
...
out a problem with doing an empty upload over FTP on a re-used connection.
I added test case 541 to reproduce it and to verify the fix.
2007-09-11 22:21:12 +00:00
Daniel Stenberg
24db40de7c
A brand new binding for SP-Forth was written
2007-09-09 22:22:45 +00:00
Dan Fandrich
7350f9851a
TFTP now reports the "not defined" TFTP error code 0 as an error,
...
not success.
2007-09-07 20:35:37 +00:00
Dan Fandrich
d030dfa6e2
Added test case 1007 to test permission problem when uploading with TFTP
...
(to validate bug #1790403 ).
2007-09-07 20:05:20 +00:00
Daniel Stenberg
14d6db0873
http://curl.cheap.co.il is a new mirror in Tel-Aviv, Israel
2007-09-06 21:38:50 +00:00
Daniel Stenberg
0ff311aa1a
two new CONNECT response problems that have appeared
2007-09-06 13:38:05 +00:00
Dan Fandrich
8147c3659d
Minix doesn't support getsockopt on UDP sockets or send/recv on TCP
...
sockets.
2007-09-05 22:01:57 +00:00
Daniel Stenberg
73e91ce20c
Curl_GetFTPResponse() now checks and properly deals with the fact that the
...
underlying ftp_readresp() function has a separate "cache" where there might
in fact be leftover data...
2007-09-05 21:41:07 +00:00
Dan Fandrich
8780ff879c
Minix doesn't support getsockopt on UDP sockets or send/recv on TCP
...
sockets.
2007-09-05 17:22:23 +00:00
Dan Fandrich
6fd1cfeab1
Minor updates
2007-09-05 17:17:59 +00:00
Daniel Stenberg
9d0533056c
I can't spell
2007-09-03 14:10:32 +00:00
Daniel Stenberg
6c4f317f7f
curlpp 0.7.1 was relased
2007-09-03 14:08:23 +00:00
Gunter Knauf
21ed69b51e
added some comments for MingW32 builds.
2007-09-03 11:10:46 +00:00
Dan Fandrich
3b819b3064
bash is not required when compiling under Minix
2007-09-01 21:21:52 +00:00
Dan Fandrich
3fa60164af
Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED.
...
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants,
creating macros for backward compatibility.
2007-08-31 19:36:32 +00:00
Dan Fandrich
ac6e0501c6
Made some of the error strings returned by the *strerror functions more
...
generic, and more consistent with each other.
2007-08-31 17:56:06 +00:00
Dan Fandrich
4f17c58315
Fixed an invalid returned error code added in my last submission.
2007-08-31 17:54:01 +00:00
Dan Fandrich
f6251734fc
Added more accurate error code returns from SFTP operations. Added test
...
case 615 to test an SFTP upload failure.
2007-08-30 23:03:59 +00:00
Dan Fandrich
9f44a95522
Renamed several libcurl error codes and options to make them more general
...
and allow reuse by multiple protocols. Several unused error codes were
removed. In all cases, macros were added to preserve source (and binary)
compatibility with the old names. These macros are subject to removal at
a future date, but probably not before 2009. An application can be
tested to see if it is using any obsolete code by compiling it with the
CURL_NO_OLDIES macro defined.
Documented some newer error codes in libcurl-error(3)
2007-08-30 20:34:57 +00:00
Gunter Knauf
4b60c3e9d3
added --enable-ldaps switch;
...
renamed LDAP(S) messages from 'yes' to 'enabled'.
2007-08-30 20:28:40 +00:00
Dan Fandrich
5d4c981e13
Fixed a few compiler warnings. Try to do a slightly better job of
...
cleaning up after an OOM condition in curl_multi_add_handle
2007-08-30 18:26:19 +00:00
Daniel Stenberg
da4a776758
Made Curl_GetFTPResponse() use lots less code and instead use the proper
...
low-level ftp_readresp() function. Hopefully adressing bug #1779054 .
2007-08-30 14:06:00 +00:00
Dan Fandrich
1b66c1da6c
Added lots of consts
2007-08-29 05:36:53 +00:00
Dan Fandrich
5cb2ee878c
Mention that 'make test' does more than just run all the tests (suggested
...
by Kris/tinker105 in bug #1779054 ) and mention the torture tests.
2007-08-28 18:23:19 +00:00
Dan Fandrich
8cf0814a14
Fixed some minor type mismatches and missing consts mainly found by splint.
2007-08-27 06:31:28 +00:00
Dan Fandrich
523767660c
Fixed some minor mismatched types found by splint.
2007-08-26 05:53:26 +00:00
Gunter Knauf
327c0d6b1c
bail out with error if someone tries to use another cert than PEM with OpenLDAP.
2007-08-25 12:10:30 +00:00
Gunter Knauf
870842ccee
only link with -lwldap32 if we dont use other LDAP SDKs.
2007-08-25 12:08:38 +00:00
Gunter Knauf
68b215157f
added defines to build with OpenLDAP.
2007-08-24 17:08:49 +00:00
Patrick Monnerat
a892cf2c12
Adding DOCS file in OS400 installation library with license and various other documentation text files.
...
Setting character set of OS400 installed source components
2007-08-24 15:56:59 +00:00
Daniel Stenberg
7cba40b218
Bug report #1779054 ( http://curl.haxx.se/bug/view.cgi?id=1779054 ) pointed
...
out that libcurl didn't deal with large responses from server commands, when
the single response was consisting of multiple lines but of a total size of
16KB or more. Dan Fandrich improved the ftp test script and provided test
case 1006 to repeat the problem, and I fixed the code to make sure this new
test case runs fine.
2007-08-24 14:00:42 +00:00
Patrick Monnerat
d994fcf2b1
Remove leading space in curl_version_info ss_version field.
2007-08-24 09:06:17 +00:00
Dan Fandrich
975fafdc49
Added test case 1005 to test excessively-long replies spread out over
...
multiple lines (similar to test case 1003).
2007-08-23 23:25:47 +00:00
Dan Fandrich
9537580ba2
Allow ftp server alternate replies to contain backslash-escaped control
...
characters.
2007-08-23 23:24:39 +00:00
Patrick Monnerat
bc0adcef1f
Make ldap.h, gssapi.h and qsossl.h inclusions conditional.
2007-08-23 18:46:45 +00:00
Dan Fandrich
7ffae92daf
Need even more time to wait for an accept.
2007-08-23 18:45:28 +00:00
Dan Fandrich
abca03cf36
Added test1004 to validate a previous fix for a memory leak when an
...
empty proxy server is selected.
2007-08-23 17:35:00 +00:00
Dan Fandrich
374f0214b6
Mention OS/400 and TPF
2007-08-23 17:26:42 +00:00
Daniel Stenberg
4945b2454d
ported to OS/400
2007-08-23 15:00:55 +00:00
Daniel Stenberg
a5cb022407
added the two new os400 files
2007-08-23 14:58:10 +00:00
Daniel Stenberg
feb63efc31
Add the files in the OS400 dir to the dist. I didn't add it as a new subdir
...
just because if I do that automake does funny things automatically with the
makefile.sh file in that directory and thus doing it this way was a quick
work-around that annoyance!
2007-08-23 14:46:37 +00:00
Daniel Stenberg
4cf3ad07e5
--libcurl does not support -F
2007-08-23 14:33:08 +00:00
Patrick Monnerat
557cc55f6f
Porting library to OS/400
2007-08-23 14:30:24 +00:00
Gunter Knauf
2d8dba388b
added support for CA cert verification;
...
default now to verify cert unless data->set.ssl.verifypeer is 0.
2007-08-23 00:10:56 +00:00
Daniel Stenberg
91fd2c3bcd
Bug report #1779751 ( http://curl.haxx.se/bug/view.cgi?id=1779751 ) pointed
...
out that doing first a file:// upload and then an FTP upload crashed libcurl
or at best caused furious valgrind complaints. Fixed now by making sure we
free and clear the file-specific struct properly when done with it.
2007-08-22 22:48:41 +00:00
Gisle Vanem
d38891c950
Reversed the 'HAVE_LDAP_URL_PARSE' ifdef statement.
2007-08-22 18:05:46 +00:00
Daniel Stenberg
381e372939
Bug report #1779054 ( http://curl.haxx.se/bug/view.cgi?id=1779054 ) pointed
...
out that libcurl didn't deal with very long (>16K) FTP server response lines
properly. Starting now, libcurl will chop them off (thus the client app will
not get the full line) but survive and deal with them fine otherwise. Test
case 1003 was added to verify this.
2007-08-22 14:18:06 +00:00
Daniel Stenberg
c347db2e0a
added a size > buffer size check to make it easier to track this in the
...
future
2007-08-22 14:09:13 +00:00
Daniel Stenberg
232a4553b8
Upped the buffer size to 17000+ bytes to prepare for the upcoming test 1003
...
that verfies ridiculously long server response lines. Also changed sprintf
to snprintf in a few places.
2007-08-22 13:57:49 +00:00
Daniel Stenberg
014f1bea9a
1) the talk about strings used by libcurl doesn't apply to libcurl >= 7.17.0
...
2) added nroff header
2007-08-22 11:28:26 +00:00
Gunter Knauf
5b4f50857a
for now comment the tls_start section...
2007-08-22 10:14:57 +00:00
Gunter Knauf
6f10a718e4
sync libssh2 paths with comments.
2007-08-21 03:04:46 +00:00
Gunter Knauf
658de40930
added targets to create the files missing in CVS which makes calling buildconf.bat obsolete;
...
removed obsolete wsock32 link lib.
2007-08-21 02:42:29 +00:00
Gunter Knauf
2c06e7f8ef
fixed wrong CLAGS define.
2007-08-20 23:31:57 +00:00
Gunter Knauf
fa1c916943
fixed warning with unused var;
...
removed now obsolete defines since we include now ldap headers which define these.
2007-08-20 23:31:26 +00:00
Daniel Stenberg
b132e865b9
Based on a patch by Christian Vogt, the FTP code now sets the upcoming
...
download transfer size much earlier to be possible to get read with
CURLINFO_CONTENT_LENGTH_DOWNLOAD as soon as possible.
2007-08-20 21:54:00 +00:00
Gunter Knauf
77431568d2
converted tabs to spaces.
2007-08-20 19:33:46 +00:00
Gunter Knauf
e16c1b8e28
removed trailing spaces.
2007-08-20 19:30:25 +00:00
Dan Fandrich
1a8d8aa227
Increase timeout for accept for improved reliability on loaded servers.
2007-08-20 17:53:38 +00:00
Gunter Knauf
d4c4fd6272
compile with ldaps by default since it seems to work fine so far.
2007-08-20 16:34:04 +00:00
Gunter Knauf
acb905231d
fixed ldaps section for OpenLDAP. Still not working, but at least it compiles now, and should serve as base to get it finally working. Also seems that the ifdefs can be arranged some better because the Solaris and Netscape/iPlanet/Mozilla LDAP SDKs seem to be closer to the Novell section than the OpenLDAP one.
2007-08-20 16:30:41 +00:00
Gunter Knauf
c915eac93c
added some comments about the paths and build options;
...
added define to build with ldaps support;
enabled build with the Novell LDAP SDK.
2007-08-20 16:21:51 +00:00
Gunter Knauf
72e675caee
dont set CURL_LDAP_HYBRID for MingW32 configure builds.
2007-08-20 15:51:45 +00:00
Gunter Knauf
e347cff0e4
added define for ldap_ssl.h.
2007-08-20 12:50:44 +00:00
Gunter Knauf
d79fdbc46e
ignore errors of the RM command; seems that the del command fails on W2K when the file to delete isnt found while on XP it only prints the warning but make continues....
2007-08-19 23:23:50 +00:00
Gunter Knauf
ab13c2f814
added some comments in the makefiles about build options.
2007-08-19 00:26:24 +00:00
Daniel Stenberg
138ca334f9
ignore all the binaries and the .deps and .libs
2007-08-17 22:33:25 +00:00
Daniel Stenberg
1aa82decea
- Robson Braga Araujo filed bug report #1776232
...
(http://curl.haxx.se/bug/view.cgi?id=1776232 ) about libcurl calling
Curl_client_write(), passing on a const string that the caller may not
modify and yet it does (on some platforms).
2007-08-17 22:31:51 +00:00
Daniel Stenberg
014fe6971e
remove stupid comment since there's no content in this test case
2007-08-17 22:24:51 +00:00
Daniel Stenberg
3217809294
Robson Braga Araujo filed bug report #1776235
...
(http://curl.haxx.se/bug/view.cgi?id=1776235 ) about ftp requests with NOBODY
on a directory would do a "SIZE (null)" request. This is now fixed and test
case 1000 was added to verify.
2007-08-17 22:22:43 +00:00
Daniel Stenberg
f3c7adcb54
NEXT soname bump
...
* #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers
from being output in NOBODY requests over ftp
2007-08-17 22:21:41 +00:00
Daniel Stenberg
dcf698dc74
some keywords for future stats/coverage checks
2007-08-17 22:17:23 +00:00
Daniel Stenberg
54117be639
Moved the 5320 and 5322 into the 1000-series instead which is a documented
...
range. They are about FTP but the 100-199 range is full.
2007-08-17 22:11:25 +00:00
Daniel Stenberg
5a79532aee
Song Ma provided a patch that cures a problem libcurl has when doing resume
...
HTTP PUT using Digest authentication. Test case 5320 and 5322 were also
added to verify the functionality.
2007-08-17 20:21:32 +00:00
Gunter Knauf
29ac001aa6
fixed warning about uninitialized.
2007-08-16 15:23:39 +00:00
Gunter Knauf
ccba0d10b6
added basic ldaps support; for now its ifdef'd with HAVE_LDAP_SSL unless we know its fully working, and available with all LDAP SDKs.
...
Win32 requires to have the trusted CA in local keystore - I've not found yet a way to disable the cert check.
2007-08-16 14:08:47 +00:00
Gunter Knauf
7f7e42732d
added define PORT_LDAPS.
2007-08-15 16:17:32 +00:00
Patrick Monnerat
ca410ec2ca
Fix a potential buffer overflow bug in lib/version.c
2007-08-15 14:49:16 +00:00
Gunter Knauf
e5d8693865
added ldap_msgfree() to fix memory leak.
2007-08-15 08:18:37 +00:00
Gunter Knauf
46c92c0b80
added a dependency for libcares if build with ares support;
...
other minor makefile tweaks.
2007-08-14 18:39:26 +00:00
Dan Fandrich
7b5d148b1f
LDAP is no longer excluded on Minix.
2007-08-14 17:23:32 +00:00
Gunter Knauf
f4bc326670
updated NetWare docu about recent LDAP changes.
2007-08-14 16:43:52 +00:00
Gunter Knauf
327598e7b4
only include LDAP headers if we build with LDAP support.
2007-08-14 16:31:20 +00:00
Gunter Knauf
11caaad5f9
added -lwldap32 to link libs.
2007-08-14 14:48:25 +00:00
Gunter Knauf
3e0845e182
changed autoload dependent LDAP NLM.
2007-08-14 13:01:40 +00:00
Gunter Knauf
a2c7abea6c
trial to enable LDAP support again with patched Novell headers.
2007-08-14 12:02:10 +00:00
Daniel Stenberg
2f8f12e82e
Andrew Wansink provided an NTLM bugfix: in the case the server sets the flag
...
NTLMFLAG_NEGOTIATE_UNICODE, we need to filter it off because libcurl doesn't
unicode encode the strings it packs into the NTLM authenticate packet.
2007-08-14 10:28:21 +00:00
Daniel Stenberg
5cdcc2b3aa
the curl_multi_handle_control() idea
2007-08-14 10:11:34 +00:00
Dan Fandrich
652e2cf57c
Removed redundant dependency lines
2007-08-13 18:11:37 +00:00
Dan Fandrich
8ee5e95ab1
Removed unused variable.
2007-08-13 16:37:51 +00:00
Patrick Monnerat
22c61d8da6
Simplify and rename internal structure to avoid potential name clash with LDAP header file.
2007-08-13 13:03:08 +00:00
Daniel Stenberg
1b88990cbb
Fixed the LDAP_DEPRECATED #define as suggested by Daniel Johnson, and
...
indented some of the code to curl-style
2007-08-12 22:25:50 +00:00
Daniel Stenberg
df3e8e19c1
minor change in language for the --libcurl source header
2007-08-12 20:36:06 +00:00
Gunter Knauf
44dc36cc8f
disable LDAP since we can no longer compile due to header incompatiblities.
2007-08-12 00:48:10 +00:00
Daniel Stenberg
6d3701318d
Allen Pulsifer provided a patch that makes libcurl set the expected download
...
size earlier when doing HTTP downloads, so that applications and the
progress meter etc know get the info earlier in the flow than before.
2007-08-11 21:05:13 +00:00
Daniel Stenberg
d0edb47896
Patrick Monnerat modified the LDAP code and approach in curl. Starting now,
...
the configure script checks for openldap and friends and we link with those
libs just like we link all other third party libraries, and we no longer
dlopen() those libraries. Our private header file lib/ldap.h was renamed to
lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix)
just before this commit, just in case.
2007-08-11 20:57:54 +00:00
Gunter Knauf
b238e0b1b4
fixed warning with gcc 4.x (hopefully); dynamincally imported UseAccurateCaseForPaths() for CLIB port to be stonetime-compatible (NW 3.x).
2007-08-09 22:33:49 +00:00
Gunter Knauf
3f62bfb61d
fixed a warning which MingW gcc 4.2.1.
2007-08-09 21:05:05 +00:00
Dan Fandrich
c7a66d5af4
There's no need to ignore the User-Agent for this test.
2007-08-09 03:28:16 +00:00
Gunter Knauf
1866b95b7f
moved ugly CLIB define to nwos.c.
2007-08-08 20:09:08 +00:00
Dan Fandrich
668c204970
Song Ma noted a zlib memory leak in the illegal compressed header
...
countermeasures code path.
2007-08-08 17:51:40 +00:00
Gunter Knauf
af2d899d6b
removed asm rules since we have no asm in the sources, and this produced 2 warnings.
2007-08-08 17:07:16 +00:00
Gunter Knauf
d5ed9f787f
blocked ssize_t define for MingW32.
2007-08-08 16:59:43 +00:00
Patrick Monnerat
259f27b09f
Fix getsockname argument type
...
Improve "universal" alignment type in struct memdebug
2007-08-08 10:37:07 +00:00
Daniel Stenberg
c1b9356081
Usage of the BCURLOPT_PROGRESSFUNCTION callback is not recommended when using
...
the multi interface, but having the comment in here caused more questions than
we fixed problems so I remove it now. It still works fine.
2007-08-07 21:14:31 +00:00
Dan Fandrich
c669e1ae45
Fixed torture test for test 509
2007-08-07 18:24:49 +00:00
Gunter Knauf
10203cada9
moved HAVE_LONGLONG from makefiles to config-win32.h.
2007-08-07 17:40:56 +00:00
Daniel Stenberg
58b0415d36
add URL to more "generated public config.h" details
2007-08-07 13:01:36 +00:00
Patrick Monnerat
ad9cb40b6f
Some #if --> #ifdef
...
undef standard *printf before (re)defining them
2007-08-07 12:44:38 +00:00
Dan Fandrich
2e60ca382d
Fixed some icc compiler warnings.
2007-08-07 00:10:27 +00:00
Gunter Knauf
25920f4a14
Peteris Krumins pointed out that MingW32 doesnt provide a batch file to set the path to the bin folder.
2007-08-06 22:21:38 +00:00
Daniel Stenberg
160c302933
ontributors from the 7.16.4 release notes and a removed duplicate
2007-08-06 15:58:05 +00:00
Daniel Stenberg
dddc8e3374
removed the rsaglue hint since it doesn't apply to modern OpenSSL, and added
...
some brief hints about gssapi and libssh2
2007-08-06 15:54:38 +00:00
Daniel Stenberg
bccb1ee7cd
we now support GSS/Kerberos 5 for ftp file transfers!
2007-08-06 14:56:21 +00:00
Daniel Stenberg
26af759732
Patrick Monnerat updated the _FORM_DEBUG-enabled code, and I updated comments
...
based on his comments/suggestions.
2007-08-05 21:33:31 +00:00
Gunter Knauf
87fc4ad919
changed to use libssh2 0.16;
...
fixed link order in case libssh2 is build with zlib.
2007-08-04 23:35:23 +00:00
Daniel Stenberg
b214298960
another mirror
2007-08-04 20:58:53 +00:00
Daniel Stenberg
1926f4573d
Patrick Monnerat fixed curl_easy_escape() and curlx_strtoll() to work on
...
non-ASCII systems.
2007-08-04 20:47:59 +00:00
Dan Fandrich
7fe65aaf5b
Fixed a couple of compiler warnings.
2007-08-04 16:54:58 +00:00
Dan Fandrich
0d3d84e3ff
Refactored CreateConnection() somewhat to reduce its length by splitting
...
it into a few new functions.
Fixed a few leaks in out of memory conditions, including for test case 231.
2007-08-03 22:46:59 +00:00
Gunter Knauf
e789a3802c
fixed small fix issue I introduced with my previous commit.
2007-08-03 19:54:31 +00:00
Gunter Knauf
4aabbc5ac2
some more makefile fixes/changes.
2007-08-03 14:30:02 +00:00
James Housley
e7a50e37d6
Start adding some expanded error conversion of libssh2 errors.
2007-08-03 13:57:37 +00:00
James Housley
9fa05db83b
The previous commit to force the use of libssh2-0.16 by removing
...
LIBSSH2_APINO
2007-08-03 13:46:59 +00:00
Gunter Knauf
7ed58c4636
changed 'rm -f' to 'del /f' so it works without GnuUtils as Peteris Krumins pointed out; changed to use latest external libs.
2007-08-03 12:53:00 +00:00
Gunter Knauf
f2f7c18245
Peteris Krumins pointed out some MingW32 related build issues.
2007-08-03 11:46:00 +00:00
Gunter Knauf
efaab37698
Peteris Krumins pointed out that the standard MingW32 build depends on zlib; removed that, and added another option for zlib build, and renamed all other targets to reflect zlib dependency.
2007-08-03 11:24:22 +00:00
Daniel Stenberg
869319ce4a
SCP and SFTP support now requires libssh2 0.16 or later
2007-08-03 08:31:47 +00:00
Daniel Stenberg
252f16db02
remove left-over partly support for libssh2 0.14
2007-08-03 08:25:28 +00:00
Daniel Stenberg
72f5d6ba46
The SSH code now only works with libssh2 0.16 or later. Thus we must not
...
release the next curl until there is a libssh2 0.16 released.
2007-08-03 08:14:51 +00:00
Daniel Stenberg
5ec786b02e
Scott Cantor filed bug report #1766320
...
(http://curl.haxx.se/bug/view.cgi?id=1766320 ) pointing out that the libcurl
code accessed two curl_easy_setopt() options (CURLOPT_DNS_CACHE_TIMEOUT and
CURLOPT_DNS_USE_GLOBAL_CACHE) as ints even though they're documented to be
passed in as longs, and that makes a difference on 64 bit architectures.
2007-08-02 20:10:28 +00:00
Dan Fandrich
035ee257c8
Fixed a compiler warning.
2007-08-02 19:23:35 +00:00
Daniel Stenberg
188b08ca55
Patrick Monnerat's cleanup fix after my alloc-strings commit
2007-08-02 14:42:16 +00:00
Daniel Stenberg
6f750f3b57
Dmitriy Sergeyev reported a regression: resumed file:// transfers broke
...
after 7.16.2. This is much due to the different treatment file:// gets
internally, but now I added test 231 to make it less likely to happen again
without us noticing!
2007-08-02 14:09:08 +00:00
Daniel Stenberg
5a6dcdc36c
clarify that setting POSTFIELDS to NULL or "" is not enough to make a zero byte
...
POST
2007-08-02 13:26:06 +00:00
Daniel Stenberg
59c16a570f
argh, Greg Morse pointed out that the NTLM POST fix only worked if VERBOSE
...
was set, this should make it work for all cases!
2007-08-02 11:34:50 +00:00
Daniel Stenberg
50c10aa5bf
Patrick Monnerat and I modified libcurl so that now it *copies* all strings
...
passed to it with curl_easy_setopt()! Previously it has always just refered
to the data, forcing the user to keep the data around until libcurl is done
with it. That is now history and libcurl will instead clone the given
strings and keep private copies.
2007-08-01 21:20:01 +00:00
Daniel Stenberg
006878686c
Greg Morse reported a problem with POSTing using ANYAUTH to a server requiring
...
NTLM, and he provided test code and a test server and we worked out a bug
fix. We failed to count sent body data at times, which then caused internal
confusions when libcurl tried to send the rest of the data in order to
maintain the same connection alive.
(and then I did some minor reformatting of code in lib/http.c)
2007-08-01 12:58:04 +00:00
Daniel Stenberg
bd100b2a51
AIX 4 and 5 get to use non-blocking sockets
2007-07-30 22:54:02 +00:00
Daniel Stenberg
5b1bbffdff
Peter O'Gorman pointed out (and fixed) that the non-blocking check in
...
configure made libcurl use blocking sockets on AIX 4 and 5, while that
wasn't the intention.
2007-07-30 22:53:18 +00:00
Daniel Stenberg
16710a1c9b
users should use the CURLMOPT_TIMERFUNCTION rather than curl_multi_timeout
...
when using the socket API
2007-07-30 22:01:04 +00:00
Daniel Stenberg
ba5c71b79b
less blocking these days
2007-07-30 21:47:56 +00:00
Daniel Stenberg
f3799462c2
updated based on suggestion from Jeff Pohlmeyer
2007-07-30 21:47:44 +00:00
Daniel Stenberg
f01c6e51f4
Patrick Monnerat restored qssl successful compilation and loading
2007-07-30 21:41:12 +00:00
Daniel Stenberg
21d62118dc
give credit to Greg Zavertnik
2007-07-30 20:07:43 +00:00
Dan Fandrich
de55038e33
Properly set USE_SSL on OS/400
2007-07-30 17:08:26 +00:00
Dan Fandrich
ea908c23ae
Fixed compiler warning on non-SSL builds
2007-07-30 17:05:39 +00:00
Daniel Stenberg
844cbc701a
Added "4.15 FTPS doesn't work" and updated a few other sections slightly
2007-07-29 22:17:39 +00:00
Daniel Stenberg
f1fa7b8ba4
Bug report #1759542 ( http://curl.haxx.se/bug/view.cgi?id=1759542 ). A bad use
...
of a socket after it has been closed, when the FTP-SSL data connection is taken
down.
2007-07-29 12:54:05 +00:00
Daniel Stenberg
86ff3194fa
added missing part for the qsossl support
2007-07-27 08:33:32 +00:00
Daniel Stenberg
d460b601f9
added initial pkg-config file (attempt)
2007-07-26 21:56:47 +00:00
Dan Fandrich
48a06d1a7b
Removed unused variable.
2007-07-24 15:23:16 +00:00
Daniel Stenberg
813a1107f4
#if that should be #ifdef
2007-07-23 21:48:27 +00:00
Daniel Stenberg
b3461bab1d
Implemented the parts of Patrick Monnerat's OS/400 patch that introduces
...
support for the OS/400 Secure Sockets Layer library
2007-07-23 21:46:26 +00:00
Dan Fandrich
5ecd56d964
Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed
...
some few internal identifiers to avoid conflicts, which could be useful on
other platforms.
2007-07-23 18:51:22 +00:00
Dan Fandrich
cc44fb1dc8
Log the "<CMD> wasn't handled" error normally since it is now expected
...
to occur in a couple of tests.
2007-07-23 17:51:43 +00:00
Gunter Knauf
77b0efdbc2
added 2 system libs necessary for linking OpenSSL 0.9.8e statically.
2007-07-23 01:05:34 +00:00
Daniel Stenberg
68653bcbdd
fix mess added in my previous commit
2007-07-22 10:19:53 +00:00
Daniel Stenberg
9af807a5ce
HTTP Digest auth fix on a re-used connection
2007-07-22 10:17:52 +00:00
Daniel Stenberg
4bbcc47f3f
Added test case 354 that makes a simple FTP retrieval without password, which
...
verifies the bug fix in #1757328 .
2007-07-22 10:08:59 +00:00
Daniel Stenberg
8ab495a088
test and verify curl -I on a single FTP file somewhat more than before
2007-07-21 21:49:23 +00:00
Daniel Stenberg
84e7bb85b1
To allow more flexibility in FTP test cases, I've removed the enforced states
...
from the test server code as they served no real purpose. The test server is
here to serve for the test cases, not to attempt to function as a real server!
2007-07-21 21:48:58 +00:00
Daniel Stenberg
4fc7e13a98
news
2007-07-21 21:47:02 +00:00
Dan Fandrich
b465750041
Make the pointers of a few static const arrays const, too, for safety.
2007-07-21 02:08:17 +00:00
Gunter Knauf
37dc0fa519
added curl include for debug builds.
2007-07-20 21:50:53 +00:00
Dan Fandrich
000fdc6b99
Document pwd as an sftp quote command for curl(1), and show it as
...
lower case for consistency since sftp commands are case insensitive.
2007-07-20 17:29:43 +00:00
Gunter Knauf
594fc0411e
added lf to Win32 getpass_r() so that next output appears in new line.
2007-07-20 16:01:05 +00:00
Daniel Stenberg
94fcb4b09d
PWD for SFTP is fixed
2007-07-20 15:33:44 +00:00
Daniel Stenberg
1a0034ac34
the "libssh2 owns the memory don't free it" case
2007-07-20 09:38:41 +00:00
Daniel Stenberg
e3377e637a
Ralf S. Engelschall filed bug report #1757328
...
(http://curl.haxx.se/bug/view.cgi?id=1757328 ) and submitted a patch. It turns
out we broke login to FTP servers that don't require (nor understand) PASS
after the USER command
2007-07-20 09:35:58 +00:00
James Housley
2ab854cafd
Fix a loop with PWD
2007-07-20 01:03:49 +00:00
Dan Fandrich
4a2f0fb2be
Made some const arrays static to avoid unnecessary stack usage.
2007-07-20 00:41:12 +00:00
Daniel Stenberg
dca3564cfb
minor addition, re-count of the number of lines of code
2007-07-19 21:35:36 +00:00
Daniel Stenberg
9d183bb7b1
libssh2 fix
2007-07-19 15:08:47 +00:00
Dan Fandrich
c7db74fe73
Revert the 512 change since newer versions of OpenSSH don't support DSA
...
keys that small.
2007-07-19 01:42:22 +00:00
James Housley
5251c45187
SFTP also supports PWD
2007-07-18 23:21:32 +00:00
Dan Fandrich
d9b5f327bf
Added the list of sftp quote commands.
2007-07-18 22:23:07 +00:00
James Housley
ca1356702a
As has been pointed out, err_msg should not be freed here. The actual
...
issue is in libssh2 and not freeing a dynamic error message during cleanup.
2007-07-18 18:31:34 +00:00
Dan Fandrich
89d119646d
Use 512 bit keys to reduce the time taken to generate them. This shouldn't
...
really reduce security since in the common case of a daily automated build
the keys are only used for a single test run lasting a few minutes before
being deleted.
2007-07-18 00:27:13 +00:00
Dan Fandrich
989dd9c34a
Fixed test cases 613 and 614 by improving the log postprocessor to handle
...
a new directory listing format that newer libssh2's can provide. This
is probably NOT sufficient to handle all directory listing formats that
server's can provide and should be revisited.
2007-07-17 21:53:38 +00:00
Daniel Stenberg
1d728aae2a
Jofell Gallardo posted a libcurl log using FTP that exposed a bug which made
...
a control connection that was deemed "dead" to yet be re-used in a following
request. We must make sure the connection gets closed on this situation.
2007-07-17 20:59:53 +00:00
Daniel Stenberg
98b9349be7
make it do all three requests on the same connection
2007-07-16 21:44:46 +00:00
Dan Fandrich
4706a93341
Fixed some more simple compile warnings in the examples.
2007-07-16 21:22:12 +00:00
Daniel Stenberg
b85b56a73d
45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
...
getaddrinfo() sorts the response list which effectively kills how libcurl
deals with round-robin DNS entries. All details:
http://curl.haxx.se/mail/lib-2007-07/0168.html
initial suggested function to use for randomizing the response:
http://curl.haxx.se/mail/lib-2007-07/0178.html
2007-07-16 21:08:08 +00:00
Daniel Stenberg
1da3d402f6
convert test case 540 to use a custom Host: header as well
2007-07-15 21:00:26 +00:00
Daniel Stenberg
1da3192d2d
let's just export the whole argc + argv pair globally so that each test tool
...
can take advantage of it however they see fit!
2007-07-15 20:59:43 +00:00
Gunter Knauf
dab569d76c
make users use the latest OpenSSL and Zlib libraries;
...
added hint to compile with SSPI with MSVC6 without PSDK.
2007-07-15 13:00:39 +00:00
Daniel Stenberg
598c589359
added another SEE ALSO
2007-07-14 23:01:49 +00:00
Daniel Stenberg
15c8219340
Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by Shmulik
...
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
2007-07-14 22:39:22 +00:00
Daniel Stenberg
5ae21ebde9
add support for arg3 as the third argument...
2007-07-14 22:38:18 +00:00
Daniel Stenberg
c7e0d8c30b
add some better logging when HTTP server start fails, and make the failure
...
really hard if the test server can't be resolved (like for ::1 ipv6)
2007-07-14 22:33:46 +00:00
Gunter Knauf
fee4f8c86d
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.
2007-07-14 15:59:01 +00:00
Daniel Stenberg
1261c3feba
Brad House's fix to hish a win32 compiler warning
2007-07-14 13:14:58 +00:00
Daniel Stenberg
7fc300d5dc
added Vlad's entire description of his valgrind fix
2007-07-14 13:11:36 +00:00
Daniel Stenberg
88ce03e945
Vlad Dinulescu fixed two outstanding valgrind reports
2007-07-14 13:08:50 +00:00
Dan Fandrich
5bed99c97d
The examples don't need access to curl internal source files.
2007-07-13 21:31:44 +00:00
Daniel Stenberg
46c699c483
Colin Hogben filed bug report #1750274
...
(http://curl.haxx.se/bug/view.cgi?id=1750274 ) and submitted a patch for the
case where libcurl did a connect attempt to a non-listening port and didn't
provide a human readable error string back.
2007-07-13 20:17:35 +00:00
Daniel Stenberg
f7d6e147f1
Daniel Cater added the mentioning of CURL_DISABLE_TFTP
2007-07-13 20:09:38 +00:00
Daniel Stenberg
aad1d3ce14
Daniel Cater: libcurl-errors needs updating to reflect a couple of deprecated
...
error codes
2007-07-13 20:07:22 +00:00
Daniel Stenberg
cf5378b366
Daniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't
...
define the symbols for backwards source compatibility)
2007-07-13 20:04:53 +00:00
Daniel Stenberg
fea938cbcb
Daniel Cater made the vc8-generating line use double-quotes to run fine on
...
windows
2007-07-13 19:38:36 +00:00
Daniel Stenberg
a67c8b4698
Made the krb5 code build with Heimdal's GSSAPI lib
2007-07-12 21:34:42 +00:00
Dan Fandrich
49ce3e5160
Fixed some compile warnings and errors and improved portability in the
...
examples.
Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers
any longer.
2007-07-12 21:11:10 +00:00
Daniel Stenberg
4a728747e6
make it compile fine
2007-07-12 20:55:17 +00:00
Daniel Stenberg
f5a6355172
fix include path
2007-07-12 20:54:54 +00:00
Dan Fandrich
ffff8ddbef
Compile most of the example apps in docs/examples when doing a 'make check'.
2007-07-12 20:38:54 +00:00
Daniel Stenberg
cf86f8cb78
Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation
...
could in fact get stuck in an endless loop.
2007-07-12 20:15:38 +00:00
Daniel Stenberg
a53ba060c8
start the retry delay at 10 ms, double it for every failed attempt which makes
...
it 10 seconds delay after 11 attempts
2007-07-12 17:03:45 +00:00
Gunter Knauf
72bb5854f7
the timeout was probably too short with max = 1 sec, so lets test with 5 sec.
2007-07-12 10:54:15 +00:00
Gunter Knauf
0de56e5535
added nwos.c so that it gets distributed with releases and tarballs.
2007-07-12 10:44:46 +00:00
Gunter Knauf
0878b14f79
added time loop to sockfilt.c in order to wait for SO_REUSEADDR;
...
added go_sleep() to util.c.
2007-07-12 01:07:49 +00:00
Marty Kuhrt
7d56f35388
Updated to match curl.h
2007-07-11 23:17:11 +00:00
Daniel Stenberg
d12759c73e
Made CURLOPT_SSL_VERIFYHOST set to 1 acts as described in the documentation:
...
fail to connect if there is no Common Name field found in the remote cert.
We should deprecate the support for this set to 1 anyway soon, since the
feature is pointless and most likely never really used by anyone.
2007-07-11 22:20:46 +00:00
Gunter Knauf
c0095d6dd9
removed now obsolete NETDB_DEFINE_CONTEXT macro calls.
2007-07-11 21:47:31 +00:00
Gunter Knauf
6a88eab067
updated makefile to compile nwos.c.
2007-07-11 21:38:28 +00:00
Gunter Knauf
a4f36558fc
added NetWare-own file to provide some init functions (for now only CLIB);
...
added call to netware_init() in curl_global_init() to make sure it gets called before any library functions get used.
2007-07-11 21:34:22 +00:00
Dan Fandrich
5e1cd407a3
Added the first libcurl version to which the SSH options were added.
2007-07-11 19:21:38 +00:00
Gunter Knauf
2a1345ae9f
added netdb.h for NetWare CLIB since gethostname() is defined there.
2007-07-11 09:08:03 +00:00
Gunter Knauf
cf61c8d659
fixed endif comment.
2007-07-11 09:03:22 +00:00
Gunter Knauf
c39690486c
fixed endif comment.
2007-07-11 08:55:28 +00:00
Dan Fandrich
814b471d55
Added a code coverage section using gcc and gcov.
2007-07-10 22:55:51 +00:00
Daniel Stenberg
5119fb16d6
Shmulik Regev:
...
The tiny patch below fixes a bug (that I introduced :) which happens
when negotiating authentication with a proxy (probably with web
servers as well) that uses chunked transfer encoding for the 407 error
pages. In this case the ''ignorebody'' flag was ignored (no pun
intended).
2007-07-10 22:45:01 +00:00
Daniel Stenberg
dc2c70be07
Giancarlo Formicuccia reported and fixed a problem with a closed connection
...
to a proxy during CONNECT auth negotiation.
2007-07-10 22:31:13 +00:00
Dan Fandrich
19631f5d5f
Force the time zone to GMT in the cookie tests in case the user is
...
using one of the so-called 'right' time zones that take into account
leap seconds, which causes the tests to fail (as reported by
Daniel Black in bug report #1745964 ).
2007-07-10 22:27:16 +00:00
James Housley
a8d6b40736
The previous commits changed the error code
2007-07-10 22:26:59 +00:00
James Housley
8026d94c07
* Finish moving sftp:// into a state machine so it won't block in multi mode
...
* Move scp:// into a state machine so it won't block in multi mode
* When available use the full directory entry from the sftp:// server
2007-07-10 22:26:32 +00:00
Dan Fandrich
93bd512357
Fixed a curl memory leak reported by Song Ma with a modified version
...
of the patch he suggested. Added his test case as test289 to verify.
2007-07-10 22:23:16 +00:00
Daniel Stenberg
04d3a8c714
start working on 7.16.5...
2007-07-10 22:07:33 +00:00
Daniel Stenberg
4b1782c371
7.16.4 preps
2007-07-10 21:36:30 +00:00
Gunter Knauf
f84642197f
added better CodeWarrior detection (forgot to add with previos version).
2007-07-09 02:00:39 +00:00
Gunter Knauf
ec1b7a0eea
added better CodeWarrior detection;
...
added defines for setlocale().
2007-07-08 23:19:24 +00:00
Gunter Knauf
4b0e48cb4e
added better CodeWarrior detection;
...
moved autounload flag so that its used for both lib architectures.
2007-07-08 23:18:47 +00:00
Gunter Knauf
41df67fc2c
added better CodeWarrior detection.
2007-07-08 23:17:56 +00:00
Gunter Knauf
932d38323f
removed some obsolete include paths and defines.
2007-07-07 16:26:02 +00:00
Daniel Stenberg
74ad8516d7
Thomas J. Moore made it build with less warnings
2007-07-06 22:14:29 +00:00
Daniel Stenberg
ed4a16dbd1
Gavrie Philipson's change, updated numbers
2007-07-06 21:56:42 +00:00
Daniel Stenberg
e2bac4fe6f
add note about windows and dlls with CURLOPT_WRITEDATA
2007-07-06 20:14:03 +00:00
Gunter Knauf
836ffbfc22
fixed NetWare CLIB implementation of getpass_r()
2007-07-06 14:58:59 +00:00
James Housley
7fd4f82a45
Gavrie Philipson provided a patch that will use a more specific error
...
message for an scp:// upload failure. If libssh2 has his matching
patch, then the error message return by the server will be used instead
of a more generic error.
2007-07-05 12:48:34 +00:00
Dan Fandrich
598bc3968e
Add -a when running torture tests now that it's supported.
2007-07-05 01:38:00 +00:00
James Housley
29357151af
Fix spelling error in error message
2007-07-04 22:54:29 +00:00
Gunter Knauf
6606ae6fe0
add test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined.
2007-07-04 17:20:19 +00:00
Gunter Knauf
9f21f74fbd
enabled ares build.
2007-07-04 13:45:46 +00:00
Gunter Knauf
3760180320
although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is incorrect; lets see if a check for HAVE_GETTIMEOFDAY also works; if gettimeofday() is present then we can assume we have the timezone struct too.
2007-07-04 10:54:15 +00:00
Gunter Knauf
056af4c9ac
added check for sys/param.h.
2007-07-04 09:01:40 +00:00
Gunter Knauf
07bf3c86b6
trial to catch problem with Daniels cross-mingw ares builds.
2007-07-03 18:18:40 +00:00
Gunter Knauf
4182803bc2
added NetWare CLIB-own header to solve gcc warnings.
2007-07-03 16:21:57 +00:00
Gunter Knauf
7509ef6b4e
few minor changes to make ares compile for NetWare CLIB architecture.
2007-07-03 16:00:36 +00:00
Gunter Knauf
70f8068d4d
fixed rule to build libcares when needed.
2007-07-03 00:50:40 +00:00
Gunter Knauf
a7513a8521
changed to build for CLIB / LIBC.
2007-07-03 00:42:11 +00:00
Gunter Knauf
3f7e541415
added libcares to static build if ares enabled.
2007-07-03 00:12:03 +00:00
Daniel Stenberg
f7e9a21c53
contributors from the 7.16.3 release notes
2007-07-02 22:04:36 +00:00
Gunter Knauf
f1537d45ca
sync'd with lib makefile changes: use var for awk; fixed RECV* / SEND* defines; debug var can be overwritten; added better compiler path handling.
2007-07-02 18:50:18 +00:00
Gunter Knauf
5a051617f3
some more makefile tweaks and hacks to deal with both lib architectures.
2007-07-02 18:42:14 +00:00
James Housley
55cd28283c
Fix problem with the indenting noticed by Pavel
2007-07-02 17:22:51 +00:00
Gunter Knauf
924665c84c
ignore make error when trying to copy curl.pdf which isnt in CVS.
2007-07-01 22:17:07 +00:00
Daniel Stenberg
fcfffbe2f2
mention the old name
2007-07-01 22:03:47 +00:00
Daniel Stenberg
54967d2a3a
Thomas J. Moore provided a patch that introduces Kerberos5 support in
...
libcurl. This also makes the options change name to --krb (from --krb4) and
CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
2007-07-01 22:01:18 +00:00
Daniel Stenberg
667fd9a60b
Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy
2007-07-01 21:28:14 +00:00
Gunter Knauf
892a24f4c4
changed RECV_* / SEND_* defines to correctly reflect NetWare APIs;
...
some more minor Makefile tidyups.
2007-07-01 21:06:41 +00:00
Gunter Knauf
f7676e9667
disabled 64bit type for CLIB build which removes compiler runtime dependency.
2007-07-01 16:55:37 +00:00
Gunter Knauf
8727803cf8
updated NetWare docu.
2007-07-01 12:09:25 +00:00
Gunter Knauf
73e13ef19d
added lib architecture to NLM description.
2007-07-01 01:33:51 +00:00
Gunter Knauf
e983cd5cd3
added HAVE_SYS_IOCTL_H define; added gcc runtime.
2007-06-30 23:53:54 +00:00
Gunter Knauf
ca3e5a6322
moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning).
2007-06-30 23:45:57 +00:00
Gunter Knauf
c4931601c6
fixed path to Metrowerks tools and runtime since they changed between compiler versions.
2007-06-30 21:20:24 +00:00
Gunter Knauf
857492ac9e
minor patches to enable building for NetWare CLIB.
...
sent by Dmitry Mityugov.
2007-06-30 20:16:03 +00:00
Gunter Knauf
afdfa4bed2
minor patches to enable building for NetWare CLIB.
...
sent by Dmitry Mityugov.
2007-06-30 20:08:13 +00:00
Gunter Knauf
3fc6faf1ae
enabled building for NetWare CLIB architecture.
2007-06-30 20:02:51 +00:00
Gunter Knauf
c8a47bf662
revert previous patch since it turned out that older cp dont know this switch, argh!
2007-06-28 22:31:18 +00:00
James Housley
aed0cc6f2a
Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
...
file.c, but the debug interface was missing. This adds the routines needed
to make the memory debuging work for fdopen().
2007-06-28 11:11:29 +00:00
Daniel Stenberg
d500c468fc
reality sync
2007-06-28 10:47:05 +00:00
Gunter Knauf
5df5a2aa54
fixed nasty cp warnings about not beeing able to preserve ownership.
2007-06-28 01:20:30 +00:00
Daniel Stenberg
9ca688c8e7
James Bursa's improvement
2007-06-27 21:35:17 +00:00
Daniel Stenberg
8edbe262d9
fix little flaw that could make the transfer loop end prematurely
2007-06-27 21:29:29 +00:00
James Housley
4cd7f85410
Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
...
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files
and directories created on the remote server. CURLOPT_NEW_FILE_PERMS
defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755
2007-06-27 20:15:48 +00:00
Gunter Knauf
edd35cab5c
removed trailing spaces.
2007-06-27 10:14:00 +00:00
Gunter Knauf
a2060effed
fixed wrong var name
2007-06-27 10:12:48 +00:00
Daniel Stenberg
33b9daaa4c
add an FTP rename example to 3.7
2007-06-26 21:53:46 +00:00
Daniel Stenberg
62f0f5571d
Robert Iakobashvili re-arranged the internal hash code to work with a custom
...
hash function for different hashes, and also expanded the default size for
the socket hash table used in multi handles to greatly enhance speed when
very many connections are added and the socket API is used.
2007-06-26 21:09:28 +00:00
James Housley
7a360de49d
The results for a list only directory should be sent to the callback
2007-06-26 20:23:10 +00:00
James Housley
1be4557694
ftp_list_only mode should list all file types, not just directories.
2007-06-26 19:12:58 +00:00
Daniel Stenberg
6a21738704
gah, adding missing braces, removed silly debug output, added new debug output
2007-06-25 14:17:52 +00:00
Daniel Stenberg
974fa1242a
Adjusted how libcurl treats HTTP 1.1 responses without content-lenth or
...
chunked encoding (that also lacks "Connection: close"). It now simply
assumes that the connection WILL be closed to signal the end, as that is how
RFC2616 section 4.4 point #5 says we should behave.
2007-06-25 13:58:14 +00:00
Daniel Stenberg
3dff58b3aa
fix the version string as well
2007-06-25 13:52:16 +00:00
Daniel Stenberg
abf8589f0d
start working towards 7.16.4
2007-06-25 09:34:44 +00:00