Daniel Stenberg
e264f699d4
Tor Arntsen spotted this mistake
2006-11-13 13:48:55 +00:00
Yang Tse
772a985dc3
Update copyright year, since the file has been modified
2006-10-27 03:47:57 +00:00
Yang Tse
13e60c55a1
Avoid trying to compare more than strlen bytes.
2006-10-23 19:16:19 +00:00
Yang Tse
4ec9316155
Replace is*() macros with our own IS*() ones.
2006-10-23 19:14:54 +00:00
Yang Tse
5df4be1165
Check for USE_WINSOCK instead of WIN32 where the check was done
...
to verify winsock API availability.
2006-10-18 21:05:40 +00:00
Yang Tse
e150150d9f
Remove redundant __CYGWIN__ symbol check
2006-10-11 16:01:16 +00:00
Gisle Vanem
56bf97ffc9
'in6addr_any' must be placed in .c-file. Added 'REAL_WIN32' for
...
all Win32 targets except CygWin. Cleanup.
2006-09-13 13:41:53 +00:00
Yang Tse
5a6c89661a
Cygwin preprocessor adjustments
2006-09-12 01:17:16 +00:00
Daniel Stenberg
e3c15fc4b9
test 530 is the first ever HTTP pipelining test for libcurl
2006-09-08 11:56:56 +00:00
Yang Tse
ee3514ccdc
Replace exit() with return() in main()
2006-08-14 17:00:08 +00:00
Yang Tse
b33f47804d
Allow again proper compilation outside of the source tree
2006-08-07 18:06:37 +00:00
Yang Tse
aa791ee5cf
Fix compiler warnings.
2006-07-29 09:15:03 +00:00
Yang Tse
2c81bfead5
Replace send() and recv() with swrite() and sread() macros.
2006-07-28 18:01:23 +00:00
Yang Tse
ab4256d53a
Abort if unable to write pid file, and close socket when aborting.
2006-07-19 15:28:30 +00:00
Yang Tse
46c5e562bf
Abort if unable to write pid file.
2006-07-19 15:26:28 +00:00
Yang Tse
42f5a90d09
-Use curl_socket_t instead of int.
...
-Log errno in message if setsockopt() fails.
-Close listener socket on major errors.
2006-07-17 22:44:40 +00:00
Yang Tse
2aa4710745
Minor cleanup
2006-07-17 03:38:13 +00:00
Yang Tse
ccfce89423
Null terminate string in buffer before feeding it to strtol()
2006-07-14 06:31:41 +00:00
Yang Tse
498aad8587
Change to meaningful var names and take care of a compiler warning on IRIX 6.5.22 MIPSPro C 7.3 64bit
2006-07-13 18:50:51 +00:00
Yang Tse
f0694c582e
Remove var not used.
2006-07-12 10:41:07 +00:00
Yang Tse
f90f0c98d9
Log a message if not all data is sent.
2006-07-12 09:39:35 +00:00
Yang Tse
95aecc5dbb
Fix compiler warning: comparison between signed and unsigned
2006-07-12 09:03:48 +00:00
Yang Tse
8272874704
Place parenthesis surrounding macro parameters so that the use of sread and swrite is more intuitive.
2006-07-12 06:52:40 +00:00
Yang Tse
86f4cead16
sread now returns ssize_t
2006-07-12 06:14:49 +00:00
Yang Tse
88a1a10e6f
Pay attention when typecasting an operation
2006-07-12 06:09:53 +00:00
Yang Tse
624e657210
sread now returns ssize_t
2006-07-12 05:54:06 +00:00
Yang Tse
58176d1484
Use platform's native types for recv() and send() arguments.
2006-07-12 05:19:00 +00:00
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