diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-02-08 12:24:39 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-02-08 12:24:39 +0100 |
commit | 21e6f39bdaea191e0aa043c4c4e09b12e5598a3d (patch) | |
tree | 8f237f70d8abcda868c81733841f481e3e9f4897 /dpid/dpid.h | |
parent | 3af2054b6397df4cf32042f7c4d57454164d4a4e (diff) |
remove ~/.dillo/dpid_comm_keys on exit of dpid
This avoids that dillo instances connect to stale ports after dpid is no
longer running (e.g. after a reboot).
This is mainly a problem if the machine is configured to silently ignore
connection attempts to unused ports (net.inet.tcp.blackhole=1 on *BSD).
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-January/007247.html
Diffstat (limited to 'dpid/dpid.h')
-rw-r--r-- | dpid/dpid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dpid/dpid.h b/dpid/dpid.h index 0cf89406..8ef67dd5 100644 --- a/dpid/dpid.h +++ b/dpid/dpid.h @@ -98,6 +98,8 @@ void handle_sigchld(void); void est_dpi_sigchld(void); +void est_dpi_terminator(void); + void stop_active_dpis(struct dp *dpi_attr_list, int numdpis); void ignore_dpi_sockets(struct dp *dpi_attr_list, int numdpis); |