483 Commits
Author SHA1 Message Date
Christian Grothoff c061d50ad2 releasing 0.9.52 2016-10-17 19:13:52 +02:00
Christian Grothoff 1218e0e1f0 migrating to Git 2016-10-12 14:32:47 +02:00
Christian Grothoff 9924fd6aa2 update changelog 2016-10-11 16:10:39 +00:00
Evgeny Grin (Karlson2k) dc5610c14b Updated ChangeLog and bimped version patchlevel. 2016-10-11 15:21:38 +00:00
Christian Grothoff 53e25ec3e4 implement #3557 2016-09-22 15:51:57 +00:00
Christian Grothoff 4acefd453f simplify error handling by baking it into the macros 2016-09-22 09:25:18 +00:00
Evgeny Grin (Karlson2k) 0396eb2fc2 Added autoconf macro for maximum platform features. 2016-09-13 19:23:30 +00:00
Christian Grothoff 2a1c84ac26 applying Hawk's fix for #4641 2016-09-07 11:17:32 +00:00
Christian Grothoff 74d383c581 address #4614: mark translatable strings with _-macro 2016-09-06 22:29:11 +00:00
Christian Grothoff 3645e60435 implement out-of-order nonce support (#4636) 2016-09-06 21:42:07 +00:00
Christian Grothoff c073888899 -add back Martin's fix, he was right 2016-09-06 19:31:25 +00:00
Christian Grothoff 5ef83163f7 adding gettext stuff for fixing #4614 2016-09-05 12:04:54 +00:00
Christian Grothoff a1ad4d8505 -chlog update 2016-09-04 16:16:19 +00:00
Christian Grothoff 57ab27681e -note on progress in ChangeLog 2016-09-04 15:26:10 +00:00
Christian Grothoff 6fa19ae05f implementing 'Connection: upgrade' for thread-per-connection modes, but untested 2016-09-03 09:56:30 +00:00
Christian Grothoff cfbd80d1e1 add testcase for HTTP Upgrade 2016-08-27 19:01:52 +00:00
Christian Grothoff e0a43cb194 sketching support for upgrade handling 2016-08-27 18:08:00 +00:00
Christian Grothoff a63de8b17d -releasing 0.9.51 2016-08-27 17:06:24 +00:00
Evgeny Grin (Karlson2k) f588bc469e Bumped MHD_VERSION and updated ChangeLog. 2016-08-23 20:13:35 +00:00
Evgeny Grin (Karlson2k) c03f19520a configure.ac: minor fix for non-bash shells 2016-08-16 12:17:55 +00:00
Christian Grothoff e1257548da fixing crash bug, connection-limit bug and documenting connection-limit behavior better 2016-08-15 11:13:50 +00:00
Evgeny Grin (Karlson2k) 5957e145cb Updated ChangeLog, bump build version 2016-08-10 13:52:54 +00:00
Evgeny Grin (Karlson2k) 4d0d4701c6 Updated ChangeLog and bump MHD_VERSION 2016-07-23 18:55:18 +00:00
Christian Grothoff dcc7066746 print warning if application code performing connection POST processing is buggy 2016-07-16 19:56:26 +00:00
Christian Grothoff 39f06e27b7 fix FIXME in tutorial 2016-07-08 19:35:27 +00:00
Christian Grothoff 0bfe068c10 support 308 2016-07-08 13:59:36 +00:00
Evgeny Grin (Karlson2k) 0320b17392 configure.ac: use shutdown to trigger select on NetBSD (tested) 2016-06-25 12:01:54 +00:00
Christian Grothoff 69b9aa6513 -fix ftbfs 2016-06-02 09:25:39 +00:00
Christian Grothoff 3d0516f447 do not generate Content-Length header for 1xx/204/304 replies, also suppress transmission of message body in these cases 2016-06-01 20:02:30 +00:00
Christian Grothoff 8a4e48c6f4 add MHD_CONNECTION_INFO_CONNECTION_SUSPENDED 2016-05-17 11:37:54 +00:00
Christian Grothoff de6e50d00e handle EMFILE, ENFILE, ENOBUF on accept 2016-05-15 10:20:04 +00:00
Christian Grothoff f2c43acacc fix epoll ready check reported by Chris Penev on the mailinglist 2016-05-12 06:45:18 +00:00
Christian Grothoff 84ec6a79ca adding logic to do 'fast' calls to read/write on a single connection without going back to the main event loop to help FE with his performance issue 2016-05-02 04:13:06 +00:00
Christian Grothoff cc803ec8c2 clarifications to manual re: [libmicrohttpd] MHD_ContentReaderCallback and Byte serving 2016-04-30 08:24:42 +00:00
Evgeny Grin (Karlson2k) 89060147a1 test_concurrent_stop ported to use pthread instead of fork() 2016-04-23 20:20:12 +00:00
Evgeny Grin (Karlson2k) 1fe4a6c702 test_quiesce: do not violate our API 2016-04-23 16:16:03 +00:00
Evgeny Grin (Karlson2k) 32d09c8391 MHD_quiesce_daemon(): notify other threads so listen socket FD
is removed from awaiting select() and poll().
2016-04-23 16:15:58 +00:00
Evgeny Grin (Karlson2k) b3903cffea Revert "shutdown trigger select" on Darwin.
Fixed daemon shutdown on Darwin without "MHD_USE_PIPE_FOR_SHUTDOWN" option.
2016-04-23 16:15:55 +00:00
Evgeny Grin (Karlson2k) 366a260595 Fixed race conditions for thread pool. 2016-04-22 15:03:27 +00:00
Evgeny Grin (Karlson2k) 11dc6d06af Updated test_post.c to not ignore specific error on W32 if libcurl
is built with workaround for WinSock bug.
2016-04-20 18:29:38 +00:00
Evgeny Grin (Karlson2k) 49e6153824 Fixed rare situations when suspended connection can't be resumed. 2016-04-18 19:43:58 +00:00
Evgeny Grin (Karlson2k) f5393bb0dd Fixed handling of caller-supplied socket with MHD_OPTION_LISTEN_SOCKET.
Was regression in 0.9.49.
2016-04-12 21:52:33 +00:00
Evgeny Grin (Karlson2k) ed74ec9db8 Releasing 0.9.49 2016-04-09 13:08:05 +00:00
Evgeny Grin (Karlson2k) 085bc84505 Reworked calling shutdown() on connections:
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.
2016-04-08 18:40:58 +00:00
Christian Grothoff c39414cdc7 Dan Dedrick wrote:
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.
2016-03-15 20:54:16 +00:00
Christian Grothoff c932ba77fd fix unnecessary and potentially problematic use of eready DLL in thread-per-connection mode 2016-03-15 19:31:42 +00:00
Evgeny Grin (Karlson2k) 96010724e3 Added test for checking ability of shutdown() on socket to trigger poll() 2016-02-05 20:47:58 +00:00
Evgeny Grin (Karlson2k) 101e71a8cf Added some buffer overrun protection, fixed handling of misformed URI with spaces. 2016-02-04 11:44:04 +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