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/main.c | |
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/main.c')
-rw-r--r-- | dpid/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpid/main.c b/dpid/main.c index 494f9dbc..5f512245 100644 --- a/dpid/main.c +++ b/dpid/main.c @@ -265,7 +265,7 @@ int main(void) } } numsocks = init_all_dpi_sockets(dpi_attr_list); - //est_terminator(); /* Do we still want to clean up on an abnormal exit? */ + est_dpi_terminator(); est_dpi_sigchld(); (void) sigemptyset(&mask_sigchld); |