Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-09-30
2000-09-30 19:20:20 by Per Hedbor <ph@opera.com>
b00cae4ece1801f587f0f35b1b87ad6713ac1f23 (
18
lines) (+
15
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Addded 'hilfe' protocol
Rev: server/base_server/roxen.pike:1.566
4:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others. // ABS and suicide systems contributed freely by Francesco Chemolli
-
constant cvs_version="$Id: roxen.pike,v 1.
565
2000/09/
28
02
:
07
:
11
per Exp $";
+
constant cvs_version="$Id: roxen.pike,v 1.
566
2000/09/
30
19
:
20
:
20
per Exp $";
// Used when running threaded to find out which thread is the backend thread, // for debug purposes only.
584:
{ inherit RequestID;
-
void create()
+
static
void create()
{ client = ({ "Roxen" }); prot = "INTERNAL";
1447:
} #endif
+
class HILFE
+
{
+
inherit Protocol;
+
constant supports_ipless = 0;
+
constant name = "hilfe";
+
constant requesthandlerfile = "protocols/hilfe.pike";
+
constant default_port = 2345;
+
}
+
class FTP { inherit Protocol;
1547:
"http":HTTP, "ftp":FTP,
-
#if constant(
Crypto) && constant(
SSL.sslfile)
+
#if constant(SSL.sslfile)
"https":HTTPS, "ftps":FTPS, #endif
-
+
"hilfe":HILFE,
+
"gopher":GOPHER, "tetris":TETRIS,