Daniel Stenberg
83d34a246e
first small steps towards smtp
2009-12-21 08:33:47 +00:00
Yang Tse
76b3c9d70f
Replaced tabs with spaces
2009-12-21 02:37:23 +00:00
Yang Tse
efd1d9dc04
Improve delay command interruptability
2009-12-20 22:09:53 +00:00
Daniel Stenberg
88a0060b2e
revert that, we already had a function named like that!
2009-12-20 22:08:06 +00:00
Daniel Stenberg
4adf7d62d4
rename the verifyftp function to verifyserver since it is used to verify
...
a wide variety of protocol servers
2009-12-20 22:00:23 +00:00
Daniel Stenberg
2a3dafc0cd
introducing the first IMAP FETCH test
2009-12-20 11:07:04 +00:00
Yang Tse
f912f8d5d2
- Attempt to fix script compilation failure on versions older than 5.007003,
...
corelist -a Time::HiRes lists this as the first version released with it.
- Ensure ftp check delay timer is always an integral number.
2009-12-20 03:48:32 +00:00
Daniel Stenberg
af7a5b297f
support IMAP select and LOGOUT
2009-12-19 23:23:26 +00:00
Daniel Stenberg
344bbcf259
fix the ftp check delay timer to never be set below 1 to work correctly
...
in cases like test 190
2009-12-19 23:10:33 +00:00
Yang Tse
010fe5acd5
Slack time reduction
2009-12-19 13:20:07 +00:00
Yang Tse
aeec8e0b38
Added runtests.pl '-r' option for run time statistics
2009-12-19 04:15:22 +00:00
Yang Tse
2d15ac3d4e
server start and verification time as well as test preparation time
...
data is required in order to closer match total test execution time.
2009-12-18 19:17:14 +00:00
Yang Tse
53deae3781
Added test harness simple time execution stats
2009-12-18 15:23:18 +00:00
Yang Tse
39cc424e81
Comment out hi resolution time logging to verify if this is what might
...
be contributing 90 additional seconds to the total time some autobuilds
now need to make a full test-run.
2009-12-17 22:28:40 +00:00
Yang Tse
8343cb8910
Test harness process control enhancements
2009-12-17 19:37:01 +00:00
Daniel Stenberg
91d05903b4
Remove pointless storing of the protocol as a string within the connectdata
...
struct, and instead use the already stored string in the handler struct.
2009-12-17 15:45:04 +00:00
Yang Tse
414180b363
gettimeofday() requires perl version newer than 5.6
2009-12-17 03:50:32 +00:00
Yang Tse
002ed5f298
Test harness process control enhancements
2009-12-16 19:55:35 +00:00
Yang Tse
044ba6dad2
Test #1106 needs an ftp enabled client
2009-12-16 15:24:12 +00:00
Yang Tse
3802d027cd
Test harness process control enhancements
2009-12-16 15:16:06 +00:00
Daniel Stenberg
3111701c38
- Jon Nelson found a regression that turned out to be a flaw in how libcurl
...
detects and uses proxies based on the environment variables. If the proxy
was given as an explicit option it worked, but due to the setup order
mistake proxies would not be used fine for a few protocols when picked up
from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added
test case 1106 that verifies this functionality.
(http://curl.haxx.se/bug/view.cgi?id=2913886 )
2009-12-14 23:16:09 +00:00
Yang Tse
99daca5a48
Prevent perl script dying messages in output, since tearing down the pinpong
...
server in this way, upon sysread failures, is part of the expected behavior.
2009-12-14 15:39:15 +00:00
Yang Tse
a6abbb120e
Adjust uppercase protocol string usage
2009-12-14 14:42:48 +00:00
Yang Tse
364d76aca7
Fix compiler warnings
2009-12-14 13:27:50 +00:00
Yang Tse
6e9a484ea6
signal handling to cleanup on SIGINT and SIGTERM, followup
2009-12-13 03:45:32 +00:00
Yang Tse
303f74c740
reapply diff between revisions 1.103 and 1.102
2009-12-13 03:44:45 +00:00
Daniel Stenberg
4ea8ad584b
updated with the new protocols
2009-12-12 22:48:11 +00:00
Daniel Stenberg
ec3bb8f727
introducing IMAP, POP3 and SMTP support (still lots of polish left to do)
2009-12-12 21:54:01 +00:00
Daniel Stenberg
296ebf382c
- Siegfried Gyuricsko found out that the curl manual said --retry would retry
...
on FTP errors in the transient 5xx range. Transient FTP errors are in the
4xx range. The code itself only tried on 5xx errors that occured _at login_.
Now the retry code retries on all FTP transfer failures that ended with a
4xx response.
(http://curl.haxx.se/bug/view.cgi?id=2911279 )
2009-12-10 21:02:11 +00:00
Yang Tse
0653fa107f
signal handling to cleanup on SIGINT and SIGTERM, followup
2009-12-09 18:41:43 +00:00
Daniel Stenberg
ebe5339003
- Martin Storsjo made libcurl use the Expect: 100-continue header for posts
...
with unknown size. Previously it was only used for posts with a known size
larger than 1024 bytes.
2009-12-07 20:25:17 +00:00
Yang Tse
d14bf09ab8
Fix 'uploaded' file descriptor leak
2009-12-03 20:37:49 +00:00
Yang Tse
636d2fe00a
signal handling to cleanup on SIGINT and SIGTERM
2009-12-03 13:12:04 +00:00
Yang Tse
2286f566d0
signal handling to cleanup on SIGINT and SIGTERM
2009-12-02 15:02:30 +00:00
Yang Tse
ed2aa87e63
Set socket option SO_REUSEADDR=true on stunnel accept'ing port
2009-12-01 15:36:34 +00:00
Yang Tse
a72ce23f16
- In order to better reflect that the returned pid is extracted from the
...
given file, serverpid sub is renamed to pidfromfile. In addition it is
enhanced to make sure that it always returns zero unless a numerical
positive value is returned.
- To better reflect that only process existance is actually checked,
checkserver sub is renamed to processexists. In addition it is enhanced
making it remove the given pid file when the extracted pid is no longer
alive.
2009-11-30 13:48:51 +00:00
Yang Tse
4d922545d5
- Added Diffie-Hellman parameters to several test harness certificate files in
...
PEM format. Required by several stunnel versions used by our test harness.
2009-11-28 10:01:21 +00:00
Yang Tse
1fc32d866a
Use different log files for each protocol
2009-11-28 05:06:19 +00:00
Yang Tse
a240f4d1df
Attempt to enhance stunnel 3.X logging
2009-11-27 19:52:56 +00:00
Yang Tse
6f273b1a5f
Prevent running stunnel unless its version can be determined.
2009-11-27 13:01:10 +00:00
Yang Tse
f07f17f2a4
Log sws IPv version, port and pid when exiting due to SIGINT or SIGTERM.
2009-11-27 12:01:25 +00:00
Yang Tse
c713627412
To allow remote log inspection avoid redirecting messages to stderr.
...
Set 0600 file permissions on certificate pem files.
2009-11-27 12:00:53 +00:00
Yang Tse
9cbf69ca0b
Log info for start up failures.
2009-11-26 22:07:47 +00:00
Yang Tse
cbd527843b
Only attempt to clear the server-logs lock when previously set by this same server.
2009-11-26 10:15:08 +00:00
Yang Tse
fba233bb34
signal handling to cleanup on SIGINT and SIGTERM
2009-11-26 04:38:29 +00:00
Yang Tse
094afbeb56
Enhance some debug messages for initialization failures.
...
Fix compiler warning: conditional expression is constant.
2009-11-23 16:11:50 +00:00
Yang Tse
55e68ba333
I removed leading 'curl' path on the 'curlbuild.h' include statement in
...
curl.h, adjusting auto-makefiles include path, to enhance portability to
OS's without an orthogonal directory tree structure such as OS/400.
2009-11-05 15:04:03 +00:00
Daniel Stenberg
223d848104
- Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if the
...
download was 0 bytes, as libcurl would then return the size as unknown (-1)
and not 0. I wrote a fix and test case 566 to verify it.
2009-10-31 18:51:50 +00:00
Daniel Stenberg
2c0b65d37b
Added test case 566 in an attempt to repeat bug 2884561
...
(http://curl.haxx.se/bug/view.cgi?id=2884561 ) but it seems to work for me...
2009-10-30 22:38:21 +00:00
Daniel Stenberg
d68f215f03
- "Tom" posted a bug report that mentioned how libcurl did wrong when doing a
...
POST using a read callback, with Digest authentication and
"Transfer-Encoding: chunked" enforced. I would then cause the first request
to be wrongly sent and then basically hang until the server closed the
connection. I fixed the problem and added test case 565 to verify it.
2009-10-30 22:24:48 +00:00