[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web server questons

Kirill Lisovsky:
> "The result of invoking serve is a function of no arguments that shuts
> down the server" Is it possible to call a similar function from a servlet

Could this be done by running the server as

(let ((killme #f))
  (set! killme (serve config)))

and then can servlets see killme as being the termination function?  Really
not sure how that would work.  I don't think it does at all, as servlets are
their own modules, aren't they?  Excuse me thinking out loud.

Worst case, a servlet could send SIGTERM to the server...  ow!