Commit Graph
1786 Commits
Author SHA1 Message Date
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
Evgeny Grin (Karlson2k) 76345508b0 make_nonblocking_noninheritable(): fixed checking for current non-blocking flags,
improved error report.
2016-01-17 16:55:25 +00:00
Evgeny Grin (Karlson2k) 3a2ecf68e6 make_nonblocking_noninheritable(): removed one system call 2016-01-17 16:25:58 +00:00
Evgeny Grin (Karlson2k) f2fb248061 daemon.c: refactored code around accept4() for clarity and to remove unneeded variable 2016-01-17 16:04:53 +00:00
Evgeny Grin (Karlson2k) a0b1426077 Do not give up if sendfile() failed with EINVAL 2016-01-17 11:32:41 +00:00
Christian Grothoff 05c06d6be1 -need stdlib for size_t 2016-01-17 00:00:54 +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
Evgeny Grin (Karlson2k) 4f7cfbe58e configure.ac: cleanup and fixes related to optional features, corresponding changes in source files 2016-01-11 20:15:19 +00:00
Evgeny Grin (Karlson2k) 8c9d9c442d configure.ac: cleaned up and refactored threading lib selection for clarity 2016-01-11 20:15:15 +00:00
Christian Grothoff f0b2df0912 -dox 2016-01-05 12:36:47 +00:00
Evgeny Grin (Karlson2k) d748e61fc0 configure.ac: Do not add content of $ac_cv_prog_cc_stdc to $CFLAGS as it's added to $CC automatically. 2016-01-03 16:21:11 +00:00
Evgeny Grin (Karlson2k) 5b20adc708 mono clock: prefer native clock on W32 2015-12-25 11:37:47 +00:00
Christian Grothoff 322941446c Evgeny is now officially co-maintainer 2015-12-21 06:36:34 +00:00
Christian Grothoff 5baba378c2 releasing 0.9.48 2015-12-18 14:56:04 +00:00
Evgeny Grin (Karlson2k) 0074887f31 Updated ChangeLog 2015-12-16 17:43:13 +00:00
Evgeny Grin (Karlson2k) 378e7495db Be more compatible with older compilers 2015-12-15 15:35:55 +00:00
Evgeny Grin (Karlson2k) 93486b2cc1 Fixed comments in microhttpd.h 2015-12-12 14:18:02 +00:00
Christian Grothoff 26a19e6787 cleaning up largepost 2015-12-11 22:29:46 +00:00
David Barksdale 5ac9c98355 rev 36743 missed a spot 2015-12-08 21:54:35 +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) 8ace389d37 MHD_select(): handle at least some of pending connections instead of failing without any data processing 2015-12-08 20:02:43 +00:00
Evgeny Grin (Karlson2k) 855576097e daemon.c: rename variables 'max' to prevent conflicts with system macros 2015-12-08 19:35:47 +00:00
Evgeny Grin (Karlson2k) 69c472a541 MHD_get_fdset() & MHD_get_fdset2(): continue to add FDs to sets in case of error. 2015-12-08 19:35:45 +00:00
Evgeny Grin (Karlson2k) f4cfc00ccb daemon.c: print log messages when dealing with fdsets on all platforms;
replace listen socket in fdset with pipe FD instead of failing if no fdset space is available on W32.
2015-12-08 19:35:42 +00:00
Evgeny Grin (Karlson2k) 621cae4168 Added missing files 2015-12-08 11:19:17 +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 95d9c85bab -cosmetics 2015-12-05 16:58:38 +00:00
Christian Grothoff dbf115059a -bump 2015-12-05 16:34:10 +00:00
Christian Grothoff 9b083f8fbe aggressively close sockets in multi-threaded operation 2015-12-05 16:31:45 +00:00
Christian Grothoff 8b0e534ac4 add timeout example 2015-12-05 16:30:51 +00:00
Christian Grothoff c4448622ca releasing 0.9.47 2015-12-04 13:06:18 +00:00
Evgeny Grin (Karlson2k) 90341c2782 examples/sessions.c: small fix 2015-12-04 11:12:09 +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) b1a8e8d00c Fix running bootstrap with relative path 2015-12-03 14:22:31 +00:00
Evgeny Grin (Karlson2k) cec4f5eb37 Remove traces of libmicrospdy 2015-12-03 13:41:23 +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
Evgeny Grin (Karlson2k) b7cfbdeaf0 VS projects: added missing define for gmtime_s() to MHD_config.h for VS 2015-12-03 11:53:09 +00:00
Evgeny Grin (Karlson2k) 5ee115194b VS projects: added solution for VS2015 2015-12-03 11:53:07 +00:00
Evgeny Grin (Karlson2k) 74b2370bc2 VS projects: restructured VS project files to share common values 2015-12-03 11:53:03 +00:00
Evgeny Grin (Karlson2k) 974314357d VS projects: prefer building by x64 tools 2015-12-03 11:52:59 +00:00
Evgeny Grin (Karlson2k) 1cbf43c0a0 VS projects: moved list of files to separate .vcxproj 2015-12-03 11:52:57 +00:00
Evgeny Grin (Karlson2k) 18f39a54b7 VS projects: used reference to lib project instead of manually linking, cleaned up extra dependencies 2015-12-03 11:52:54 +00:00