|
Big Sister Web Application Framework
|
#include "lib.pm"#include "strict.pm"#include "BigSWAF/PersistentServerHandler.pm"#include "BigSWAF/Configuration.pm"#include "HTTP/Daemon.pm"#include "HTTP/Response.pm"#include "BigSWAF/Log.pm"#include "BigSWAF/Util.pm"#include "threads.pm"#include "Socket.pm"#include "Getopt/Long.pm"Functions | |
Public Functions | |
| retval | client (scalar conn) |
| retval | go_background () |
| retval | server_pid (scalar pid) |
| Get the pid of a running instance of persistentserver and/or remember the pid of the current instance. | |
| retval | kill_server (scalar pid) |
| Kill server with pid. | |
| retval | become_user () |
| Become the BigSWAF user. | |
| retval become_user | ( | ) |
Become the BigSWAF user.
| retval client | ( | scalar | conn | ) |
| retval go_background | ( | ) |
| retval kill_server | ( | scalar | pid | ) |
Kill server with pid.
| retval server_pid | ( | scalar | pid | ) |
Get the pid of a running instance of persistentserver and/or remember the pid of the current instance.
| pid | (optional) If passed the pid is written into a pid file. If pid is passed empty the pid file is removed. |
1.8.1.2