mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
removed useless inheritance
This commit is contained in:
parent
cb6e631be9
commit
e48996dcd7
1 changed files with 6 additions and 9 deletions
|
@ -4,7 +4,6 @@
|
|||
//
|
||||
#include <ht/http.h>
|
||||
#include <net.h>
|
||||
#include <server.h>
|
||||
#include <text.h>
|
||||
|
||||
#include "header.i"
|
||||
|
@ -26,6 +25,11 @@ devNull();
|
|||
|
||||
qScheme() { return "html"; }
|
||||
|
||||
quit() {
|
||||
D2(D("««« SmallHTTP user done.\n");)
|
||||
destruct(ME);
|
||||
}
|
||||
|
||||
logon() {
|
||||
D2(D("»»» New SmallHTTP user\n");)
|
||||
|
||||
|
@ -36,7 +40,7 @@ logon() {
|
|||
// using heart_beat() or something like that TODO
|
||||
|
||||
next_input_to(#'parse_url);
|
||||
call_out(#'quit, TIME_LOGIN_IDLE);
|
||||
call_out(#'quit, 23);
|
||||
}
|
||||
|
||||
disconnected(remainder) {
|
||||
|
@ -49,13 +53,6 @@ disconnected(remainder) {
|
|||
// gets called from async apps
|
||||
done() { quit(); }
|
||||
|
||||
#if DEBUG > 1
|
||||
quit() {
|
||||
D2(D("««« SmallHTTP user done.\n");)
|
||||
::quit();
|
||||
}
|
||||
#endif
|
||||
|
||||
void create() {
|
||||
if (clonep(ME)) headers = ([ ]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue