platform/upstream/curl.git
13 years agoCHANGES: move all contents from CHANGES to CHANGES.0
Daniel Stenberg [Mon, 21 Jun 2010 20:27:39 +0000 (22:27 +0200)]
CHANGES: move all contents from CHANGES to CHANGES.0

CHANGES is no longer used for manually edited content. It is to
be generated automatically by maketgz when we make release
tarballs.

13 years agolog2changes: correct command line, fix tag usage, change Version output
Daniel Stenberg [Mon, 21 Jun 2010 20:21:25 +0000 (22:21 +0200)]
log2changes: correct command line, fix tag usage, change Version output

--decorate=full is needed with my git 1.7.1 to get the necessary
output so that the previous edit would work to extract the
Version stuff.

... but I had to edit how the refs/tags was extracted since it
had a little flaw that made it miss the 7.20.1 output.

Finally, I changed so that Version is outputted even more similar
to how CHANGES does it.

13 years agoMake the output of log2changes.pl even more closely match CHANGES
Dan Fandrich [Mon, 21 Jun 2010 19:24:27 +0000 (12:24 -0700)]
Make the output of log2changes.pl even more closely match CHANGES

Add the ASCII art header, and list version commits by decoding
the ref tag names, when available (using the git log --decorate
option).

13 years agolog2changes: first version of the git log to CHANGES conversion script
Daniel Stenberg [Sat, 19 Jun 2010 21:08:34 +0000 (23:08 +0200)]
log2changes: first version of the git log to CHANGES conversion script

$ git log --pretty=fuller --no-color --date=short | ./log2changes.pl

Of course, limiting the log output with a range like with
"[tag]..HEAD" appended can be very useful too.

14 years agosendrecv: treat all negative values from send/recv as errors
Daniel Stenberg [Fri, 18 Jun 2010 22:18:14 +0000 (00:18 +0200)]
sendrecv: treat all negative values from send/recv as errors

For example the libssh2 based functions return other negative
values than -1 to signal errors and it is important that we catch
them properly. Right before this, various failures from libssh2
were treated as negative download amounts which caused havoc.

14 years agomulti: prevent NULL pointer dereference
Daniel Stenberg [Fri, 18 Jun 2010 21:46:09 +0000 (23:46 +0200)]
multi: prevent NULL pointer dereference

My additional call to Curl_pgrsUpdate() would sometimes get
called even though there's no connection (left) so a NULL pointer
would get passed, causing a segfault.

14 years agosmtp: fixed a few uses of size_t that seemed to believe it was signed
Daniel Stenberg [Fri, 18 Jun 2010 14:20:41 +0000 (16:20 +0200)]
smtp: fixed a few uses of size_t that seemed to believe it was signed

Reported-by: Steven M. Schweda
14 years agoFixed an OOM memory leak in the FTP wildcard code
Dan Fandrich [Thu, 17 Jun 2010 17:56:25 +0000 (10:56 -0700)]
Fixed an OOM memory leak in the FTP wildcard code

14 years agotest575: do not fail with threaded DNS resolver
Kamil Dudka [Thu, 17 Jun 2010 15:07:15 +0000 (17:07 +0200)]
test575: do not fail with threaded DNS resolver

14 years agomulti: unmark handle as used when no longer head of pipeline
Krister Johansen [Thu, 17 Jun 2010 13:46:27 +0000 (15:46 +0200)]
multi: unmark handle as used when no longer head of pipeline

14 years agomulti: call the progress function only once and allow abort
Daniel Stenberg [Thu, 17 Jun 2010 13:19:30 +0000 (15:19 +0200)]
multi: call the progress function only once and allow abort

1) no need to call the progress function twice when in the
CURLM_STATE_TOOFAST state.

2) Make sure that the progress callback's return code is
acknowledged when used

14 years agomulti: call the progress callback in all states
Daniel Stenberg [Thu, 17 Jun 2010 13:08:55 +0000 (15:08 +0200)]
multi: call the progress callback in all states

As long as no error is reported, the progress function can get
called. This may be a little TOO often so we should keep an eye
on this and possibly make this conditional somehow.

14 years agoconfigure: spell --disable-threaded-resolver correctly
Daniel Stenberg [Thu, 17 Jun 2010 13:07:05 +0000 (15:07 +0200)]
configure: spell --disable-threaded-resolver correctly

Previously we only accepted the option when named
--disable-threaded-resover, which wasn't quite intended.

Reported by: Helwing Lutz

14 years agorelease: start on 7.21.1, bump contributor count
Daniel Stenberg [Wed, 16 Jun 2010 12:29:16 +0000 (14:29 +0200)]
release: start on 7.21.1, bump contributor count

14 years agoversion: start working on the 7.21.1-dev version
Daniel Stenberg [Wed, 16 Jun 2010 12:26:43 +0000 (14:26 +0200)]
version: start working on the 7.21.1-dev version

14 years agoTHANKS: added contributors from the 7.21.0 release
Daniel Stenberg [Wed, 16 Jun 2010 12:26:14 +0000 (14:26 +0200)]
THANKS: added contributors from the 7.21.0 release

14 years agorelease: 7.21.0
Daniel Stenberg [Wed, 16 Jun 2010 11:48:27 +0000 (13:48 +0200)]
release: 7.21.0

14 years agoremove unused 'tmpdata' and 'backup' ftp_parselist_data struct members
Yang Tse [Thu, 10 Jun 2010 02:46:30 +0000 (04:46 +0200)]
remove unused 'tmpdata' and 'backup' ftp_parselist_data struct members

14 years agoreplace isprint() with ISPRINT()
Yang Tse [Thu, 10 Jun 2010 00:33:45 +0000 (02:33 +0200)]
replace isprint() with ISPRINT()

14 years agoensure that Curl_wildcard_dtor() leaves WildcardData struct zero initialized
Yang Tse [Thu, 10 Jun 2010 00:30:23 +0000 (02:30 +0200)]
ensure that Curl_wildcard_dtor() leaves WildcardData struct zero initialized

14 years agoILE/RPG binding updated to current curl.h definitions.
Patrick Monnerat [Wed, 9 Jun 2010 15:14:33 +0000 (17:14 +0200)]
ILE/RPG binding updated to current curl.h definitions.

14 years agocode simplification
Yang Tse [Wed, 9 Jun 2010 14:48:19 +0000 (16:48 +0200)]
code simplification

14 years agoadd Curl_ prefix to conform with cURL naming standards
Yang Tse [Wed, 9 Jun 2010 13:45:46 +0000 (15:45 +0200)]
add Curl_ prefix to conform with cURL naming standards

14 years agoMerge branch 'master' of git@github.com:bagder/curl
Yang Tse [Tue, 8 Jun 2010 23:57:37 +0000 (01:57 +0200)]
Merge branch 'master' of git@github.com:bagder/curl

14 years agofix compiler warning using curl_socket_t to store socket descriptor
Yang Tse [Tue, 8 Jun 2010 23:51:46 +0000 (01:51 +0200)]
fix compiler warning using curl_socket_t to store socket descriptor

14 years agoinet_pton: warnings: use size_t to store pointer deltas
Daniel Stenberg [Tue, 8 Jun 2010 21:09:42 +0000 (23:09 +0200)]
inet_pton: warnings: use size_t to store pointer deltas

14 years agoavoid redundant work when reusing same connection
Yang Tse [Tue, 8 Jun 2010 17:29:20 +0000 (19:29 +0200)]
avoid redundant work when reusing same connection

14 years agofix function result checking
Yang Tse [Tue, 8 Jun 2010 14:16:34 +0000 (16:16 +0200)]
fix function result checking

14 years agotransfer: warning: implicit conversion
Daniel Stenberg [Tue, 8 Jun 2010 08:36:06 +0000 (10:36 +0200)]
transfer: warning: implicit conversion

There is an implicit conversion from "unsigned long" to "long";
rounding, sign extension, or loss of accuracy may result.

Fixed by an added typecast.

14 years agoTFTP: fix compiler warning
Daniel Stenberg [Tue, 8 Jun 2010 08:35:06 +0000 (10:35 +0200)]
TFTP: fix compiler warning

Curl_fillreadbuffer()'s second argument takes an int, so
typecasting to another is a bad idea.

14 years agoTFTP: fix warning for sendto() usage on non-POSIX systems
Daniel Stenberg [Tue, 8 Jun 2010 08:19:39 +0000 (10:19 +0200)]
TFTP: fix warning for sendto() usage on non-POSIX systems

Older unixes want an 'int' instead of 'size_t' as the 3rd
argumment so before this change it would cause warnings such as:

There is an implicit conversion from "unsigned long" to "int";
rounding, sign extension, or loss of accuracy may result.

14 years agoInclude Makefile.inc to get the list of source files for Amiga
Dan Fandrich [Mon, 7 Jun 2010 21:00:16 +0000 (14:00 -0700)]
Include Makefile.inc to get the list of source files for Amiga

Signed-off-by: Diego Casorran <dcasorran@gmail.com>
14 years agoCurl_updateconninfo() error handling fix
Yang Tse [Mon, 7 Jun 2010 14:53:31 +0000 (16:53 +0200)]
Curl_updateconninfo() error handling fix

14 years agoOpenSSL: fix spurious SSL connection aborts
Constantine Sapuntzakis [Sat, 5 Jun 2010 21:41:58 +0000 (23:41 +0200)]
OpenSSL: fix spurious SSL connection aborts

Was seeing spurious SSL connection aborts using libcurl and
OpenSSL. I tracked it down to uncleared error state on the
OpenSSL error stack - patch attached deals with that.

Rough idea of problem:

Code that uses libcurl calls some library that uses OpenSSL but
don't clear the OpenSSL error stack after an error.

ssluse.c calls SSL_read which eventually gets an EWOULDBLOCK from
the OS. Returns -1 to indicate an error

ssluse.c calls SSL_get_error. First thing, SSL_get_error calls
ERR_get_error to check the OpenSSL error stack, finds an old
error and returns SSL_ERROR_SSL instead of SSL_ERROR_WANT_READ or
SSL_ERROR_WANT_WRITE.

ssluse.c returns an error and aborts the connection

Solution:

Clear the openssl error stack before calling SSL_* operation if
we're going to call SSL_get_error afterwards.

Notes:

This is much more likely to happen with multi because it's easier
to intersperse other calls to the OpenSSL library in the same
thread.

14 years agoreplace socklen_t with curl_socklen_t
Yang Tse [Sat, 5 Jun 2010 13:08:26 +0000 (15:08 +0200)]
replace socklen_t with curl_socklen_t

14 years agogetinfo: added *_PRIMARY_PORT, *_LOCAL_IP and *_LOCAL_PORT
Frank Meier [Fri, 4 Jun 2010 22:29:09 +0000 (00:29 +0200)]
getinfo: added *_PRIMARY_PORT, *_LOCAL_IP and *_LOCAL_PORT

14 years agoRELEASE-NOTES: add contributors not mentioned
Daniel Stenberg [Fri, 4 Jun 2010 14:13:05 +0000 (16:13 +0200)]
RELEASE-NOTES: add contributors not mentioned

14 years agoEnable OpenLDAP support for cygwin builds.
Yang Tse [Fri, 4 Jun 2010 13:14:31 +0000 (15:14 +0200)]
Enable OpenLDAP support for cygwin builds.

Enable OpenLDAP support for cygwin builds. This support was disabled back
in 2008 due to incompatibilities between OpenSSL and OpenLDAP headers.
cygwin's OpenSSL 0.9.8l and OpenLDAP 2.3.43 versions on cygwin 1.5.25
allow building an OpenLDAP enabled libcurl supporting back to Windows 95.

Remove non-functional CURL_LDAP_HYBRID code and references.

14 years agoftplistparser.c: oops, fix typo in the last commit
Kamil Dudka [Wed, 2 Jun 2010 21:55:45 +0000 (23:55 +0200)]
ftplistparser.c: oops, fix typo in the last commit

14 years agoftplistparser.c: avoid some invalid dereferences
Kamil Dudka [Wed, 2 Jun 2010 21:22:38 +0000 (23:22 +0200)]
ftplistparser.c: avoid some invalid dereferences

14 years agolib: eliminate some dead code
Kamil Dudka [Wed, 2 Jun 2010 21:11:59 +0000 (23:11 +0200)]
lib: eliminate some dead code

14 years agoSSH: corrected the inability to respect the timeout
Daniel Stenberg [Wed, 2 Jun 2010 21:33:51 +0000 (23:33 +0200)]
SSH: corrected the inability to respect the timeout

Jason McDonald posted bug report #3006786 when he found that the
SFTP code didn't timeout properly in several places in the code
even if a timeout was set properly.

Based on his suggested patch, I wrote a different implementation
that I think addressed the issue better and also uses the connect
timeout for the initial part of the SSH/SFTP done during the
"protocol connect" phase.

(http://curl.haxx.se/bug/view.cgi?id=3006786)

14 years agomention last changes
Yang Tse [Wed, 2 Jun 2010 15:30:45 +0000 (17:30 +0200)]
mention last changes

14 years agoadd missing new files to non-configure target build files
Yang Tse [Wed, 2 Jun 2010 13:09:39 +0000 (15:09 +0200)]
add missing new files to non-configure target build files

14 years agoinclude libcurl standard internal headers
Yang Tse [Wed, 2 Jun 2010 12:13:02 +0000 (14:13 +0200)]
include libcurl standard internal headers

14 years agoTODO: add multi interface improvement remove ldap select
Daniel Stenberg [Wed, 2 Jun 2010 11:52:25 +0000 (13:52 +0200)]
TODO: add multi interface improvement remove ldap select

14 years agomake setup.h first included file
Yang Tse [Wed, 2 Jun 2010 11:19:04 +0000 (13:19 +0200)]
make setup.h first included file

14 years agofix spnego memory leak
Yang Tse [Wed, 2 Jun 2010 10:44:46 +0000 (12:44 +0200)]
fix spnego memory leak

14 years agoopenldap header inclusions fix
Yang Tse [Wed, 2 Jun 2010 09:23:30 +0000 (11:23 +0200)]
openldap header inclusions fix

14 years agomulti_socket: handles timer inaccuracy better for timeouts
Daniel Stenberg [Tue, 1 Jun 2010 21:18:34 +0000 (23:18 +0200)]
multi_socket: handles timer inaccuracy better for timeouts

Igor Novoseltsev reported a problem with the multi socket API and
using timeouts and timers. It boiled down to a problem with
libcurl's use of GetTickCount() interally to figure out the
current time, while Igor's own application code used another
function call.

It made his app call the socket API timeout function a bit
_before_ libcurl would consider the timeout to trigger, and that
could easily lead to timeouts or stalls in the app. It seems
GetTickCount() in general often has no better resolution than
16ms and switching to the alternative function
QueryPerformanceCounter has its share of problems:
http://www.virtualdub.org/blog/pivot/entry.php?id=106

We address this problem by simply having libcurl treat timers
that already has occured or will occur within 40ms subject for
treatment. I'm confident that there are other implementations and
operating systems with similarly in accurate timer functions so
it makes sense to have applied generically and I don't believe we
sacrifice much by adding a 40ms inaccuracy on these timeouts.

14 years agofix ldaps option issue
Yang Tse [Tue, 1 Jun 2010 19:26:19 +0000 (21:26 +0200)]
fix ldaps option issue

14 years agofix ldap related compilation issues
Yang Tse [Tue, 1 Jun 2010 15:25:03 +0000 (17:25 +0200)]
fix ldap related compilation issues

14 years agofix compiler warning: enumerated type mixed with another type
Yang Tse [Tue, 1 Jun 2010 10:25:14 +0000 (12:25 +0200)]
fix compiler warning: enumerated type mixed with another type

14 years agofix compiler warning: enumerated type mixed with another type
Yang Tse [Mon, 31 May 2010 17:55:22 +0000 (19:55 +0200)]
fix compiler warning: enumerated type mixed with another type

14 years agosmtp_authenticate: avoid compiler warnings
Patrick Monnerat [Mon, 31 May 2010 15:25:55 +0000 (17:25 +0200)]
smtp_authenticate: avoid compiler warnings

14 years agofix compiler warning: enumerated type mixed with another type
Yang Tse [Mon, 31 May 2010 15:34:28 +0000 (17:34 +0200)]
fix compiler warning: enumerated type mixed with another type

14 years agofix compiler warning: enumerated type mixed with another type
Yang Tse [Mon, 31 May 2010 15:22:43 +0000 (17:22 +0200)]
fix compiler warning: enumerated type mixed with another type

14 years agofix compiler warning: enumerated type mixed with another type
Yang Tse [Mon, 31 May 2010 15:11:51 +0000 (17:11 +0200)]
fix compiler warning: enumerated type mixed with another type

14 years agofix compiler warning: external declaration in primary source file
Yang Tse [Mon, 31 May 2010 14:58:24 +0000 (16:58 +0200)]
fix compiler warning: external declaration in primary source file

14 years agofix compiler warning: variable was set but never used
Yang Tse [Mon, 31 May 2010 14:51:36 +0000 (16:51 +0200)]
fix compiler warning: variable was set but never used

14 years agofix compiler warning: enumerated type mixed with another type
Yang Tse [Mon, 31 May 2010 14:36:05 +0000 (16:36 +0200)]
fix compiler warning: enumerated type mixed with another type

14 years agofix compiler warning: external declaration in primary source file
Yang Tse [Mon, 31 May 2010 14:24:01 +0000 (16:24 +0200)]
fix compiler warning: external declaration in primary source file

14 years agoupdate year in copyright notice
Yang Tse [Mon, 31 May 2010 11:51:29 +0000 (13:51 +0200)]
update year in copyright notice

14 years agostrtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN
Kamil Dudka [Sat, 29 May 2010 19:28:16 +0000 (21:28 +0200)]
strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN

... and CURL_LLONG_MAX -> CURL_OFF_T_MAX

14 years agoCURL_LLONG_MAX: avoid constant overflow
Kamil Dudka [Sat, 29 May 2010 10:26:17 +0000 (12:26 +0200)]
CURL_LLONG_MAX: avoid constant overflow

... when (CURL_SIZEOF_CURL_OFF_T == 4)

14 years agoLDAPS: list availability depending on SSL's presence
Howard Chu [Fri, 28 May 2010 10:23:28 +0000 (12:23 +0200)]
LDAPS: list availability depending on SSL's presence

14 years agoLDAP: make it build without SSL if no such support is available
Howard Chu [Fri, 28 May 2010 10:22:35 +0000 (12:22 +0200)]
LDAP: make it build without SSL if no such support is available

of course it also goes for the case where SSL is explicitly
disabled

14 years agoTODO: removed fixed items
Daniel Stenberg [Fri, 28 May 2010 09:57:49 +0000 (11:57 +0200)]
TODO: removed fixed items

These two items are now actually implemented:

11.1 Content-Disposition
11.5 ftp wildcard download

14 years agolib: eliminate 'statement not reached' warnings
Kamil Dudka [Fri, 28 May 2010 07:45:17 +0000 (09:45 +0200)]
lib: eliminate 'statement not reached' warnings

14 years agotest1115: verify that unexpected 1xx responses work fine
Daniel Stenberg [Thu, 27 May 2010 22:55:11 +0000 (00:55 +0200)]
test1115: verify that unexpected 1xx responses work fine

14 years agolib577: avoid redefinition of ERROR
Kamil Dudka [Thu, 27 May 2010 22:50:11 +0000 (00:50 +0200)]
lib577: avoid redefinition of ERROR

14 years agotest313: a new test for CRL support
Kamil Dudka [Thu, 27 May 2010 21:45:18 +0000 (23:45 +0200)]
test313: a new test for CRL support

14 years agotests/certs: re-generated because of lost pass-phrase
Kamil Dudka [Thu, 27 May 2010 21:39:54 +0000 (23:39 +0200)]
tests/certs: re-generated because of lost pass-phrase

14 years agotests/certs/scripts: generate also CRL
Kamil Dudka [Thu, 27 May 2010 21:33:19 +0000 (23:33 +0200)]
tests/certs/scripts: generate also CRL

... and make it possible to do so without any user interaction

14 years agoopenldap: fix compiler warnings
Howard Chu [Thu, 27 May 2010 20:37:00 +0000 (22:37 +0200)]
openldap: fix compiler warnings

14 years agoindent: some whitespace edits
Daniel Stenberg [Thu, 27 May 2010 19:03:46 +0000 (21:03 +0200)]
indent: some whitespace edits

14 years agowildcard.c: add missing include of "setup.h"
Kamil Dudka [Thu, 27 May 2010 18:56:01 +0000 (20:56 +0200)]
wildcard.c: add missing include of "setup.h"

14 years agolib573: do not compare double for exact match
Tor Arntsen [Thu, 27 May 2010 18:20:08 +0000 (20:20 +0200)]
lib573: do not compare double for exact match

14 years agowildcard.c: add missing include of "curl_memory.h"
Pavel Raiskup [Thu, 13 May 2010 15:50:27 +0000 (17:50 +0200)]
wildcard.c: add missing include of "curl_memory.h"

14 years agosetup_once: use enum type for 'bool' on non-C99 platforms
Tor Arntsen [Thu, 27 May 2010 14:58:15 +0000 (16:58 +0200)]
setup_once: use enum type for 'bool' on non-C99 platforms

An enum will catch non-bool assignments to bool on platforms with
a strict compiler, e.g MIPSPro.

Signed-off-by: Kamil Dudka <kdudka@redhat.com>
14 years agourl.c: avoid implied cast to bool
Kamil Dudka [Wed, 26 May 2010 09:12:26 +0000 (11:12 +0200)]
url.c: avoid implied cast to bool

14 years agocurl_fnmatch: remove use of register keyword
Tor Arntsen [Thu, 27 May 2010 14:34:57 +0000 (16:34 +0200)]
curl_fnmatch: remove use of register keyword

Using the 'register' keyword rarely improves anything with modern
compilers and architectures.

14 years agoRTMP: Fix compiler warnings
Julien Chaffraix [Tue, 25 May 2010 13:43:41 +0000 (06:43 -0700)]
RTMP: Fix compiler warnings

14 years agoOOM fixes in http_negociate.c and lib/splay.c
Julien Chaffraix [Tue, 25 May 2010 13:53:48 +0000 (06:53 -0700)]
OOM fixes in http_negociate.c and lib/splay.c

Fix 2 OOM errors: a missing NULL-check in lib/http_negociate.c
and a potential NULL dereferencing in lib/splay.c

14 years agoLDAP: properly implemented as a curl_handler
Howard Chu [Mon, 24 May 2010 22:44:42 +0000 (00:44 +0200)]
LDAP: properly implemented as a curl_handler

makes the LDAP code much cleaner, nicer and in general being a
better libcurl citizen. If a new enough OpenLDAP version is
detect, the new and shiny lib/openldap.c code is then used
instead of the old cruft

Code by Howard, minor cleanups by Daniel.

14 years agocurl_fnmatch: Use int not bool when function returns int
Tor Arntsen [Fri, 21 May 2010 14:21:44 +0000 (14:21 +0000)]
curl_fnmatch: Use int not bool when function returns int

bool in curl internals is unsigned char and should not be used
to receive return value from functions returning int - this fails
when using IBM VisualAge and Tru64 compilers.

14 years agoTFTP: send legal timeout value
Daniel Stenberg [Fri, 21 May 2010 21:29:52 +0000 (23:29 +0200)]
TFTP: send legal timeout value

Eric Mertens posted bug #3003705: when we made TFTP use the
correct timeout option when sent to the server (fixed May 18th
2010) it became obvious that libcurl used invalid timeout values
(300 by default while the RFC allows nothing above 255). While of
course it is obvious that as TFTP has worked thus far without
being able to set timeout at all, just removing the setting
wouldn't make any difference in behavior. I decided to still keep
it (but fix the problem) as it now actually allows for easier
(future) customization of the timeout.

(http://curl.haxx.se/bug/view.cgi?id=3003705)

14 years agoTFTP: don't ack if wrong block num is received
Daniel Stenberg [Fri, 21 May 2010 21:07:59 +0000 (23:07 +0200)]
TFTP: don't ack if wrong block num is received

If an unexpected block number was received, break out of the
switch loop.

14 years agoTFTP: block id wrap bug fix
Daniel Stenberg [Fri, 21 May 2010 21:04:15 +0000 (23:04 +0200)]
TFTP: block id wrap bug fix

In a normal expression, doing [unsigned short] + 1 will not wrap
at 16 bits so the comparisons and outputs were done wrong. I
added a macro do make sure it gets done right.

Douglas Kilpatrick filed bug report #3004787 about it:
http://curl.haxx.se/bug/view.cgi?id=3004787

14 years agoFix build warnings.
Ben Greear [Thu, 20 May 2010 18:15:52 +0000 (20:15 +0200)]
Fix build warnings.

Signed-off-by: Ben Greear <greearb@candelatech.com>
14 years agosetopt: Fix setting of set.is_fwrite_set
Ben Greear [Thu, 20 May 2010 18:15:51 +0000 (20:15 +0200)]
setopt: Fix setting of set.is_fwrite_set

Signed-off-by: Ben Greear <greearb@candelatech.com>
14 years agobuild: allow curl to build with Microsoft VC10
Tanguy Fautre [Thu, 20 May 2010 20:40:48 +0000 (22:40 +0200)]
build: allow curl to build with Microsoft VC10

By undefing a bunch of E* defines that VC10 has started to define
but that we redefine internally to their WSA* alternatives when
building for Windows.

14 years agoTest 573: Use correct type for CURLINFO_CONNECT_TIME
Tor Arntsen [Thu, 20 May 2010 14:33:29 +0000 (16:33 +0200)]
Test 573: Use correct type for CURLINFO_CONNECT_TIME

curl_easy_getinfo() called with a pointer to long instead of double
would sigbus on RISC processors (e.g. MIPS) due to wrong alignment
of pointer address.

14 years agolib: Fix AIX build failure
Tor Arntsen [Wed, 19 May 2010 14:26:08 +0000 (14:26 +0000)]
lib: Fix AIX build failure

14 years agoFixed some memory leaks in the POP3 torture tests
Dan Fandrich [Wed, 19 May 2010 19:18:06 +0000 (12:18 -0700)]
Fixed some memory leaks in the POP3 torture tests

14 years agoFixed a memory leak in the SMTP torture tests
Dan Fandrich [Tue, 18 May 2010 21:44:19 +0000 (14:44 -0700)]
Fixed a memory leak in the SMTP torture tests

14 years agoTFTP: send timeout option correctly
Daniel Stenberg [Tue, 18 May 2010 21:14:00 +0000 (23:14 +0200)]
TFTP: send timeout option correctly

Eric Mertens posted bug report #3003005 pointing out that the
libcurl TFTP code was not sending the timeout option properly to
the server, and suggested a fix.

(http://curl.haxx.se/bug/view.cgi?id=3003005)

14 years agolib: Change some CRLF line endings to LF
Tor Arntsen [Sun, 16 May 2010 20:01:17 +0000 (22:01 +0200)]
lib: Change some CRLF line endings to LF

An update had added a couple of lines with DOS line endings,
and some compilers will choke on that (e.g. the Tru64 compiler).

14 years agoftp wildcard: a new option CURLOPT_FNMATCH_DATA
Kamil Dudka [Sun, 16 May 2010 00:49:08 +0000 (02:49 +0200)]
ftp wildcard: a new option CURLOPT_FNMATCH_DATA

14 years agoRMTP: the version code is now rtmp aware
Howard Chu [Sat, 15 May 2010 20:13:17 +0000 (22:13 +0200)]
RMTP: the version code is now rtmp aware