aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
Commit message (Collapse)AuthorAge
* MHD_digest_auth_check(): used internal function to decode nc, fixed ↵Evgeny Grin (Karlson2k)2016-04-12
| | | | | | | incorrect check (should be 'ULONG_MAX', not 'LONG_MAX'), new check is more strict. Function should be more secure now.
* MHD_digest_auth_check(): decode timestamp value by internal function, added ↵Evgeny Grin (Karlson2k)2016-04-12
| | | | | | | error checking, added buffer overrun checking. digest auth now should be more secure
* mhd_str: added MHD_strx_to_uint32_(), MHD_strx_to_uint32_n_(), ↵Evgeny Grin (Karlson2k)2016-04-12
| | | | | | MHD_strx_to_uint64_() and MHD_strx_to_uint64_n_() functions
* connection.c: used internal US-ASCII-only hex string -> value conversionEvgeny Grin (Karlson2k)2016-04-12
|
* mhd_str: added hex string to value conversion functionsEvgeny Grin (Karlson2k)2016-04-12
|
* struct MHD_NonceNc: use uint64_t for counter.Evgeny Grin (Karlson2k)2016-04-12
| | | | This produce same result on all platforms.
* connection.c: removed unused variable, silent compiler warningEvgeny Grin (Karlson2k)2016-04-12
|
* mhd_str.c: cosmetics, corrected commentsEvgeny Grin (Karlson2k)2016-04-12
|
* mhd_str: refactored MHD_str_to_uint64() and MHD_str_to_uint64_n_() for ↵Evgeny Grin (Karlson2k)2016-04-12
| | | | | | simplification, more error checking and optimization
* mhd_str: fixed typo in commentEvgeny Grin (Karlson2k)2016-04-11
|
* parse_connection_headers(): fixed uploading by POST files larger then LONG_MAXEvgeny Grin (Karlson2k)2016-04-11
|
* mhd_str: added MHD_str_to_uint64_() and MHD_str_to_uint64_n_() functions for ↵Evgeny Grin (Karlson2k)2016-04-11
| | | | | | US-ASCII-only operations, independently on locale
* -indentChristian Grothoff2016-04-10
|
* Corrected typos in commentsEvgeny Grin (Karlson2k)2016-04-10
|
* Use less locking with MHD_USE_THREAD_PER_CONNECTION.Evgeny Grin (Karlson2k)2016-04-10
| | | | | Do not maintain global list out timeouts as each thread use individual timeout. As result - global mutex is not acquired after each single send()/recv().
* Silent compiler warningEvgeny Grin (Karlson2k)2016-04-10
|
* one variable per lineChristian Grothoff2016-04-08
|
* Reworked calling shutdown() on connections:Evgeny Grin (Karlson2k)2016-04-08
| | | | | | Now called on all platforms (including W32), called only with SHUT_WR, except in close_all_connections() where shutdown() called with SHUT_RDWR. This should increase chances of graceful disconnection.
* connection.c: remove unneeded check in try_ready_normal_body()Evgeny Grin (Karlson2k)2016-04-08
|
* Check result of snprintf() in basicauth.c and digestauth.c, log more errorsEvgeny Grin (Karlson2k)2016-04-08
|
* daemon.c: remove unused variable in MHD_handle_connection()Evgeny Grin (Karlson2k)2016-04-08
|
* connection.c: fix using uninitialized variable in build_header_response()Evgeny Grin (Karlson2k)2016-04-08
|
* Dan Dedrick wrote:Christian Grothoff2016-03-15
| | | | | | | | | | | | | | | If pthread_create fails for some reason we need to not access the thread pointer as it will not be valid. Without this check a failed return code from pthread_create would cause a SIGSEGV to occur. An instance that pthread_create could fail is if enough connections were established that we ran out of space in our mapping to create another thread stack. Specifically I have seen this occur with systemd-journal-gatewayd where there was a bug with not releasing connections after they had disconnected. I submitted a fix for that here: https://github.com/systemd/systemd/pull/2287 but it would really be best if libmicrohttpd didn't SIGSEGV under these conditions.
* fix unnecessary and potentially problematic use of eready DLL in ↵Christian Grothoff2016-03-15
| | | | thread-per-connection mode
* -missunderstanding test...Christian Grothoff2016-02-22
|
* -these tests should pass even if we do not have listen-shutdownChristian Grothoff2016-02-22
|
* Added more detailed description for test_shutdown_select.cEvgeny Grin (Karlson2k)2016-02-19
|
* Really fixed Makefile for poll testEvgeny Grin (Karlson2k)2016-02-06
|
* fixed Makefile for poll testEvgeny Grin (Karlson2k)2016-02-05
|
* Added test for checking ability of shutdown() on socket to trigger poll()Evgeny Grin (Karlson2k)2016-02-05
|
* bracket correctlyChristian Grothoff2016-02-05
|
* Added some buffer overrun protection, fixed handling of misformed URI with ↵Evgeny Grin (Karlson2k)2016-02-04
| | | | spaces.
* trying to fix full signal pipe issue reported on MLChristian Grothoff2016-02-03
|
* Added test for checking ability of shutdown() on socket to trigger select()Evgeny Grin (Karlson2k)2016-01-25
|
* Reworked code for using accept4(), epoll_create1() and socket() with ↵Evgeny Grin (Karlson2k)2016-01-21
| | | | SOCK_CLOEXEC, SOCK_NONBLOCK and EPOLL_CLOEXEC. On some systems SOCK_CLOEXEC, SOCK_NONBLOCK and EPOLL_CLOEXEC are defined as enum members with the same names so precompiler assume zero value of such macros.
* Fixed making sockets non-blocking.Evgeny Grin (Karlson2k)2016-01-21
|
* daemon.c: refactored code making sockets non-blocking and non-inheritable: ↵Evgeny Grin (Karlson2k)2016-01-19
| | | | cleaned up, clarified and little bit optimized.
* Remove workaround for Cygwin and use non-blocking sockets everywhere.Evgeny Grin (Karlson2k)2016-01-19
| | | | Tested on Cygwin 1.7.28 and 2.4.0 x86/x86_64.
* -indentingChristian Grothoff2016-01-18
|
* add redundant length check to make static checkers happy and to avoid ↵Christian Grothoff2016-01-18
| | | | trouble in the future
* make_nonblocking_noninheritable(): fixed checking for current non-blocking ↵Evgeny Grin (Karlson2k)2016-01-17
| | | | | | flags, improved error report.
* make_nonblocking_noninheritable(): removed one system callEvgeny Grin (Karlson2k)2016-01-17
|
* daemon.c: refactored code around accept4() for clarity and to remove ↵Evgeny Grin (Karlson2k)2016-01-17
| | | | unneeded variable
* Do not give up if sendfile() failed with EINVALEvgeny Grin (Karlson2k)2016-01-17
|
* -need stdlib for size_tChristian Grothoff2016-01-17
|
* Use only US-ASCII charset when comparing stings as caseless as required by ↵Evgeny Grin (Karlson2k)2016-01-16
| | | | | | standard. Comparisons for HTTP headers must not be affected by locale settings.
* configure.ac: cleanup and fixes related to optional features, corresponding ↵Evgeny Grin (Karlson2k)2016-01-11
| | | | changes in source files
* mono clock: prefer native clock on W32Evgeny Grin (Karlson2k)2015-12-25
|
* Be more compatible with older compilersEvgeny Grin (Karlson2k)2015-12-15
|
* rev 36743 missed a spotDavid Barksdale2015-12-08
|