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