projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2ad092
)
frontend_net: fix compilation on Windows (SIGUSR1 does not exist)
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 17 Mar 2014 11:28:59 +0000
(12:28 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 17 Mar 2014 11:28:59 +0000
(12:28 +0100)
src/filter_frontend_net.cpp
patch
|
blob
|
history
diff --git
a/src/filter_frontend_net.cpp
b/src/filter_frontend_net.cpp
index
9313411
..
6c70880
100644
(file)
--- a/
src/filter_frontend_net.cpp
+++ b/
src/filter_frontend_net.cpp
@@
-604,6
+604,7
@@
void yf::FrontendNet::process(mp::Package &package) const
yaz_log(YLOG_LOG, "metaproxy received SIGTERM");
break; /* stop right away */
}
+#ifndef WIN32
if (m_p->m_stop_signo == SIGUSR1)
{ /* just stop listeners and cont till all sessions are done*/
yaz_log(YLOG_LOG, "metaproxy received SIGUSR1");
@@
-616,6
+617,7
@@
void yf::FrontendNet::process(mp::Package &package) const
yaz_daemon_stop();
}
}
+#endif
int no = m_p->mySocketManager.getNumberOfObservers();
if (no <= 1)
break;