Commit Graph
130 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 41e5c4888a Remove PlibC from autotools files 2014-02-18 18:40:50 +00:00
Evgeny Grin (Karlson2k) 9afe92d579 Reverse OpenSSL <-> GnuTLS check 2014-02-18 18:40:16 +00:00
Evgeny Grin (Karlson2k) 8b28e693b2 add sleep() and usleep() replacement for W32 2014-02-18 18:39:31 +00:00
Evgeny Grin (Karlson2k) b7dabd9efb remove inet_pton() from tests, use real IPv6 loopback for test 2014-02-18 18:39:10 +00:00
Evgeny Grin (Karlson2k) 4e0abfce9e Replace CLOSE() with MHD_socket_close_() for sockets 2014-02-18 18:38:04 +00:00
Evgeny Grin (Karlson2k) c311027f28 Implement MHD_socket, MHD_INVALID_SOCKET 2014-02-18 18:37:48 +00:00
Christian Grothoff d064f75e0d -fix dist by adding missing files 2013-12-28 14:40:26 +00:00
Christian Grothoff 9889fd9eee add support for SNI 2013-12-21 16:28:54 +00:00
Christian Grothoff 015495e471 -removing whitespace 2013-11-17 15:52:01 +00:00
Christian Grothoff c8ddb867ee fully initialze modern gcrypt in MHD_init, only use thread initialization with legacy libgcrypt, update tests accordingly 2013-09-23 12:09:46 +00:00
Christian Grothoff 3f37c43af5 -fix 2013-09-21 15:15:32 +00:00
Christian Grothoff adc3d39aa3 need to check for gnutls version of libcurl here as well 2013-09-20 16:41:16 +00:00
Christian Grothoff a2425da6f9 proper gcrypt thread initialization in tests 2013-09-15 20:22:40 +00:00
Christian Grothoff 52df865b80 -check a few more error codes 2013-09-09 07:35:13 +00:00
Christian Grothoff 78e5722f45 -allow for 0-termination 2013-09-09 07:28:33 +00:00
Christian Grothoff d86385c9b4 -nitpicks in tests 2013-09-06 11:44:22 +00:00
Christian Grothoff a5f4e104cc -do not run epoll tests if epoll was disabled, even on linux 2013-08-28 09:41:30 +00:00
Christian Grothoff 22941cd1b6 -fix reactivating plibc 2013-08-07 22:05:53 +00:00
Christian Grothoff 4251a1cd97 Part 1 of 2 - Remove PlibC from autotools files. 2013-08-07 06:22:16 +00:00
Christian Grothoff 81a04f09ce -expanded HTTPS testcases to also cover epoll 2013-07-20 10:03:53 +00:00
Christian Grothoff 6848b6fdb7 -directory was renamed 2013-05-05 18:21:36 +00:00
Christian Grothoff e2992d55a9 -directory was renamed 2013-05-05 18:20:12 +00:00
Christian Grothoff 1725bcf3c5 -improvements to docs 2013-05-05 18:01:09 +00:00
Christian Grothoff 155fcf546f -renaming for consistency 2013-03-29 16:16:02 +00:00
Christian Grothoff 26ed57fcf9 testcase for #2783 2013-03-04 13:42:40 +00:00
Christian Grothoff 42c501a9c4 -fix #if WINDOWS problems reported by Luis Garcia on the mailinglist 2012-10-15 23:34:56 +00:00
Christian Grothoff d460042ef6 increase timeouts to escape problems with time_wait 2012-10-08 13:02:40 +00:00
Christian Grothoff 3f2b73dd80 -additional code cleanup 2012-07-19 15:31:39 +00:00
Christian Grothoff ccd65de6a3 adding experimental extension 'HD_USE_NO_LISTEN_SOCKET' 2012-07-17 20:39:44 +00:00
Christian Grothoff 7337214106 -fixing https tests after changes in gnutls 2012-07-17 20:34:43 +00:00
Christian Grothoff 5b9d324b44 -LRN: fix url generation on MinGW32 2012-07-09 11:43:34 +00:00
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