Yang Tse
9cea2dfb8f
fix compiler warning: dereferencing type-punned pointer will break strict-aliasing rules
2008-10-02 14:44:18 +00:00
Yang Tse
26a651f7ae
fix compiler warning: variable' might be clobbered by
longjmp' or `vfork'
2008-10-02 13:28:10 +00:00
Yang Tse
ac0e0351a0
runtests.pl enables picky compiler warnings unless explicitly disabled
2008-10-02 03:59:25 +00:00
Dan Fandrich
88513d2d1a
Fixed some compiler warnings with gcc
2008-10-01 17:34:24 +00:00
Dan Fandrich
d3fdbe48ae
Added "HTTP proxy" keyword
2008-09-30 17:18:27 +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
372203f1fa
Added "HTTP proxy" and "proxytunnel" keywords where applicable
2008-09-29 22:44:04 +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
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
Yang Tse
82107a02f5
Re-enable test #100 on i686 icc autobuilds
2008-09-24 01:29:23 +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
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
de48e4e4df
better description
2008-09-22 21:33:18 +00:00
Yang Tse
1e076a4ae0
Re-enable tests #1 on i686 icc autobuilds
2008-09-22 18:55:42 +00:00
Dan Fandrich
abe61b9926
Fixed test 539 to handle an out of memory condition that shows up now
...
that memdebug.h is included in the test programs.
2008-09-22 17:20:29 +00:00
Yang Tse
2b767161da
fix compiler warning: defined but not used
2008-09-21 04:02:13 +00:00
Yang Tse
7c9631081d
fix compiler warning: external declaration in primary source file
2008-09-21 03:48:25 +00:00
Yang Tse
b6f29bef06
fix compiler warning: defined but not used
2008-09-21 02:35:20 +00:00
Yang Tse
fe5f448015
fix compiler warning: external definition with no prior declaration
2008-09-20 12:33:02 +00:00
Yang Tse
7beb473a3d
include "memdebug.h"
2008-09-20 04:26:55 +00:00
Yang Tse
f7ef60c13f
fix compiler warning: external definition with no prior declaration
2008-09-18 19:17:28 +00:00
Yang Tse
8b2bfa4212
fix compiler warning: external definition with no prior declaration
2008-09-18 19:02:40 +00:00
Yang Tse
a6c915aab9
fix compiler warning: external declaration in primary source file
2008-09-18 16:21:09 +00:00
Dan Fandrich
974145f61c
Changed the test data file so it passes an XML syntax check
2008-09-15 22:35:09 +00:00
Yang Tse
eae27d1788
Disable all tests on i686 icc autobuilds to inspect build messages
2008-09-08 16:50:04 +00:00
Dan Fandrich
c3d871aef4
Added HTTP 1.0 downgrade tests with proxies
2008-09-06 18:24:04 +00:00
Yang Tse
59e378f48f
remove unnecessary typecasting of malloc()
2008-09-06 05:29:05 +00:00
Dan Fandrich
91ff938035
Improved the logic the decides whether to use HTTP 1.1 features or not in a
...
request.
Detect cases where an upload must be sent chunked and the server supports
only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
2008-09-05 17:58:53 +00:00
Daniel Stenberg
18110b519c
- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames
...
CURLOPT_POST301 (but adds a define for backwards compatibility for you who
don't define CURL_NO_OLDIES). This option allows you to now also change the
libcurl behavior for a HTTP response 302 after a POST to not use GET in the
subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the
patch somewhat before commit. The curl tool got a matching --post302
option. Test case 1076 was added to verify this.
2008-09-05 16:13:20 +00:00
Daniel Stenberg
780f13db30
Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two
...
new date strings to get tested too.
2008-09-05 08:15:21 +00:00
Yang Tse
8733e087d7
fix print formatting string directives
2008-09-04 05:29:10 +00:00
Dan Fandrich
85a79f9d67
Added tests 1071 through 1074 to test automatic downgrading from HTTP 1.1
...
to HTTP 1.0 upon receiving a response from the HTTP server. Tests 1072
and 1073 are similar to test 1069 in that they involve the impossible
scenario of sending chunked data to a HTTP 1.0 server. All these currently
fail and are added to DISABLED.
Added test 1075 to test --anyauth with Basic authentication.
2008-08-29 23:42:39 +00:00
Daniel Stenberg
d24465b79a
test 1070 added
2008-08-29 10:48:27 +00:00
Daniel Stenberg
c67a99ff27
- When libcurl was doing a HTTP POST and the server would respond with
...
"Connection: close" and actually close the connection after the
response-body, libcurl could still have outstanding data to send and it
would not properly notice this and stop sending. This caused weirdness and
sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222
Note that there are still reasons to consider libcurl's behavior when
getting a >= 400 response code while sending data, as Craig Perras' note
"http upload: how to stop on error" specifies:
http://curl.haxx.se/mail/archive-2008-08/0138.html
2008-08-29 10:47:59 +00:00
Daniel Stenberg
e138ae5ec9
- I'm abandoning the system with the web site mirrors (but keeping download
...
files bing mirrored) and thus I've changed the URL in the cookiejar header
to no longer use curlm.haxx.se but instead use the main site curl.haxx.se
2008-08-28 11:35:54 +00:00
Dan Fandrich
8ce78ca488
Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to set
...
the HTTP method to GET (or HEAD) when given a value of 0.
2008-08-28 06:28:07 +00:00
Dan Fandrich
370c3afc71
Added test 1069 to test PUT from stdin without content length. It fails
...
in a similar manner to test 1065 so is added to DISABLED.
2008-08-28 02:24:46 +00:00
Dan Fandrich
93357ef017
Added test 1069 to test PUT from stdin without content length. It fails
...
in a similar manner to test 1065 so is added to DISABLED.
2008-08-28 02:18:44 +00:00
Dan Fandrich
753592cc70
Added test case 1068 to do a simple HTTP PUT from stdin
2008-08-28 02:03:54 +00:00
Dan Fandrich
fc09d10560
Added multi keyword
2008-08-26 20:21:59 +00:00
Dan Fandrich
59b2e3ea4a
Added multi keyword
2008-08-26 20:11:12 +00:00
Yang Tse
d744c85310
Re-enable all tests on x86_64 and ia64.
2008-08-24 23:26:07 +00:00
Yang Tse
62d94ff342
Fix wrong signed int formatting string directive in test case #557 .
...
This error did not cause test failures on systems where sizeof(int) == sizeof(long).
2008-08-24 17:10:24 +00:00
Yang Tse
71d3c5bf41
Disable all tests except #557 on x86_64 and ia64 to debug trace curl_mprintf() on these systems.
2008-08-24 15:57:52 +00:00
Daniel Stenberg
b34390017b
added test case 1067 to verify --referer "firstone.html;auto"
2008-08-23 21:27:58 +00:00
Daniel Stenberg
a604682805
Andy Tsouladze's fix to kill the knowledge of servers properly after they have
...
been killed.
2008-08-23 11:25:14 +00:00