summaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 622ab34e..2d0ab197 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. */
+#ifdef HAVE_MESSAGES
+ if (MHD_NO == urh->was_closed)
+ {
+ MHD_DLOG (urh->connection->daemon,
+ _("Initiated daemon shutdown while \"upgraded\" connection was not closed.\n"));
+ }
+#endif
urh->was_closed = MHD_YES;
}
if (MHD_NO != urh->was_closed)