[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] GNU libmicrohttpd branch master updated. 70

From: gitolite
Subject: [GNUnet-SVN] [libmicrohttpd] GNU libmicrohttpd branch master updated. 70f3f88b24c206dab45a9b9afbdcb444db9c9e1a
Date: Sun, 30 Oct 2016 17:05:57 +0100 (CET)

The branch, master has been updated
       via  70f3f88b24c206dab45a9b9afbdcb444db9c9e1a (commit)
      from  63abb11b52edbee5773edf6031e15408b6f722c6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 70f3f88b24c206dab45a9b9afbdcb444db9c9e1a
Author: Evgeny Grin (Karlson2k) <address@hidden>
Date:   Sun Oct 30 19:05:17 2016 +0300

    Print error if upgraded connection was not closed before daemon shutdown.


Summary of changes:
 src/microhttpd/daemon.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 622ab34..2d0ab19 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -972,6 +972,13 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
   if (MHD_NO != urh->connection->daemon->shutdown)
       /* Daemon shutting down, application will not receive any more data. */
+      if (MHD_NO == urh->was_closed)
+        {
+          MHD_DLOG (urh->connection->daemon,
+                    _("Initiated daemon shutdown while \"upgraded\" connection 
was not closed.\n"));
+        }
       urh->was_closed = MHD_YES;
   if (MHD_NO != urh->was_closed)

GNU libmicrohttpd

reply via email to

[Prev in Thread] Current Thread [Next in Thread]