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
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
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
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
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
31e2409d6b
Ray Pekowski filed bug report #1842029
2007-12-03 22:44:47 +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
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
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
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
df546bd58c
Added recent changes and spellchecked
2007-11-26 11:04:51 +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
ecfede9b3c
Alessandro Vesely helped me improve the --data-urlencode's syntax, parser
...
and documentation.
2007-11-22 09:36:28 +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
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
c80b9c3778
Rob Crittenden fixed SSL connections with NSS done with the multi-interface
2007-11-18 09:45:05 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Daniel Stenberg
30c85c327b
7.17.1!
2007-10-29 14:49:11 +00:00
Dan Fandrich
faaaf62655
Added the --static-libs option to curl-config
2007-10-25 22:30:35 +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
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
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
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
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
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