From: Milan Straka <fox@ucw.cz>
Date: Wed, 29 Oct 2014 09:17:42 +0100
Subject: [PATCH 1/2] Split daemon->max_connections to connections and
 connection_limit.

In order to be able to return number of parallel connections, we need
to now both the actual number and the limit. Nevertheless, until now only
  max_connections = connection_limit - connections
was kept. We now store both the connection_limit and connections.


git-svn-id: https://gnunet.org/svn/libmicrohttpd@34386 140774ce-b5e7-0310-ab8b-a85725594a96
minor code clean up via CSE

git-svn-id: https://gnunet.org/svn/libmicrohttpd@34387 140774ce-b5e7-0310-ab8b-a85725594a96
From: Milan Straka <fox@ucw.cz>
Date: Wed, 29 Oct 2014 09:59:09 +0100
Subject: [PATCH 2/2] Add MHD_DAEMON_INFO_CURRENT_CONNECTIONS to
 MHD_DaemonInfoType.

The MHD_DAEMON_INFO_CURRENT_CONNECTIONS returns number of current
connections handled by the daemon.

Useful after MHD_quiesce_daemon to find out whether all connections
have been served.


git-svn-id: https://gnunet.org/svn/libmicrohttpd@34388 140774ce-b5e7-0310-ab8b-a85725594a96
-no comma at end of enum

git-svn-id: https://gnunet.org/svn/libmicrohttpd@34389 140774ce-b5e7-0310-ab8b-a85725594a96
make sure we always set non-zero errno in send_tls_adapter

git-svn-id: https://gnunet.org/svn/libmicrohttpd@34390 140774ce-b5e7-0310-ab8b-a85725594a96
handle bogus return value from send() call

git-svn-id: https://gnunet.org/svn/libmicrohttpd@34391 140774ce-b5e7-0310-ab8b-a85725594a96