Daniel Stenberg
f689d06ca9
make sure we pass a time_t * to localtime(), and the timeval struct members
...
are not always time_t ones
2006-05-24 21:39:52 +00:00
Daniel Stenberg
4a8dfb3461
based on Tor Arntsen's fix, this should correct test case 271 to again run
...
fine
2006-05-24 15:22:03 +00:00
Daniel Stenberg
00312e95fe
removed variable declarations shadowing previously declared variables
2006-05-10 09:53:52 +00:00
Daniel Stenberg
e5babd086d
if configure found a fork(), sws supports --fork which is *NOT* used by the
...
ordinary test suite. Also removed the perror() calls and instead made the
logging output the errno code to ease error tracking using logs.
2006-04-10 13:11:52 +00:00
Gisle Vanem
f592ea6c30
Fix typo.
2006-02-25 18:57:20 +00:00
Daniel Stenberg
10beb36b1c
Ulf Härnhammar fixed a format string (printf style) problem in the Negotiate
...
code. It should however not be the cause of any troubles. He also fixed a
few similar problems in the HTTP test server code.
2006-02-18 22:27:01 +00:00
Daniel Stenberg
bda1e9aeab
Made the copyright year match the latest modification's year.
2006-01-09 13:17:14 +00:00
Daniel Stenberg
8a0ca3066e
modified output to prevent the autobuild system to trap on the 'FAILED' output
...
mistaking it for an actual failed test case
2006-01-04 23:02:40 +00:00
Daniel Stenberg
81b9793807
Added remake of the arpa/tftp.h file to make the TFTP server build on systems
...
without the real header file.
2006-01-03 22:47:07 +00:00
Daniel Stenberg
7278f17e8f
killed trailing whitespace
2006-01-03 22:44:58 +00:00
Daniel Stenberg
66c7427df0
Andres Garcia made the TFTP test server build with mingw ("I also had to copy
...
the 'tftp.h' file from a linux box, since it doesn't come with mingw.")
2006-01-03 22:19:15 +00:00
Daniel Stenberg
687cf0235e
modified to hush compiler warnings
2006-01-03 12:18:22 +00:00
Daniel Stenberg
74a299fd08
1. sws now supports two new "commands" and 2. if built with
...
CURL_SWS_FORK_ENABLED defined it forks for each new connection and thus can
support any amount of connection clients (used for hiper tests and not for the
standard plain curl test suite)
2006-01-02 12:19:12 +00:00
Dan Fandrich
178afd81a9
Fixed lcc compiler warnings.
2005-12-19 19:47:14 +00:00
Yang Tse
d6c5d24af3
Cleanup windows header includes. Where aplicable, inclusion of
...
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-18 15:36:14 +00:00
Dan Fandrich
e2df946eee
Fixed some compiler warnings on lcc.
2005-12-13 18:54:31 +00:00
Yang Tse
b1fece74e3
Fix compiler warning
2005-12-08 16:43:32 +00:00
Daniel Stenberg
59b6cb9e91
Yang Tse: fixed compiler warning
2005-12-06 07:47:37 +00:00
Daniel Stenberg
272231fb09
Another Yang Tse warning cleanup raid!
2005-12-05 14:10:48 +00:00
Daniel Stenberg
f5ae149338
seems to work for test 271 on Linux now!
2005-09-19 22:03:16 +00:00
Daniel Stenberg
90559bed53
renamed sendfile() since some systems have a system call named like this -
...
now the functions are named sendtftp() and recvtftp() instead.
2005-09-16 10:52:38 +00:00
Daniel Stenberg
973a18cf03
In the Solaris 7 header files for tftp, the th_stuff struct member is an
...
unsigned short. Trying a typecast here to fix.
2005-09-16 10:50:43 +00:00
Daniel Stenberg
3c666ce57a
prevent warnings on re-defining MIN
2005-09-16 07:19:54 +00:00
Daniel Stenberg
da3ecc91f8
use int "subscripts" to prevent warnings from picky compilers
2005-09-16 06:14:30 +00:00
Daniel Stenberg
09c8f558f7
use internal *printf() clones
2005-09-16 05:49:53 +00:00
Daniel Stenberg
528a149def
ifdef for includes, added checking for two not previously checked files (one
...
being necessary for solaris builds)
2005-09-15 21:50:50 +00:00
Daniel Stenberg
0e39543d35
ignore this too
2005-09-15 20:36:58 +00:00
Daniel Stenberg
0de20d8ee6
build tftpd too!
2005-09-15 20:36:28 +00:00
Daniel Stenberg
cd5de5c0e5
First version of the TFTP server. Basic functionality is there.
2005-09-15 20:32:59 +00:00
Daniel Stenberg
9542dfdcdc
moved test2file() to util.c
2005-09-15 20:22:43 +00:00
Daniel Stenberg
b9c8de598b
Thanks to Scott Davis' detailed reports, I found this premature detection
...
of the end of a chunked-encoded POST request.
2005-09-07 10:51:37 +00:00
Daniel Stenberg
e22ac39da4
detabify
2005-08-18 08:47:56 +00:00
Daniel Stenberg
50e9522a06
silense a warning
2005-05-25 22:12:57 +00:00
Daniel Stenberg
3e79693e3b
utilize the whole usec in the log and don't output to stderr if the logfile
...
can't be opened
2005-05-25 12:04:52 +00:00
Daniel Stenberg
d55d3c2fd0
nicer raw logging and put code into (nicer) functions
2005-05-25 12:04:24 +00:00
Daniel Stenberg
b749910e6c
include ctype.h for isdigit()
2005-05-19 09:55:53 +00:00
Daniel Stenberg
6ff092f140
removed duplicate
2005-05-19 07:12:16 +00:00
Daniel Stenberg
4a091bbd8a
Bug report #1204435 identified a problem with malformed URLs like
...
"http://somehost?data " as it added a slash too much in the request ("GET
/?data/"...). Added test case 260 to verify.
2005-05-18 20:01:01 +00:00
Daniel Stenberg
45bce1062a
ignore resolve too
2005-05-18 10:05:38 +00:00
Daniel Stenberg
8cb344bf3c
use less code and prevent compiler warning
2005-05-18 10:01:46 +00:00
Daniel Stenberg
1f878aee69
Made test case 241 precheck that the given name resolves to an ipv6 address,
...
or the test is skipped. Ideally, we should let this test case go over a few
frequently used IPv6 localhost aliases...
2005-05-17 10:27:11 +00:00
Daniel Stenberg
84fd4686e2
Moved more generic functions to util.[ch]
...
Added resolve.c to simply resolve a given host name
2005-05-17 10:22:22 +00:00
Daniel Stenberg
315a9c95d5
prevent 64bit warnings
2005-05-10 11:21:57 +00:00
Daniel Stenberg
ef5eea689a
Added an active disconnected state, to make the code clearer.
2005-05-07 13:52:07 +00:00
Daniel Stenberg
fd191deb49
removed unnecessary logging to ease REAL debuggin
2005-05-07 08:55:37 +00:00
Daniel Stenberg
366b62af2d
always use the libcurl-provided *printf() functions
2005-05-01 12:56:09 +00:00
Daniel Stenberg
a6955aa486
util.h added as "source" to make it get added in dist archives
2005-05-01 12:51:27 +00:00
Daniel Stenberg
ad30341fa2
logfile name is const
2005-04-30 23:35:51 +00:00
Daniel Stenberg
23da55a9f1
Moved common code to util.[ch] instead of having it duplicated in sws.c
...
and sockfilt.c. For good-to-have functions for the servers written in C.
2005-04-30 23:30:55 +00:00
Daniel Stenberg
e5472bbd21
AF_INET6 for ipv6 addresses!
2005-04-28 14:31:25 +00:00