aboutsummaryrefslogtreecommitdiff
path: root/src
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
|
* Releasing 0.9.49Evgeny Grin (Karlson2k)2016-04-09
|
* 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
|
* platform_interface.h: fix possible NULL pointer dereference on Win32Evgeny 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
|
* Fix testsuite compiler warnings on W32Evgeny Grin (Karlson2k)2016-03-26
|
* 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
* -fix as suggested by EGChristian Grothoff2016-02-22
|
* -missunderstanding test...Christian Grothoff2016-02-22
|
* -these tests should pass even if we do not have listen-shutdownChristian Grothoff2016-02-22
|
* -check for versions, report tests as skipped if versions missmatchChristian Grothoff2016-02-20
|
* be more forceful about stopping test clientsChristian Grothoff2016-02-20
|
* 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
|
* Fixed test compilation warnings for native W32 x64Evgeny Grin (Karlson2k)2016-02-05
|
* bracket correctlyChristian Grothoff2016-02-05
|
* Faster drain pipes.Evgeny Grin (Karlson2k)2016-02-05
|
* Fixed MHD_pipe_drain_ with emulated pipesEvgeny Grin (Karlson2k)2016-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
|
* Fix running select() on W32 with empty fdsets - W32 return error if no ↵Evgeny Grin (Karlson2k)2016-01-30
| | | | socket is marked in fdsets.
* applying cosmetics patch #4137Christian Grothoff2016-01-28
|
* Added test for checking ability of shutdown() on socket to trigger select()Evgeny Grin (Karlson2k)2016-01-25
|
* current zzuf no longer needs, and no longer supports '--'Christian Grothoff2016-01-23
|
* -check rvalChristian Grothoff2016-01-23
|
* -avoid theoretical issue with error_count overflowing depending on libcurl ↵Christian Grothoff2016-01-23
| | | | errnos
* 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
|