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