Module: ngircd.git
Branch: master
Commit: cdae82413d20c802bbde11f994b8736df38e978b
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=cdae8241…
Author: Alexander Barton <alex(a)barton.de>
Date: Fri Sep 10 21:22:08 2010 +0200
Update ChangeLog and NEWS: include SIGUSR1/SIGUSR2 changes
---
ChangeLog | 7 +++++++
NEWS | 6 ++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2fca3a4..73c98d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,13 @@
ngIRCd Release 17
+ - Dump the "internal server state" (configured servers, established
+ connections and known clients) to the console or syslog when receiving
+ the SIGUSR2 signal and debug mode is enabled.
+ - Enable the daemon to disable and enable "debug mode" on runtime using
+ signal SIGUSR1, when debug code is compiled in, not only on startup
+ using the command line parameters.
+ - Conn_SyncServerStruct(): test all connections; and work case insensitive
- configure script: correctly indent IPv6 yes/no summary output.
- Don't reset My_Connections[Idx].lastping when reading data, so the
client lag debug-output is working again.
diff --git a/NEWS b/NEWS
index a4c1a11..d3a600c 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,12 @@
ngIRCd Release 17
+ - Dump the "internal server state" (configured servers, established
+ connections and known clients) to the console or syslog when receiving
+ the SIGUSR2 signal and debug mode is enabled.
+ - Enable the daemon to disable and enable "debug mode" on runtime using
+ signal SIGUSR1, when debug code is compiled in, not only on startup
+ using the command line parameters.
- Implement user mode "x": hostname cloaking (closes: #102).
- Change MOTD file handling: ngIRCd now caches the contens of the MOTD
file, so the daemon now requires a HUP signal or REHASH command to
Module: ngircd.git
Branch: master
Commit: 1fe17e246cba4ee2f4349196c544296790ab5d55
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=1fe17e24…
Author: Florian Westphal <fw(a)strlen.de>
Date: Sat Sep 11 00:19:01 2010 +0200
Add new 'delayed' signal handlers.
Allows to defer/queue signal processing for execution on the next
event dispatch call, i.e. we can perform any signal action in
normal, non-signal context.
Example uses:
- Reload everything on HUP without writing a global "SIGHUP_received"
variable
- Dump status of internal Lists on SIGUSR1, etc.
---
configure.in | 2 +-
src/ngircd/Makefile.am | 2 +-
src/ngircd/conn.c | 5 -
src/ngircd/ngircd.c | 89 ++-----------------
src/ngircd/ngircd.h | 2 +
src/ngircd/parse.c | 4 +-
src/ngircd/proc.c | 2 +
src/ngircd/sighandlers.c | 220 ++++++++++++++++++++++++++++++++++++++++++++++
src/ngircd/sighandlers.h | 18 ++++
9 files changed, 255 insertions(+), 89 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=1fe1…