Commit Graph
99 Commits
Author SHA1 Message Date
Christian Grothoff aa8f99d22e -use lower port numbers with smaller conflict potential for ssl tests 2012-06-19 17:53:06 +00:00
Christian Grothoff 6dd259d216 Mike Crowe:
According to the libcurl documentation the parameter to curl_version_info
should be CURLVERSION_NOW rather than a bit value from the features
bitmask.

Also, on my installation at least libssh_version is NULL so the check
segfaults. It would seem that ssl_version is a more appropriate field to
check.

Finally, if libcurl lacks SSL support them ssl_version may be NULL. Make sure we
don't segfault inside strcasestr if that is the case.
2012-06-19 17:44:15 +00:00
Christian Grothoff a930ef0fe6 -check for OpenSSL 2012-06-11 11:25:24 +00:00
Matthias Wachs 2d37df8af0 did not compile with CFLAGS = -Wall -Werror 2012-01-24 08:40:32 +00:00
Christian Grothoff 51c9feb0d8 -minor test code cleanup 2012-01-23 12:05:54 +00:00
Christian Grothoff fe7ed03a63 use 127.0.0.1 instead of localhost for testcurl/*.c;
performs far better on OS X and Solaris-style kernels

Will Bryant (<will.bryant@gmail.com>) writes:

On 21/09/2011, at 20:14 , Christian Grothoff wrote:

> > On the OpenIndiana performance, do you have something like 'strace' where you 
> > could monitor what's going on? Most likely the code hangs blocking in some 
> > syscall for longer than it should...

It has truss, and for the record, it showed no slow calls.

The problem turned out to be the tests using "localhost", which was picking the primary interface for the box, not the loopback interface.

Changing perf_get_concurrent.c to use 127.0.0.1 makes it vastly faster - it went from ~35 requests/sec to 12,000-15,000 requests/sec.

It makes a big difference on OS X too - from 115-140 requests/sec on my old macbook to 600-3600 requests/sec (variation here mainly due to the large amount of other stuff I have running).

Patch attached.
2011-09-29 15:04:50 +00:00
Christian Grothoff 835e6c52c7 Fixing 1668 2011-05-20 20:12:36 +00:00
Christian Grothoff 43542a78c6 introducing MHD_create_response_from_buffer, deprecating MHD_create_response_from_data 2011-01-04 12:40:03 +00:00
Christian Grothoff e2b97b7e9c release, testcase clean up 2010-11-23 08:50:45 +00:00
Christian Grothoff 92b638cf84 patch fixing #1619 2010-11-18 22:11:38 +00:00
Christian Grothoff 8524a6cfe9 report error, but do not fail hard 2010-11-18 21:59:46 +00:00
Christian Grothoff f33a16a615 check malloc return values 2010-09-21 10:46:06 +00:00
Christian Grothoff 2a034dfadb simplifying tests by not using file on disk for test data 2010-08-19 13:55:26 +00:00
Christian Grothoff 72b1990a0c move plibc to prefer system-wide plibc.h over our version 2010-08-19 12:10:50 +00:00
Christian Grothoff 761267757c ready for 0.9.0 2010-07-26 16:57:47 +00:00
Christian Grothoff 3b17bb4814 docu updates, API extensions, version bump 2010-07-25 10:25:22 +00:00
Christian Grothoff 63b5f01682 getting gnutls tests to pass: 2010-07-25 09:47:50 +00:00
Christian Grothoff 67851b280e GHM hacking 2010-07-25 07:17:26 +00:00
Christian Grothoff 58d06b2255 towards using libgnutls directly 2010-07-24 15:24:50 +00:00
Nils Durner 1b0b8c014d use untranslated file input mode, important on Windows 2010-01-20 21:07:20 +00:00
lv-426 acfe67b353 fix tls_authentication_test failure due to expired SSL certificates 2010-01-05 01:20:22 +00:00
Christian Grothoff 1fe1f869d8 check this too 2009-12-05 20:09:10 +00:00
Christian Grothoff 8be5df1d5d disabling broken testcase 2009-11-15 11:46:33 +00:00
Christian Grothoff e762e3cdcc be less verbose 2009-11-13 14:54:35 +00:00
Christian Grothoff 3a6cb5ed47 fix compile errors 2009-11-13 12:22:38 +00:00
Christian Grothoff 812556d730 fix types 2009-11-13 12:15:25 +00:00
Christian Grothoff c8a1be0f87 release 2009-03-19 04:49:16 +00:00
Christian Grothoff e9128f7887 various bugfixes and docu updates 2009-03-17 07:34:32 +00:00
Christian Grothoff 04ef92a44e fix 2009-02-09 04:40:57 +00:00
Christian Grothoff 1c2fddd0d9 bldfix 2009-02-09 04:23:48 +00:00
Christian Grothoff 99ccd5cda5 rewrite test, curl at fault: 2009-02-09 04:15:12 +00:00
Christian Grothoff b90c37b2f3 incompatible API change to allow 64-bit uploads and downloads on 32-bit systems 2009-02-06 06:12:33 +00:00
Christian Grothoff 296760de58 making stuff compile 2009-02-03 05:35:28 +00:00
lv-426 ba52750055 added tls_extension_test 2009-02-02 22:24:04 +00:00
lv-426 f577769d8e merged common test code into tls_test_common.h & tls_test_common.c 2009-02-02 22:22:56 +00:00
Christian Grothoff b9ec40f2e8 fix 2009-02-02 07:26:39 +00:00
Christian Grothoff 0cd701236a fix 2009-02-02 07:19:59 +00:00
Christian Grothoff cb9bcba074 fix 2009-02-02 07:13:22 +00:00
Christian Grothoff cdc246a32e minor bugfixes in testcases 2009-02-02 06:57:28 +00:00
Christian Grothoff 5ac46a90df integrate 2009-02-02 06:31:29 +00:00
Christian Grothoff 6585ad9251 cleanup 2009-02-02 06:29:47 +00:00
Christian Grothoff 348db743d1 fixing 1440 2009-01-12 20:07:36 +00:00
Christian Grothoff 03573e80f7 indent 2008-12-27 07:49:35 +00:00
Christian Grothoff ccfcc31ac1 splitting off test 2008-12-27 07:48:57 +00:00
lv-426 036303bc56 test fix 2008-11-24 10:01:47 +00:00
Heikki Lindholm ed8cc07bcd current_dir_name() is a GNU extension 2008-11-23 16:21:16 +00:00
Christian Grothoff a01bd055ef only use export syms if we do not do client 2008-11-23 09:28:26 +00:00
Christian Grothoff b3a3a53069 dce 2008-11-23 09:25:31 +00:00
Christian Grothoff b2e46ef8e2 dce 2008-11-23 09:18:29 +00:00
lv-426 7f1cd658ba added HTTPS internal select test
MHD_TLS_HANDSHAKE_COMPLETE - removed
2008-11-20 11:14:52 +00:00