httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: possible solution to log rotation, config reread, shutdown, etc. problem
Date Sun, 09 Jun 1996 21:00:35 GMT
  What about having the master httpd create a unix domain socket that could
  be used for control signalling.

Ummm... yeah, there are servers that work like that, and it's OK, but
the only problem it solves is letting the server know *when* it's supposed
to take some particular action, and the hard part is always writing the
code to implement whatever action it's supposed to take.  

And as regards solving the notification problem itself, setting a flag
in a signal handler works just fine.  Besides which, the operating system
is pretty good about making sure that you can only send a signal to a
process that you should reasonably have permission to send signals to ---
using a socket for this sort of communication would just add a whole new
set of tsorres from the "potential attacks" point of view.

Sigh...

rst

Mime
View raw message