178 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) cd030ca9ca epoll is now supported on non-Linux platforms (namely illumos).
Renamed MHD options and updated documentation.
2016-08-24 15:02:16 +00:00
Evgeny Grin (Karlson2k) 9826ad54e0 Refactoring: do not define EPOLL_SUPPORT if epoll is disabled or not supported. 2016-08-24 15:02:10 +00:00
Evgeny Grin (Karlson2k) 0d1e59bc6e Added .gitignore 2016-07-28 15:15:52 +00:00
Christian Grothoff a3bfa8a2d6 applying cosmetics patch #4137 2016-01-28 06:06:50 +00:00
Christian Grothoff 9363e91e94 fixing another one of the open/stat clones 2016-01-18 22:14:09 +00:00
Christian Grothoff a0f69a6671 -fixes in code clones() 2016-01-18 21:46:56 +00:00
Christian Grothoff ff4d6dea42 -fclose file, even if fileno failed... 2016-01-18 21:42:33 +00:00
Christian Grothoff 979e499936 -check rval before fstat'ing 2016-01-18 21:41:49 +00:00
Christian Grothoff d9da87668f -fclose file, even if fileno failed... 2016-01-18 21:39:09 +00:00
Christian Grothoff 91e7665945 avoid stat/open race, and actually check for regular file (in demo) 2016-01-18 20:48:52 +00:00
Christian Grothoff 9a5dece83e eliminate stat/fopen race in example 2016-01-18 20:45:12 +00:00
Christian Grothoff 1421e4394f eliminate stat/fopen race in example 2016-01-18 20:43:27 +00:00
Christian Grothoff 9be469e2ee use getc() as in demo.c instead of sleep() 2016-01-18 20:37:15 +00:00
Christian Grothoff 24305c50dd free user to clarify API usage 2016-01-18 20:30:54 +00:00
Christian Grothoff cef420ebd7 free pass to clarify API usage 2016-01-18 20:29:38 +00:00
Christian Grothoff a375ced487 -nl issue 2016-01-18 20:29:20 +00:00
Christian Grothoff 8b0e534ac4 add timeout example 2015-12-05 16:30:51 +00:00
Christian Grothoff fdc3e17e30 killing libmicrospdy 2015-12-01 13:06:38 +00:00
Christian Grothoff 58b30e7e5e fix #3926: ignore close() errors other than EBADF 2015-08-02 17:11:48 +00:00
Christian Grothoff f6c78e2e11 -avoid deprecation 2015-07-15 13:05:12 +00:00
Christian Grothoff 62f06f739a -support HEAD in example 2015-06-26 21:18:13 +00:00
Christian Grothoff 55ecaec5a7 modify demo to handle HEAD requests 2015-06-25 19:08:49 +00:00
Christian Grothoff 10a27715a5 Adding "testcase" (demo_https) and a fix. -CG
Hi,

I am doing test with HTTPS at low bit rate for large files using:
wget -v --no-check-certificate --limit-rate=1000 https://....

When the MHD daemon is configured with MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY, I noticed that the thread takes 100% CPU, whereas
the MHD_USE_POLL_INTERNALLY configuration show a normal CPU usage.

Adding logs I see that the busy loops takes place at daemon.c, line 2605 (0.9.38):
daemon->eready_tail never gets NULL most probably due to connection.c, line 2671 to 2721

Thanks,

Louis
2015-04-12 19:52:29 +00:00
Christian Grothoff a12c532cba -bringing copyright tags up to FSF standard 2015-02-07 23:20:06 +00:00
Christian Grothoff 10cf14317c -bringing copyright tags up to FSF standard 2015-02-07 23:12:45 +00:00
Christian Grothoff 7f0a04de96 fix issue with chunked encoding used for http1.0 connections of Keep-Alive header was set 2015-02-04 19:37:19 +00:00
Christian Grothoff 6c80b16d18 -check malloc() return value 2014-12-20 00:36:00 +00:00
Evgeny Grin (Karlson2k) 6d51e1f0e8 minor MHD_socket/int fixes 2014-03-24 21:18:47 +00:00
Evgeny Grin (Karlson2k) 20699d328b Use number of CPUs in tests and examples 2014-03-06 13:22:35 +00:00
Evgeny Grin (Karlson2k) b630c46912 Update usage of libcurl and libgnutls compiler flags, allow correct compilation with "--with-gnutls=prefix" 2014-03-06 10:50:52 +00:00
Evgeny Grin (Karlson2k) fdc23c4e36 Cleanup libmicrospdy extra flags 2014-03-05 20:07:11 +00:00
Evgeny Grin (Karlson2k) 3e2d1f25f2 Remove global dependency on PTHREAD_LIBS and use it only where it's required 2014-02-26 17:55:27 +00:00
Evgeny Grin (Karlson2k) 41e5c4888a Remove PlibC from autotools files 2014-02-18 18:40:50 +00:00
Evgeny Grin (Karlson2k) 8b28e693b2 add sleep() and usleep() replacement for W32 2014-02-18 18:39:31 +00:00
Evgeny Grin (Karlson2k) c311027f28 Implement MHD_socket, MHD_INVALID_SOCKET 2014-02-18 18:37:48 +00:00
Christian Grothoff e657e19644 Karlson2k: fix AM_CPPFLAGS vs AM_CFLAGS usage 2014-02-18 07:09:20 +00:00
Christian Grothoff e4e05d001c enable use of keep-alive with http 1.0 if explicitly requested by the client 2014-01-01 20:43:44 +00:00
Andrey Uzunov cb11cac74d mhd2spdy: usage info 2013-12-28 20:45:25 +00:00
Andrey Uzunov c81afd7682 spdy: fixed bug when adding header with NULL value 2013-12-28 18:43:28 +00:00
Christian Grothoff 324e9852db -work around compiler warnings 2013-12-22 13:55:17 +00:00
Christian Grothoff 9889fd9eee add support for SNI 2013-12-21 16:28:54 +00:00
Christian Grothoff 00a9277f49 -fix postexample 2013-12-21 16:27:06 +00:00
Andrey Uzunov d7a7a47de5 mhd2spdy: minor bugs fixed 2013-12-08 22:05:57 +00:00
Andrey Uzunov 78948196e5 mhd2spdy: dont die on frame for unknown stream 2013-10-10 15:01:37 +00:00
Andrey Uzunov ab4fa1fdbc mhd2spdy: dont send duplicate RST_STREAMs 2013-10-08 18:05:13 +00:00
Christian Grothoff b06f52c0a5 -rename OPAQUE to MY_OPAQUE to avoid symbol conflict on W32 2013-09-23 13:01:42 +00:00
Andrey Uzunov 959b2e8d5d mhd2spdy: memory leaks (cleaning up proxy structs) fixed now 2013-09-08 11:48:01 +00:00
Andrey Uzunov b49eb1361d mhd2spdy: segfaults on cleaning up proxy structs fixed 2013-09-03 10:48:18 +00:00
Andrey Uzunov 02171fdaeb mhd2spdy: changes to use MHDs request completed callback 2013-08-28 22:43:31 +00:00
Andrey Uzunov 0617124c36 mhd2spdy: simple statistics (send/received bytes) added 2013-08-28 15:11:55 +00:00