Daniel Stenberg
04e6568a7e
SCP upload done non-blocking
2007-02-07 22:00:33 +00:00
Yang Tse
77fcad041f
fix for millisecond resolution timeouts
2007-02-06 18:08:11 +00:00
Yang Tse
e213555c98
compiler warning fix
2007-02-06 18:06:37 +00:00
Daniel Stenberg
028a9d6785
read SFTP with the non-blocking API
2007-02-06 15:41:19 +00:00
Yang Tse
d0aca8017f
compiler warning fix
2007-02-06 03:31:27 +00:00
Daniel Stenberg
91386937ff
- Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS
...
and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the
timeouts with millisecond resolution instead. The only restriction to that
is the alarm() (sometimes) used to abort name resolves as that uses full
seconds. I fixed the FTP response timeout part of the patch.
Internally we now count and keep the timeouts in milliseconds but it also
means we multiply set timeouts with 1000. The effect of this is that no
timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which
equals 24.86 days. We probably couldn't before either since the code did
*1000 on the timeout values on several places already.
2007-02-05 22:51:32 +00:00
Yang Tse
bc2183b440
compiler warning fix
2007-02-05 04:10:32 +00:00
Gisle Vanem
6a175b42db
Suppress warning "'nread' might be used uninitialized in this function".
2007-02-04 12:18:22 +00:00
Yang Tse
82f52e5a6f
compiler warning fix
2007-02-03 13:05:28 +00:00
Daniel Stenberg
138b4f27b4
- Manfred Schwarb reported that socks5 support was broken and help us pinpoint
...
the problem. The code now tries harder to use httproxy and proxy where
apppropriate, as not all proxies are HTTP...
2007-02-03 09:33:54 +00:00
Yang Tse
c26ec47e90
compiler warning fix
2007-02-02 17:16:06 +00:00
Yang Tse
ef6f24a7ce
move DEBUGF macro definition to setup_once.h
2007-02-02 15:31:32 +00:00
Daniel Stenberg
abe90019d3
prefer using the (upcoming) non-blocking libssh2 API
2007-02-02 15:26:57 +00:00
Yang Tse
d2dd3d7e16
compiler warning fix
2007-02-01 15:36:56 +00:00
Gisle Vanem
1c63ceb317
Suppress the "'convbuf' might be used uninitialized in this function" warning.
2007-02-01 12:23:00 +00:00
Yang Tse
c25283185a
fogot to change Curl_mk_connc in header file
2007-02-01 11:27:42 +00:00
Yang Tse
54db98c220
compiler warning fix
2007-02-01 01:42:13 +00:00
Yang Tse
49c4d9c9cd
add debug messages for initialization failures
2007-01-31 19:47:49 +00:00
Gisle Vanem
e994c6af75
Use DOS line-endings.
2007-01-29 19:08:04 +00:00
Daniel Stenberg
abdbd3100f
- Michael Wallner reported that when doing a CONNECT with a custom User-Agent
...
header, you got _two_ User-Agent headers in the CONNECT request...! Added
test case 287 to verify the fix.
2007-01-29 09:26:36 +00:00
Gunter Knauf
ddace02efe
fixed segfault when compiled with MingW32 and cmd or command shell.
2007-01-29 00:51:02 +00:00
Daniel Stenberg
1f4c8c4f09
Andreas Rieke added extra infof() for when a connection is not re-used due to
...
SSL conditions not being the same
2007-01-28 22:45:22 +00:00
Daniel Stenberg
8162b32bad
silence compiler warnings
2007-01-28 22:36:23 +00:00
Gunter Knauf
daf527b276
enabled build with sspi.
2007-01-28 21:54:10 +00:00
Gunter Knauf
ee51c07be6
enabled build with hardcoded ca-bundle path;
...
added distclean target.
2007-01-28 15:31:06 +00:00
Gunter Knauf
856ba4c6c6
force to create ca-bunde.h even if it exists already.
2007-01-28 15:07:53 +00:00
Gunter Knauf
b3e23373bd
use var for awk.
2007-01-28 14:43:25 +00:00
Daniel Stenberg
e5adab39b1
curl_easy_reset() now resets the CA bundle path correctly
2007-01-28 12:58:13 +00:00
Gunter Knauf
d31153584e
another small fix to directory listing output; disabled CURL_LIBSSH2_DEBUG.
2007-01-28 12:35:39 +00:00
Gunter Knauf
a79e5d7925
fix sftp directory listing so that it works without -v and is redirectable with -o/-O.
2007-01-27 12:14:02 +00:00
Gunter Knauf
82491d5c06
tell us what we put out here...
2007-01-27 11:50:42 +00:00
Yang Tse
b6f889085d
update copyright year notice
2007-01-27 03:43:05 +00:00
Yang Tse
cdbbb7d900
Compiler warning fix
2007-01-27 03:14:25 +00:00
Yang Tse
f1918aa343
sync comment with reality
2007-01-27 01:56:20 +00:00
Dan Fandrich
e6aed92742
Fixed compiler warning.
2007-01-26 17:50:06 +00:00
Gunter Knauf
5f5a28d20e
added project header to lib resource file; fixed header copyright.
2007-01-26 08:53:03 +00:00
Daniel Stenberg
2b280bcc69
fix compiler warnings for SSL-disabled builds
2007-01-25 21:00:03 +00:00
Gunter Knauf
83a43bea8a
removed unused define.
2007-01-25 15:00:01 +00:00
Gunter Knauf
2b7bcf2505
fixed copyright for new year.
2007-01-25 13:17:20 +00:00
Gunter Knauf
4b27fae069
enabled build with libssh2.
2007-01-25 13:14:42 +00:00
Daniel Stenberg
10a13eba72
fix non-SSL builds again
2007-01-25 11:09:56 +00:00
Dan Fandrich
44ac2776ae
Fixed a dangling pointer problem that prevented the http_proxy environment
...
variable from being properly used in many cases (and caused test case 63
to fail).
2007-01-25 01:35:43 +00:00
Gunter Knauf
36e3e6ed16
removed not used define.
2007-01-25 00:26:29 +00:00
Dan Fandrich
5f9cbc4209
Only shut down SSL if the CCC command succeeded.
2007-01-24 19:09:12 +00:00
Daniel Stenberg
3239f059b8
moved the SSL pending function to the proper place and name
2007-01-24 17:19:08 +00:00
Daniel Stenberg
45bac25d90
bail out on strdup() errors
2007-01-24 12:34:23 +00:00
Daniel Stenberg
354c8dcd82
- David McCreedy did NTLM changes mainly for non-ASCII platforms:
...
#1
There's a compilation error in http_ntlm.c if USE_NTLM2SESSION is NOT
defined. I noticed this while testing various configurations. Line 867 of
the current http_ntlm.c is a closing bracket for an if/else pair that only
gets compiled in if USE_NTLM2SESSION is defined. But this closing bracket
wasn't in an #ifdef so the code fails to compile unless USE_NTLM2SESSION was
defined. Lines 198 and 140 of my patch wraps that closing bracket in an
#ifdef USE_NTLM2SESSION.
#2
I noticed several picky compiler warnings when DEBUG_ME is defined. I've
fixed them with casting. By the way, DEBUG_ME was a huge help in
understanding this code.
#3
Hopefully the last non-ASCII conversion patch for libcurl in a while. I
changed the "NTLMSSP" literal to hex since this signature must always be in
ASCII.
Conversion code was strategically added where necessary. And the
Curl_base64_encode calls were changed so the binary "blobs" http_ntlm.c
creates are NOT translated on non-ASCII platforms.
2007-01-23 22:57:42 +00:00
Daniel Stenberg
9e1aef7183
very minor indent change
2007-01-23 22:13:05 +00:00
Gunter Knauf
9ab7cda010
enabled build with libssh2; fixed copyright for new year..
2007-01-23 00:26:45 +00:00
Gisle Vanem
7b704e173c
Supress "comparison between signed and unsigned" warning.
2007-01-17 15:15:21 +00:00