Yang Tse
d61688923d
fix compiler warning: enumerated type mixed with another type
2008-09-30 12:50:52 +00:00
Yang Tse
4aee6822ca
now compiler warnings are activated for all gcc builds, not only debug ones.
2008-09-30 12:39:54 +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
Yang Tse
beb14ca6d6
Use CFLAGS for icc linker options instead of LDFLAGS,
...
otherwise gethostbyname() is not detected.
2008-09-30 02:59:35 +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
Dan Fandrich
372203f1fa
Added "HTTP proxy" and "proxytunnel" keywords where applicable
2008-09-29 22:44:04 +00:00
Daniel Stenberg
691468174b
177 - "[Patch] Disable proxy support" was applied
2008-09-29 21:49:31 +00:00
Daniel Stenberg
6f8d439717
spell!
2008-09-29 21:49:10 +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
Yang Tse
9f8c40ed78
use ac_cv_compiler and ac_cv_compiler_num to keep compiler ID and version number
2008-09-29 19:14:52 +00:00
Yang Tse
cda9d7e579
Temporary icc adjustment:
...
Disable floating point optimizations
2008-09-29 16:09:31 +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
003afef541
175 - "No info on REDIRECT_URL in multi-mode" by Max Ivanov is fixed!
2008-09-29 13:16:16 +00:00
Daniel Stenberg
09bbca2f61
credit Maxim Ivanov
2008-09-29 12:36:47 +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
Daniel Stenberg
31626d4c6f
three more patches in the pipe
2008-09-29 06:07:20 +00:00
Dan Fandrich
426ec2d399
Fixed a few comment typos
2008-09-26 19:55:12 +00:00
Yang Tse
a632f6d5b1
if a test execution is aborted due to a signal, and the process
...
returns no other exitcode, use 2000 + signal number as return code
2008-09-26 18:56:56 +00:00
Yang Tse
83c199bb00
siginterrupt, signal and sigsetjmp checks
2008-09-26 18:28:32 +00:00
Daniel Stenberg
2ec6d08613
more
2008-09-26 18:17:01 +00:00
Yang Tse
42271ad463
use shift right. Division result is not integral.
2008-09-26 14:08:33 +00:00
Yang Tse
57ee847ce7
Avoid the use of the '? :' operator inside the call to our
...
test-server logging function. It doesn't work on some systems.
2008-09-26 11:21:22 +00:00
Yang Tse
985bd18904
attempt to avoid HTTP server startup misdetection on some systems
2008-09-26 01:08:24 +00:00
Yang Tse
2d1f798d14
fix potential buffer overflow in test-server logging function
2008-09-26 00:17:01 +00:00
Daniel Stenberg
9e9f70a693
give proper credit!
2008-09-25 22:35:57 +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
142cb601f8
HAVE_INET_NTOP will only be defined when an IPv6 capable working
...
inet_ntop function is available.
2008-09-24 16:43:12 +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
006cab3e9e
temporarily enable CURL_CHECK_FUNC_INET_NTOA_R
2008-09-24 12:38:11 +00:00
Yang Tse
4e909ee8b1
ntoa() and inet_ntoa_r() no longer used
2008-09-24 12:22:16 +00:00
Daniel Stenberg
95df5d042c
4.16 My HTTP POST or PUT requests are slow!
2008-09-24 07:50:46 +00:00
Daniel Stenberg
22059858fe
Added "5.14 Using C++ non-static functions for callbacks?"
2008-09-24 07:39:42 +00:00
Yang Tse
82107a02f5
Re-enable test #100 on i686 icc autobuilds
2008-09-24 01:29:23 +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
821d8fee3b
172 was applied, 173 is now being discussed
2008-09-23 11:31:57 +00:00
Daniel Stenberg
42224594b6
remove the entire comment now when we no longer set TZ
2008-09-23 11:02:56 +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
a5f4cfc612
issue #171 is now in CVS
2008-09-23 10:27:41 +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