Yang Tse
46b112bcd4
replaced tabs with spaces
2010-02-16 13:32:45 +00:00
Yang Tse
f442dd6496
fix Content-Length validation
2010-02-16 11:17:00 +00:00
Yang Tse
d5b2d8e081
fix compiler warning: conversion from "long" to "size_t" may lose sign
2010-02-15 17:40:35 +00:00
Yang Tse
4b43d18c4a
fix compiler warning: conversion from "long" to "size_t" may lose sign
2010-02-15 16:18:52 +00:00
Yang Tse
a07bc79117
removed trailing whitespace
2010-02-14 19:40:18 +00:00
Yang Tse
2268657272
fix compiler warning
2010-02-14 16:37:22 +00:00
Yang Tse
68d83a8142
Overhauled test suite getpart() function. Fixing potential out of bounds
...
stack and memory overwrites triggered with huge test case definitions.
2010-02-14 13:14:17 +00:00
Daniel Stenberg
975814368a
- Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses
...
in the same RCPT TO line, when they should be sent in separate single
commands. I updated test case 802 to verify this.
- I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl
tool which made it try to output it as string for the --libcurl feature
which could lead to crashes.
2010-02-12 22:23:46 +00:00
Yang Tse
d20a2469ea
- remove extra "\r\n" from doc404_RTSP
...
- avoid memory alignment issue when setting RTSP packet length
2010-02-10 13:03:32 +00:00
Dan Fandrich
1abff19a5f
Removed some erroneous "compressed" key words
2010-02-09 22:50:52 +00:00
Yang Tse
e118cd4ca0
warning fix
2010-02-06 17:31:09 +00:00
Yang Tse
0f4a91afde
OOM handling fix
2010-02-06 13:21:45 +00:00
Yang Tse
2c2464a682
fix compiler warning
2010-02-05 20:52:00 +00:00
Yang Tse
880452d2ed
fix compiler warning
2010-02-05 19:24:22 +00:00
Yang Tse
e3009f2950
fix compiler warning
2010-02-05 19:19:34 +00:00
Yang Tse
cad9c3f55f
Addes OOM handling for curl_easy_setopt() calls in test
2010-02-05 18:07:19 +00:00
Yang Tse
f47b84b57f
Validate server port argument
2010-02-04 17:17:19 +00:00
Yang Tse
1a5749424b
Fix variable initialization
2010-02-04 14:50:58 +00:00
Yang Tse
a9a5a8e45c
Modified test case 557 to additionally verify libcurl's internal curl_m*printf()
...
functions formatting functionality when handling signed and unsigned shorts.
2010-02-04 14:41:01 +00:00
Yang Tse
429e544556
added an additional second to allow test to pass on heavily loaded servers
2010-02-04 09:55:45 +00:00
Yang Tse
381a4d6efe
Fix portability issue related with unaligned memory access
2010-02-03 06:49:27 +00:00
Yang Tse
013ec6a92f
cookies with same path length might get sorted in different order when
...
using different qsort implementations. In order to make this test give
same results on different systems, paths now have different lengths.
2010-02-03 01:53:47 +00:00
Yang Tse
e2fc294470
added an additional second to allow test to pass on heavily loaded servers
2010-02-03 01:41:07 +00:00
Yang Tse
54879d7763
mention run time statistics options
2010-02-02 14:46:55 +00:00
Yang Tse
232d17ec64
avoid possibility of using obsoleted stuff
2010-02-02 12:39:10 +00:00
Yang Tse
bafba6946c
remove setup.h inclusion which is already done from test.h inclusion
2010-02-02 12:36:16 +00:00
Yang Tse
9f6c4daa27
include headers
2010-02-02 07:01:21 +00:00
Yang Tse
ea72194650
Conroy added a check to the coded message size since the docs stipulate
...
that each call will contain a full protocol packet.
2010-02-01 22:14:22 +00:00
Yang Tse
516cf5c8dd
update rtsp server header field from SWS to RTSPD
2010-02-01 19:57:11 +00:00
Yang Tse
35fbeda003
Test suite support for RTSP
2010-02-01 12:05:08 +00:00
Yang Tse
5312fdcd73
Chris Conroy fixed test #568 issues with carriage returns
2010-01-29 02:58:39 +00:00
Yang Tse
eff18763a1
portability fix
2010-01-28 10:27:09 +00:00
Yang Tse
6259bcd51f
Chris Conroy provided first RTSP tests
2010-01-28 04:58:03 +00:00
Yang Tse
a4031dbd85
RTSP tests disabled until test harness RTSP support is updated
2010-01-28 04:55:19 +00:00
Yang Tse
703fa98a48
PKTSIZE might have been already defined in arpa/tftp.h
2010-01-23 13:51:53 +00:00
Yang Tse
e59a5cbe4e
Julien Chaffraix adjusted "<name> section" line length
2010-01-22 07:32:09 +00:00
Yang Tse
abe3e6b36c
fix warning triggered when debugging on cygwin
2010-01-21 14:29:04 +00:00
Yang Tse
105e430641
allow exporting of exe_ext() sub
2010-01-21 14:26:32 +00:00
Yang Tse
4a349f7a54
improve displaylogcontent() sub fixing a warning
2010-01-21 14:25:41 +00:00
Daniel Stenberg
e09718d457
Julien Chaffraix fixed line lengths
2010-01-21 12:28:29 +00:00
Yang Tse
a872ff742c
SIGTERM is the signal to trap here, SIGKILL can't be caught.
2010-01-20 21:16:32 +00:00
Yang Tse
58a1557088
Use killsockfilters() to kill sockfilter processes, this ensures that when
...
killing a sockfilter process the actual PID from the pid file is used and
not the one returned by open2() which might be different.
2010-01-20 20:42:21 +00:00
Yang Tse
422a7869be
Allow killsockfilters() to take a 5th optional parameter that when provided
...
indicates that only one of the two possible sockfilter processes should be
killed. Valid values for this parameter are 'main' and 'data'.
2010-01-20 20:39:56 +00:00
Yang Tse
471e8eefb6
Use delete() to unset environment variables instead of assigning undef which
...
generates warning 'Use of uninitialized value in scalar assignment' with perl
versions older than 5.10
2010-01-20 20:08:50 +00:00
Yang Tse
d2e1ec58f2
Adjust valgrind logs file name detection.
...
Adjust environment vars setting and restoring from test definition.
Avoid using strftime in torture sub.
2010-01-20 18:31:52 +00:00
Daniel Stenberg
48032c0880
modified test case 8 to also make sure that we deal with cookies using
...
identical names but different paths properly
2010-01-20 09:39:40 +00:00
Daniel Stenberg
877dad1e24
- As was pointed out on the http-state mailing list, the order of cookies in a
...
HTTP Cookie: header _needs_ to be sorted on the path length in the cases
where two cookies using the same name are set more than once using
(overlapping) paths. Realizing this, identically named cookies must be
sorted correctly. But detecting only identically named cookies and take care
of them individually is harder than just to blindly and unconditionally sort
all cookies based on their path lengths. All major browsers also already do
this, so this makes our behavior one step closer to them in the cookie area.
Test case 8 was the only one that broke due to this change and I updated it
accordingly.
2010-01-19 23:19:59 +00:00
Daniel Stenberg
01030e9240
oops, I forgot to cvs add this before my previous commit (Dan Fandrich
...
pointed it out to me)
2010-01-19 22:22:54 +00:00
Daniel Stenberg
a5ca3f1754
- David McCreedy brought a fix and a new test case (129) to make libcurl work
...
again when downloading files over FTP using ASCII and it turns out that the
final size of the file is not the same as the initial size the server
reported. This is very common since servers don't take the newline
conversions into account.
2010-01-19 21:39:10 +00:00
Daniel Stenberg
6035a4b044
avoid "Use of uninitialized value $l in concatenation"
2010-01-19 21:20:24 +00:00