Yang Tse
d61688923d
fix compiler warning: enumerated type mixed with another type
2008-09-30 12:50:52 +00:00
Daniel Stenberg
038542ea3e
- The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZE
...
gets a 550 response back for the cases where a download (or NOBODY) is
wanted. It still allows a 550 as response if the SIZE is used as part of an
upload process (like if resuming an upload is requested and the file isn't
there before the upload). I also modified the FTP test server and a few test
cases accordingly to match this modified behavior.
2008-09-30 09:51:58 +00:00
Dan Fandrich
4114129ac0
Fixed a couple of compile warnings.
2008-09-29 23:45:43 +00:00
Dan Fandrich
6d24719167
Made the month days table static const
2008-09-29 23:22:41 +00:00
Dan Fandrich
2393c94363
Fixed a compile problem with --disable-proxy
2008-09-29 22:45:25 +00:00
Daniel Stenberg
f3ab5d5500
- Daniel Egger provided a patch that allows you to disable proxy support in
...
libcurl to somewhat reduce the size of the binary. Run configure
--disable-proxy.
2008-09-29 21:46:04 +00:00
Dan Fandrich
8f467b4288
Removed unneeded includes of signal.h and setjmp.h
2008-09-29 21:44:50 +00:00
Dan Fandrich
4adcf7e9ed
Moved all signal-based name resolution timeout handling into a single new
...
Curl_resolv_timeout function to reduce coupling.
2008-09-29 21:02:22 +00:00
Daniel Stenberg
c27d2d4b93
- Ian Lynagh provided a patch that now makes CURLOPT_RANGE work fine for SFTP
...
downloads!
2008-09-29 13:21:21 +00:00
Daniel Stenberg
0a305eb79f
- Bug #2107803 ( http://curl.haxx.se/bug/view.cgi?id=2107803 ) "no
...
CURLINFO_REDIRECT_URL in multi mode" also contained a patch that fixed the
problem.
2008-09-29 12:22:10 +00:00
Daniel Stenberg
aff5408633
made Curl_read_plain() return an 'int' instead of CURLcode since it actually
...
returns -1 in EAGAIN cases and that's not valid CURLcode
2008-09-29 11:13:37 +00:00
Dan Fandrich
426ec2d399
Fixed a few comment typos
2008-09-26 19:55:12 +00:00
Daniel Stenberg
1b9d311b5c
- Fixed the HTTP Digest auth code to not behave badly when getting a blank realm
...
with realm="". http://curl.haxx.se/bug/view.cgi?id=2126435
2008-09-25 14:09:22 +00:00
Yang Tse
4d437416da
HAVE_INET_PTON will only be defined when an IPv6 capable working
...
inet_pton function is available.
2008-09-24 19:13:01 +00:00
Yang Tse
267b942383
configure script now checks availability of the inet_ntop() function,
...
and when not crosscompiling verifies if it is IPv6 capable.
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
2008-09-24 16:43:40 +00:00
Yang Tse
21b523fcd3
Official OpenSSL released versions up to and including 0.9.8i as well as
...
2008-09-24 stable snapshot have a buf_mem_st.length structure member with
'int' data type.
OpenSSL un-released 0.9.9 CVS version has a buf_mem_st.length structure member
with 'size_t' data type since 2007-Oct-09.
These 4 typecasts should silence compiler warnings in all cases.
2008-09-24 13:55:23 +00:00
Yang Tse
4e909ee8b1
ntoa() and inet_ntoa_r() no longer used
2008-09-24 12:22:16 +00:00
Dan Fandrich
515893595d
Make sure not to dereference the wrong UrlState proto union member when
...
switching from one protocol to another in a single request (e.g.
redirecting from HTTP to FTP as in test 1055) by resetting
state.expect100header before every request.
2008-09-24 01:08:01 +00:00
Yang Tse
3800be3898
Remove usage of inet_ntoa and inet_ntoa_r
2008-09-23 19:17:19 +00:00
Yang Tse
c9ad952604
Replace inet_ntoa and inet_ntoa_r with Curl_inet_ntop
2008-09-23 19:16:56 +00:00
Gisle Vanem
2a09ffc648
Avoid 'warning: comparison between signed and unsigned'.
2008-09-23 13:16:36 +00:00
Daniel Stenberg
d369a2b775
- Introducing Jamie Lokier's function for date to epoch conversion used in the
...
date parser function. This makes our function less dependent on system-
provided functions and instead we do all the magic ourselves. We also no
longer depend on the TZ environment variable.
2008-09-23 11:00:01 +00:00
Daniel Stenberg
23e5402bec
- Rob Crittenden brought a patch to "add some locking for thread-safety to NSS
...
implementation".
2008-09-23 10:27:04 +00:00
Daniel Stenberg
391e8afd1f
- Made the SOCKS code use the new Curl_read_plain() function to fix the bug
...
Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html
- recv() errors other than those equal to EAGAIN now cause proper
CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now
disabled it until we can figure out another way to exercise that logic.
2008-09-22 23:12:00 +00:00
Daniel Stenberg
c4a694862c
- Michael Goffioul filed bug report #2107377 "Problem with mutli + GnuTLS +
...
proxy" (http://curl.haxx.se/bug/view.cgi?id=2107377 ) that showed how a multi
interface using program didn't work when built with GnuTLS and a CONNECT
request was done over a proxy (basically test 502 over a proxy to a HTTPS
site). It turned out the ssl connect function would get called twice which
caused the second call to fail.
2008-09-22 20:42:13 +00:00
Yang Tse
19bc92289d
HAVE_ALARM definition for static config-*.h files
2008-09-19 23:51:16 +00:00
Yang Tse
4e4f6c1ec8
configure script now checks availability of the alarm() function
2008-09-19 18:39:24 +00:00
Dan Fandrich
459e67b2a7
Only define alarmfunc when signals are used
2008-09-19 17:46:59 +00:00
Dan Fandrich
dfa0fd5b33
Don't bother to install a SIGALRM handler unless alarm() is available.
...
Also, leave the existing SIGALRM handler alone if the timeout is too small
to handle.
2008-09-19 00:43:51 +00:00
Yang Tse
f7ef60c13f
fix compiler warning: external definition with no prior declaration
2008-09-18 19:17:28 +00:00
Yang Tse
a6c915aab9
fix compiler warning: external declaration in primary source file
2008-09-18 16:21:09 +00:00
Yang Tse
7d7f63059a
NetWare seems to have writev()
2008-09-16 18:23:16 +00:00
Yang Tse
ee5f13cb6b
NetWare CLIB target has stricmp() and strnicmp()
2008-09-16 01:21:04 +00:00
Dan Fandrich
849318138e
Note that the long long issue is fixed in Symbian OS 9.4
2008-09-15 18:24:23 +00:00
Yang Tse
842de91168
HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32
2008-09-15 14:57:56 +00:00
Yang Tse
4c621bc697
improve detection of:
...
strcasecmp()
strcasestr()
strcmpi()
stricmp()
strlcat()
strncasecmp()
strncmpi()
strnicmp()
2008-09-15 00:32:08 +00:00
Yang Tse
651dad0cc1
fix compiler warning: external declaration in primary source file
2008-09-13 16:37:16 +00:00
Yang Tse
f591ab3ba0
fix compiler warning: defined but not used
2008-09-13 15:59:14 +00:00
Yang Tse
61c0bdb09c
fix compiler warning: external declaration in primary source file
2008-09-13 03:49:33 +00:00
Yang Tse
89367d47a8
Disable tracking of fdopen() calls in the low-level memory leak tracking
...
code when fdopen() is not available, to avoid compiler error.
2008-09-13 03:45:03 +00:00
Yang Tse
7fdfd938e0
remove dead code portion inoperative long time ago
2008-09-13 01:54:45 +00:00
Yang Tse
adb974960d
fix compiler warning: enumerated type mixed with another type
2008-09-13 01:12:07 +00:00
Yang Tse
aac739ccd2
ANSI C compatibility adjustment
2008-09-12 11:18:17 +00:00
Yang Tse
c3d1b07c45
ensure that errno is not modified inside Curl_strerror()
2008-09-12 10:51:57 +00:00
Yang Tse
2bcd13aaee
ANSI C compatibility fix
2008-09-12 03:24:27 +00:00
Dan Fandrich
6cea51585f
Checked in some code improvements and minor fixes that I discovered in the
...
FreeBSD ports system.
2008-09-10 20:05:45 +00:00
Yang Tse
a834b98232
fix compiler warning
2008-09-10 13:39:35 +00:00
Dan Fandrich
152cf6325d
Checked in some grammatical and minor other fixes in the documentation and
...
examples that I found in the FreeBSD ports system.
2008-09-10 07:11:45 +00:00
Dan Fandrich
c98ab69cc7
Factored out Curl_isalnum
2008-09-09 21:15:50 +00:00
Yang Tse
2ef72f7abb
fix compiler warning
2008-09-08 19:34:58 +00:00