Daniel Johnson
3cd5b1cfb0
Fix warnings for clang
2010-03-22 19:44:45 +01:00
Daniel Stenberg
6572514ae5
Merge branch 'master' of github.com:bagder/curl
2010-03-22 09:51:52 +01:00
douglas steinwand
abcea311e3
Fix insufficient initialization in Curl_clone_ssl_config()
...
which could have caused a double free when reusing curl handle.
2010-03-22 09:25:03 +01:00
Daniel Stenberg
c8bfb9e58a
we never used this file anyway
2010-03-22 00:42:06 +01:00
Daniel Stenberg
9599837e63
s/CVS/git
2010-03-22 00:41:34 +01:00
Daniel Stenberg
1609685fc2
various changes of CVS to git
2010-03-22 00:34:09 +01:00
Daniel Stenberg
e1d6034977
remove references to CVS in the code and use DEV instead
2010-03-22 00:26:29 +01:00
Daniel Stenberg
3d3900f032
Ben Greear's two fixes explained
2010-03-21 23:34:29 +01:00
Ben Greear
ad76d58e7f
Fix tftp return codes and tsize upload handling
...
Error codes were not properly returned to the main curl code (and on to apps
using libcurl).
tftp was crapping out when tsize == 0 on upload, but I see no reason to fail
to upload just because the remote file is zero-length. Ignore tsize option on
upload.
2010-03-21 23:24:36 +01:00
Daniel Stenberg
930742776a
more files to ignore
2010-03-21 00:21:34 +01:00
Daniel Stenberg
b40acd8009
provide an initial set of .gitignore files
2010-03-20 23:35:45 +01:00
Kamil Dudka
19ca0c0fbe
- Improved Curl_read() to not ignore the error returned from Curl_ssl_recv().
2010-03-19 15:43:11 +00:00
Daniel Stenberg
6728334edb
fix warning about conversions between curl_off_t and long
2010-03-18 21:52:31 +00:00
Yang Tse
749fd2f9e9
another shot at the ftp_init() icc 9.1 optimizer issue
2010-03-18 17:37:00 +00:00
Yang Tse
d9291eb4b8
replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
2010-03-17 10:44:28 +00:00
Yang Tse
8d6e8e00e1
update outdated serial number
2010-03-17 10:39:07 +00:00
Dan Fandrich
12bb308cab
Factored out some code into a few independent functions
2010-03-16 05:18:21 +00:00
Daniel Stenberg
733f794cb8
- Constantine Sapuntzakis brought a patch:
...
The problem mentioned on Dec 10 2009
(http://curl.haxx.se/bug/view.cgi?id=2905220 ) was only partially fixed.
Partially because an easy handle can be associated with many connections in
the cache (e.g. if there is a redirect during the lifetime of the easy
handle). The previous patch only cleaned up the first one. The new fix now
removes the easy handle from all connections, not just the first one.
2010-03-15 22:40:42 +00:00
Yang Tse
52cd332b95
fix compiler warning
2010-03-11 18:53:42 +00:00
Dan Fandrich
3709ffc700
SSL should now be working out-of-the-box on Symbian S60.
2010-03-11 06:59:16 +00:00
Dan Fandrich
e37d1b1ee3
Enable Symbian zlib support by default.
2010-03-11 06:58:36 +00:00
Dan Fandrich
c7e647b88a
Allow compilation even when OpenSSL has been configured without MD4 support.
2010-03-11 06:57:33 +00:00
Dan Fandrich
5bb8bbed1e
A few Symbian build changes
2010-03-10 06:55:23 +00:00
Yang Tse
a09be6410f
watt32 compilation fix
2010-03-09 17:59:35 +00:00
Daniel Stenberg
e262aaae2b
- Ben Greear brought a patch that fixed the rate limiting logic for TFTP when
...
the easy interface was used.
2010-03-06 18:42:06 +00:00
Daniel Stenberg
a0c3edcc37
indent fix by Ben Greear, I removed some braces for single-line conditional
...
expressions
2010-03-06 18:39:45 +00:00
Yang Tse
a24a67bd1e
Added another VS10 version string
2010-03-06 10:52:56 +00:00
Yang Tse
3036abb90c
fix line break
2010-03-06 02:33:25 +00:00
Yang Tse
2e9eb1a2ac
removed usage of 's6_addr', fixing compilation issue triggered with no
...
longer using 'in6_addr' but only our 'ares_in6_addr' struct
2010-03-06 01:23:09 +00:00
Daniel Stenberg
f5d8c0befc
Daniel Johnson provided fixes for building with the clang compiler
2010-03-05 22:53:30 +00:00
Yang Tse
21f331ead2
Added IPv6 name servers support
2010-03-05 20:01:47 +00:00
Gisle Vanem
f933747088
Ops!. Readded ares_nowarn.h.
2010-03-05 18:45:17 +00:00
Gisle Vanem
ce54bd113b
Added ares_nowarn.c.
2010-03-05 18:21:56 +00:00
Yang Tse
f4551a9678
Constantine Sapuntzakis detected and fixed a double free in builds done
...
with threaded resolver enabled (Windows default configuration) that would
get triggered when a curl handle is closed while doing DNS resolution.
2010-03-05 03:15:19 +00:00
Yang Tse
52f088ec1b
Added SIZEOF_INT and SIZEOF_SHORT definitions for VMS configuration file
2010-03-05 02:14:19 +00:00
Daniel Stenberg
a0fba2f66b
Julien Chaffraix clarified CURLOPT_HEADERFUNCTION and made
...
CURLOPT_HEADERFUNCTION and CURLOPT_WRITEFUNCTION more consistent
2010-03-04 16:06:00 +00:00
Daniel Stenberg
013d5a72d4
- [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and
...
ran into some issues with the GSSAPI tests in configure.ac. The tests first
try to determine the include dirs and libs and set CPPFLAGS and LIBS
accordingly. It then checks for the headers and finally sets LIBS a second
time, causing the libs to be included twice. The first setting of LIBS seems
redundant and should be left out, since the first part is otherwise just
about finding headers.
My second issue is that 'krb5-config --libs gssapi' on Darwin is less than
useless and returns junk that, while it happens to work with gcc, causes
clang to choke. For example, --libs returns $CFLAGS along with the libs,
which is really retarded. Simply setting 'LIBS="$LIBS -lgssapi_krb5
-lresolv"' on Darwin is sufficient.
2010-03-02 22:02:56 +00:00
Daniel Stenberg
9b2cce236f
- Based on patch provided by Jacob Moshenko, the transfer logic now properly
...
makes sure that when using sub-second timeouts, there's no final bad 1000ms
wait. Previously, a sub-second timeout would often make the elapsed time end
up the time rounded up to the nearest second (e.g. 1s for 200ms timeout)
2010-03-02 21:20:22 +00:00
Daniel Stenberg
cd465e4ada
update the generic copyright year range to include 2010
2010-03-02 13:47:58 +00:00
Daniel Stenberg
6bf071df7e
- Andrei Benea filed bug report #2956698 and pointed out that the
...
CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function
call. He provided the patch to fix it too.
http://curl.haxx.se/bug/view.cgi?id=2956698
2010-03-02 13:41:18 +00:00
Daniel Stenberg
7c028a8332
- Markus Duft pointed out in bug #2961796 that even though Interix has a
...
poll() function it doesn't quite work the way we want it so we must disable
it, and he also provided a patch for it.
http://curl.haxx.se/bug/view.cgi?id=2961796
2010-03-02 13:34:57 +00:00
Daniel Stenberg
13ac29382f
- Made the pingpong timeout code properly deal with the response timeout AND
...
the global timeout if set. Also, as was reported in the bug report #2956437
by Ryan Chan, the time stamp to use as basis for the per command timeout was
not set properly in the DONE phase for FTP (and not for SMTP) so I fixed
that just now. This was a regression compared to 7.19.7 due to the
conversion of FTP code over to the generic pingpong concepts.
http://curl.haxx.se/bug/view.cgi?id=2956437
2010-03-02 13:26:23 +00:00
Daniel Stenberg
8719398d05
remove assignment never used
2010-03-02 13:05:02 +00:00
Daniel Stenberg
53aa6b21fe
- Ben Greear provided an update for TFTP that fixes upload.
2010-03-01 22:14:47 +00:00
Daniel Stenberg
7842704ee7
SSL, not SSH, SSL
2010-03-01 22:10:55 +00:00
Daniel Stenberg
496002ea1c
- Wesley Miaw reported bug #2958179 which identified a case of looping during
...
OpenSSL based SSL handshaking even though the multi interface was used and
there was no good reason for it.
http://curl.haxx.se/bug/view.cgi?id=2958179
2010-03-01 21:59:07 +00:00
Yang Tse
1a1ffb10d0
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
2010-02-28 02:51:35 +00:00
Yang Tse
2a056ba49e
Added ares_nowarn.* to VC6 project file
2010-02-28 02:50:51 +00:00
Daniel Stenberg
eef316f099
spellchecked by Stéphane Fillod
2010-02-26 22:58:24 +00:00
Daniel Stenberg
03a57308b9
- Pat Ray in bug #2958474 pointed out an off-by-one case when receiving a
...
chunked-encoding trailer.
http://curl.haxx.se/bug/view.cgi?id=2958474
2010-02-26 22:55:30 +00:00