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
4d0b0cae9e
Fix compilation failure
2009-12-17 20:01:24 +00:00
Yang Tse
8343cb8910
Test harness process control enhancements
2009-12-17 19:37:01 +00:00
Daniel Stenberg
a75d9d9169
uh, assign the bool it points to properly
2009-12-17 16:07:02 +00:00
Daniel Stenberg
54c60d0067
Stop overloading the conn->protocol field with the PROT_MISSING bit. It
...
really didn't belong there and had no real point.
2009-12-17 16:03:39 +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
Daniel Stenberg
10a11e3abe
- David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
...
available.
2009-12-17 13:29:41 +00:00
Yang Tse
414180b363
gettimeofday() requires perl version newer than 5.6
2009-12-17 03:50:32 +00:00
Daniel Stenberg
7603a29fc3
Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
...
was a bit too quick and broke test case 1101 with that change. The order of
some of the setups is sensitive. I now changed it slightly again.
2009-12-16 23:11:47 +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
2c9644b812
Fix compiler warning
2009-12-14 16:05:57 +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
b0f548fb56
Fix compiler warnings
2009-12-14 14:02:43 +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
19b8a80ee9
might as well output all supported protocols at the end of configure to
...
make it more obvious how the output will be
2009-12-12 22:39:29 +00:00
Daniel Stenberg
30eb452adf
show POP3S, IMAPS and SMTPS as protocols if SSL is enabled
2009-12-12 22:33:18 +00:00
Daniel Stenberg
92b9b46831
support disabling POP3, IMAP and SMTP and now they also appear in curl-config
...
--protocols output
2009-12-12 22:31:00 +00:00
Daniel Stenberg
83a6b34803
split out more protocol-specific structs from urldata.h into their own
...
protocol-specific header files
2009-12-12 22:17:51 +00:00
Daniel Stenberg
43fefab2a1
IMAP, POP3 and SMTP support
2009-12-12 22:05: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
Yang Tse
463d2d395c
Prevent rewinding unless pipelining.
...
See http://curl.haxx.se/mail/lib-2009-12/0107.html
2009-12-11 18:41:29 +00:00
Yang Tse
2fc1752d6e
Removed function prototype without implementation
2009-12-11 02:14:11 +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
Daniel Stenberg
b91ed67276
argh, use the correct bug id
2009-12-10 20:26:44 +00:00
Daniel Stenberg
315253b367
- Constantine Sapuntzakis figured out a case which would lead to libcurl
...
accessing alredy freed memory and thus crash when using HTTPS (with
OpenSSL), multi interface and the CURLOPT_DEBUGFUNCTION and a certain order
of cleaning things up. I fixed it.
(http://curl.haxx.se/bug/view.cgi?id=2891591 )
2009-12-10 20:20:15 +00:00
Daniel Stenberg
3b1de97eaa
minor indent change
2009-12-10 20:19:56 +00:00
Yang Tse
5ce6454d33
- Fixed curl erroneously reporting output stream write failures with disabled buffering
2009-12-10 16:46:21 +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
Daniel Stenberg
95362af43c
74. The HTTP spec allows headers to be merged and become comma-separated
...
instead of being repeated several times. This also include Authenticate: and
Proxy-Authenticate: headers and while this hardly every happens in real life
it will confuse libcurl which does not properly support it for all headers -
like those Authenticate headers.
2009-12-04 21:52:58 +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
Kamil Dudka
fb2425b147
lib/nss.c: avoid use of uninitialized value
2009-12-02 17:24:38 +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
Daniel Stenberg
f0826974f2
- If the Expect: 100-continue header has been set by the application through
...
curl_easy_setopt with CURLOPT_HTTPHEADER, the library should set
data->state.expect100header accordingly - the current code (in 7.19.7 at
least) doesn't handle this properly. Martin Storsjo provided the fix!
2009-12-01 12:04:54 +00:00
Daniel Stenberg
d61690ef46
start working on 1.7.1
2009-11-30 22:39:04 +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
Daniel Stenberg
bfae1bd999
#71 "TFTP block size / better integration in transfer" is now expected to
...
have been fixed!
2009-11-29 23:14:56 +00:00
Daniel Stenberg
8a7231d7ae
a binding for Falcon
2009-11-29 19:12:00 +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