aboutsummaryrefslogtreecommitdiff
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)
972 if (MHD_NO != urh->connection->daemon->shutdown) 972 if (MHD_NO != urh->connection->daemon->shutdown)
973 { 973 {
974 /* Daemon shutting down, application will not receive any more data. */ 974 /* Daemon shutting down, application will not receive any more data. */
975#ifdef HAVE_MESSAGES
976 if (MHD_NO == urh->was_closed)
977 {
978 MHD_DLOG (urh->connection->daemon,
979 _("Initiated daemon shutdown while \"upgraded\" connection was not closed.\n"));
980 }
981#endif
975 urh->was_closed = MHD_YES; 982 urh->was_closed = MHD_YES;
976 } 983 }
977 if (MHD_NO != urh->was_closed) 984 if (MHD_NO != urh->was_closed)