• Tatsuhiro Tsujikawa's avatar
    nghttpx: Reload configuration with SIGHUP · 1214f9e2
    Tatsuhiro Tsujikawa authored
    This commit implements configuration reloading with SIGHUP.
    There are rough edges left:
    
    * Rename SignalServer with more meaningful name, say, WorkerProcess.
    * We should introduce global configuration object which is not
      affected by configuration reloading.  It should hold cmdcfgs, argc,
      argv, and last worker PID.
    * We should close the listener file descriptor when some operation was
      failed after that.
    1214f9e2
shrpx_signal.h 2.17 KB