Commit Graph
412 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) b1625cb1af Faster drain pipes. 2016-02-05 13:15:18 +00:00
Evgeny Grin (Karlson2k) 51aba3944b Fixed MHD_pipe_drain_ with emulated pipes 2016-02-05 13:15:14 +00:00
Christian Grothoff b2a05d373c trying to fix full signal pipe issue reported on ML 2016-02-03 14:43:27 +00:00
Evgeny Grin (Karlson2k) 6767963266 Fix running select() on W32 with empty fdsets - W32 return error if no socket is marked in fdsets. 2016-01-30 15:57:42 +00:00
Evgeny Grin (Karlson2k) ad9b3c3814 Use only US-ASCII charset when comparing stings as caseless as required by standard.
Comparisons for HTTP headers must not be affected by locale settings.
2016-01-16 19:23:00 +00:00
Evgeny Grin (Karlson2k) 56810e175c microhttpd.h: A little bit clarified deprecation macros. 2016-01-16 17:10:49 +00:00
Evgeny Grin (Karlson2k) bca0b80070 microhttpd.h: fixed declaration of MHD_get_reason_phrase_for() 2016-01-12 16:15:24 +00:00
Christian Grothoff f0b2df0912 -dox 2016-01-05 12:36:47 +00:00
Christian Grothoff 5baba378c2 releasing 0.9.48 2015-12-18 14:56:04 +00:00
Evgeny Grin (Karlson2k) 93486b2cc1 Fixed comments in microhttpd.h 2015-12-12 14:18:02 +00:00
Evgeny Grin (Karlson2k) 9403196ad0 Change default listen backlog size from 32 to SOMAXCONN, allow to specify required listen backlog size 2015-12-08 20:48:44 +00:00
Evgeny Grin (Karlson2k) 90f4046de0 Use real system default value of FD_SETSIZE instead of guessing 2015-12-08 10:59:54 +00:00
Evgeny Grin (Karlson2k) 6cf9fb3719 Handle redefined FD_SETSIZE and really redefine FD_SETSIZE for W32 2015-12-07 20:51:11 +00:00
Christian Grothoff dbf115059a -bump 2015-12-05 16:34:10 +00:00
Christian Grothoff c4448622ca releasing 0.9.47 2015-12-04 13:06:18 +00:00
Evgeny Grin (Karlson2k) df596a5a47 Added comments for deprecation macros in microhttpd.h 2015-12-04 10:52:38 +00:00
Evgeny Grin (Karlson2k) 2515991a17 Updated ChangeLog and bumped MHD_VERSION 2015-12-03 18:31:29 +00:00
Evgeny Grin (Karlson2k) c23721b4ca connection.c: refactor get_date_string() for clarity, distinguish
different gmtime_s() forms, support C11 gmtime_s()
2015-12-03 11:53:15 +00:00
Evgeny Grin (Karlson2k) 738ba14cc9 Add support for native snprintf() on W32. 2015-12-03 11:53:12 +00:00
Christian Grothoff fdc3e17e30 killing libmicrospdy 2015-12-01 13:06:38 +00:00
Evgeny Grin (Karlson2k) e5a4e0234f Eliminate delay of response on platforms where socket flushing is not possible,
send header to clients without delay on all platforms to allow clients to take
some action depending on header content, send "100 continue" without delay.
2015-12-01 10:19:34 +00:00
Evgeny Grin (Karlson2k) 602a14fb5d Reduce last packet response delay observable with keep-alive on BSD and Darwin platforms 2015-11-25 18:45:22 +00:00
Evgeny Grin (Karlson2k) 6e4a434cfc Add and use _MHD_SOCKOPT_BOOL_TYPE for simplify usage of setsockopt() on W32/POSIX sockets. 2015-11-21 19:43:06 +00:00
Christian Grothoff 70ca8aaaea Hi folks,
I guess i found a problem with suspended connections. There is a
scenarion where one can resume a connection and then stop the daemon
without gives the daemon the oportunity to really resume the connection.
In this case, microhttpd will abort telling one that there is suspended
connection (because the connection is still in the daemon's suspended
list).

The following patch solves the problem (i've this problem using external
mainloop).

Regards,
Flavio Ceolin
2015-11-10 14:27:57 +00:00
Christian Grothoff 3ed1e8de9f -fix shrinkage 2015-11-06 21:56:46 +00:00
Christian Grothoff 5f57331ea1 -fix by undoing part of 36568 2015-11-03 22:37:47 +00:00
Evgeny Grin (Karlson2k) e9965917df More support for old clang in deprecation macros 2015-10-27 13:36:33 +00:00
Evgeny Grin (Karlson2k) da7012adc9 Update deprecation macros for new GCC, better support old clang 2015-10-27 12:23:42 +00:00
Evgeny Grin (Karlson2k) c8acb9ceb6 Fix deprecation macros resulting in compilation errors with old GCC versions 2015-10-27 12:23:39 +00:00
Christian Grothoff dc54cd092a realize suggestion from FC on MHD list to improve MHD_get_connection_values() when used with a bitmask 2015-10-25 22:07:42 +00:00
Christian Grothoff 2a6eada873 -fix assertion failure from race on shutdown and buffer shrinkage with pipelining 2015-10-25 14:33:28 +00:00
Christian Grothoff 72f05a8364 deduplicate arg parsing logic between connection.c and digestauth.c (now in internal.c) 2015-10-05 10:06:13 +00:00
Christian Grothoff dd749c2274 releasing 0.9.44 2015-10-01 19:27:08 +00:00
Christian Grothoff f2bce4c656 fix digest auth when used with more complex arguments being passed to GET, i.e. keys without missing values at the beginning and certain other constellations 2015-09-25 07:51:21 +00:00
Christian Grothoff 94c16f349d help systemd by not calling shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN is given 2015-09-22 17:21:33 +00:00
Christian Grothoff 316f6c4ef3 -releasing 0.9.43 2015-09-16 09:08:18 +00:00
Christian Grothoff 9e87c9a225 patch from FC to fix use of resume in combination with external select 2015-09-02 14:45:28 +00:00
Christian Grothoff 475b350b71 correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY is allowed (previous formulation was wrong) 2015-08-30 12:55:04 +00:00
Evgeny Grin (Karlson2k) 70f7ad46eb Reimplement monotonic clock with wide range of platforms support 2015-08-27 09:43:09 +00:00
Christian Grothoff de029f6250 export MHD_get_reason_phrase_for 2015-08-14 12:19:43 +00:00
Evgeny Grin (Karlson2k) e15abfd99c daemon.c: recv_param_adapter(): fix VS compiler warning for send()/recv() 2015-08-08 12:30:06 +00:00
Evgeny Grin (Karlson2k) ca715348d3 daemon.c: MHD_handle_connection(): check timeout value for overflow of W32 2015-08-08 12:29:43 +00:00
Christian Grothoff d5048c2285 fix #3924 2015-08-04 11:52:05 +00:00
Christian Grothoff 58b30e7e5e fix #3926: ignore close() errors other than EBADF 2015-08-02 17:11:48 +00:00
Evgeny Grin (Karlson2k) f8b49a0730 platform.h: correction of sleep() and usleep() replacements for W32 2015-07-07 18:32:53 +00:00
Evgeny Grin (Karlson2k) c69306c17d Fix C++-style comments 2015-07-07 18:32:45 +00:00
Evgeny Grin (Karlson2k) 2c842e6b95 Move all internal limits definitions to MHD_limits.h 2015-07-07 18:32:33 +00:00
Christian Grothoff 4d997941e3 fix late counter-decrement issue reported by MD on the mailinglist 2015-06-27 20:19:25 +00:00
Christian Grothoff 7eba79ea86 fix HEAD handling issue in connection with MHD_create_response_from_callback reported by Cristian Klein on the mailinglist 2015-06-26 21:20:27 +00:00
Christian Grothoff 2d02ec7e60 add content-disposition 2015-06-26 09:28:32 +00:00